Проблема при обновлении версии Debian

Всем доброго дня.
WirenBoard v6.7.2B

Подключился через SSH через Putty.

Запустил обновление системы.
Выполнил команды:
apt update; apt upgrade

Далее:
wb-release --update-debian-release

Процесс шел долго.
В окне Putty видел прогресс.

В один момент вижу, что связь через putty прервалась.
Заново не подключался, ip не пинговался.
Перезагрузил WB по питанию.

Web-интерфейс WB не запустился,
Подключился через SSH.
Вижу сообщение:
Welcome to Wiren Board 6.7.2 (s/n ALKYM4DN), release wb-2207-bullseye-transition (as stable)
Linux wirenboard-ALKYM4DN 5.10.35-wb142+wb101 #1 Wed Sep 20 11:36:11 UTC 2023 armv7l GNU/Linux

System load: 15.38 7.86 3.16 Up time: 4 min
Memory usage: 22% of 494M Usage of /: 80% of 980M /mnt/data: 36% of 4.7G

Update to Debian Bullseye is available!
Run wb-release --update-debian-release to update
(the update can take up to 45 minutes)

Or download FIT firmware image from S3 Bucket Listing Generator and
update via the web interface by visiting Settings ¬ニメ System

Seems like Debian upgrade procedure was interrupted.

Please try running wb-release --update-debian-release again.

Запускаю команду
wb-release --update-debian-release
Ниже процесс установки, которая завершается ошибкой

Now the system will be updated using Apt without changing the release.

It is required to get latest state possible
to make release change process more controllable.

Make sure you have all your data backed up.

Are you sure you want to continue? (y/n): y
10:14:13 Creating temp apt preference to keep wb-update-manager from stretch
10:14:13 Try to install new wb-update-manager version
10:14:27 :1 Index of /debian-security bullseye-security InRelease [48,4 kB]
10:14:29 :2 Index of /debian bullseye InRelease
10:14:29 :3 Index of /debian bullseye-updates InRelease [44,1 kB]
10:14:29 :4 Index of /debian bullseye-backports InRelease [49,0 kB]
10:14:29 :5 Index of /debian stretch-backports InRelease
10:14:29 :6 http://deb.wirenboard.com/wb6/bullseye stable InRelease [3940 B]
10:14:31 :7 https://deb.nodesource.com/node_16.x bullseye InRelease
10:14:46 :8 Index of /debian-security bullseye-security/main armhf Packages [255 kB]
10:14:48 :9 Index of /debian-security bullseye-security/main Translation-en [166 kB]
10:15:19 :10 Index of /debian bullseye-updates/main armhf Packages.diff/Index [22,9 kB]
10:15:19 :11 Index of /debian bullseye-updates/main Translation-en.diff/Index [10,6 kB]
10:15:19 :12 Index of /debian bullseye-updates/main armhf Packages T-2023-11-13-2005.21-F-2023-11-13-2005.21.pdiff []
10:15:20 :13 Index of /debian bullseye-updates/main Translation-en T-2023-11-13-2005.21-F-2023-11-13-2005.21.pdiff []
10:15:21 :12 Index of /debian bullseye-updates/main armhf Packages T-2023-11-13-2005.21-F-2023-11-13-2005.21.pdiff []
10:15:22 :13 Index of /debian bullseye-updates/main Translation-en T-2023-11-13-2005.21-F-2023-11-13-2005.21.pdiff []
10:15:33 :14 Index of /debian bullseye-backports/main armhf Packages.diff/Index [63,3 kB]
10:15:38 :15 Index of /debian bullseye-backports/main Translation-en.diff/Index [63,3 kB]
10:15:43 :16 Index of /debian bullseye-backports/main armhf Packages T-2023-11-20-1403.46-F-2023-10-12-1403.27.pdiff]
10:15:43 :16 Index of /debian bullseye-backports/main armhf Packages T-2023-11-20-1403.46-F-2023-10-12-1403.27.pdiff]
10:15:43 :17 Index of /debian bullseye-backports/main Translation-en T-2023-11-02-1404.36-F-2023-10-19-0205.45.pdiff]
10:15:43 :17 Index of /debian bullseye-backports/main Translation-en T-2023-11-02-1404.36-F-2023-10-19-0205.45.pdiff]
10:16:10 :18 http://deb.wirenboard.com/wb6/bullseye stable/main armhf Packages [40,7 kB]
10:16:18 786 kB 1 56 (6783 B/s)
10:23:09
10:23:13 W: Packages (main/binary-armhf/Packages) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:4 /etc/apt/sources4
10:23:13 W: Packages (main/binary-all/Packages) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:4 /etc/apt/sources.l4
10:23:13 W: Translations (main/i18n/Translation-ru_RU) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:4 /etc/apt/so4
10:23:13 W: Translations (main/i18n/Translation-ru) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:4 /etc/apt/sourc4
10:23:13 W: Translations (main/i18n/Translation-en) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:4 /etc/apt/sourc4
10:23:13 W: Packages (main/binary-armhf/Packages) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:1 /etc/apt/sources1
10:23:13 W: Packages (main/binary-all/Packages) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:1 /etc/apt/sources.l1
10:23:13 W: Translations (main/i18n/Translation-ru_RU) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:1 /etc/apt/so1
10:23:13 W: Translations (main/i18n/Translation-ru) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:1 /etc/apt/sourc1
10:23:13 W: Translations (main/i18n/Translation-en) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:1 /etc/apt/sourc1
10:23:13 W: Packages (main/binary-armhf/Packages) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:2 /etc/apt/sources2
10:23:13 W: Packages (main/binary-all/Packages) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:2 /etc/apt/sources.l2
10:23:13 W: Translations (main/i18n/Translation-ru_RU) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:2 /etc/apt/so2
10:23:13 W: Translations (main/i18n/Translation-ru) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:2 /etc/apt/sourc2
10:23:13 W: Translations (main/i18n/Translation-en) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:2 /etc/apt/sourc2
10:23:13 W: Packages (main/binary-armhf/Packages) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:3 /etc/apt/sources3
10:23:13 W: Packages (main/binary-all/Packages) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:3 /etc/apt/sources.l3
10:23:13 W: Translations (main/i18n/Translation-ru_RU) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:3 /etc/apt/so3
10:23:13 W: Translations (main/i18n/Translation-ru) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:3 /etc/apt/sourc3
10:23:13 W: Translations (main/i18n/Translation-en) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:3 /etc/apt/sourc3
10:23:13 W: Packages (main/binary-armhf/Packages) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:1 /etc/apt/sources1
10:23:14 W: Packages (main/binary-all/Packages) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:1 /etc/apt/sources.l1
10:23:14 W: Translations (main/i18n/Translation-ru_RU) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:1 /etc/apt/so1
10:23:14 W: Translations (main/i18n/Translation-ru) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:1 /etc/apt/sourc1
10:23:14 W: Translations (main/i18n/Translation-en) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:1 /etc/apt/sourc1
10:23:14 W: Packages (main/binary-armhf/Packages) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:2 /etc/apt/sources2
10:23:14 W: Packages (main/binary-all/Packages) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:2 /etc/apt/sources.l2
10:23:14 W: Translations (main/i18n/Translation-ru_RU) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:2 /etc/apt/so2
10:23:14 W: Translations (main/i18n/Translation-ru) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:2 /etc/apt/sourc2
10:23:14 W: Translations (main/i18n/Translation-en) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:2 /etc/apt/sourc2
10:23:14 W: Packages (main/binary-armhf/Packages) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:3 /etc/apt/sources3
10:23:14 W: Packages (main/binary-all/Packages) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:3 /etc/apt/sources.l3
10:23:14 W: Translations (main/i18n/Translation-ru_RU) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:3 /etc/apt/so3
10:23:14 W: Translations (main/i18n/Translation-ru) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:3 /etc/apt/sourc3
10:23:14 W: Translations (main/i18n/Translation-en) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:3 /etc/apt/sourc3
10:23:14 W: Packages (main/binary-armhf/Packages) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:4 /etc/apt/sources4
10:23:14 W: Packages (main/binary-all/Packages) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:4 /etc/apt/sources.l4
10:23:14 W: Translations (main/i18n/Translation-ru_RU) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:4 /etc/apt/so4
10:23:14 W: Translations (main/i18n/Translation-ru) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:4 /etc/apt/sourc4
10:23:14 W: Translations (main/i18n/Translation-en) : /etc/apt/sources.list.d/000wb-bullseye-upgrade.list:4 /etc/apt/sourc4
[ 2252.027888] Alignment trap: not handling instruction e8542f00 at []
[ 2252.035106] 8<— cut here —
[ 2252.038185] Unhandled fault: alignment exception (0x001) at 0x00c4fa01
[ 2252.044761] pgd = 08e2da48
[ 2252.047474] [00c4fa01] *pgd=82cb8835, *pte=90d9c34f, *ppte=90d9c83f
10:23:18 E: dpkg , dpkg --configure -a .
10:23:19 Removing temp apt preference to keep wb-update-manager from stretch
10:23:19
The subprocess (‘apt-get’, ‘-q’, ‘install’, ‘wb-update-manager’, ‘-o’, ‘Dpkg::Options::=–force-confdef’, ‘-o’, 'Dpkg::Options::0
10:23:19 Try running wb-release --update-debian-release again to continue transition

Прошу подсказать, как восстановить работу WB.

Добрый день.
Пришлите диагностический архив. С какой версии обновлялись?
Пришлите вывод команды:

df -h

При попытке выгрузить архив:
root@wirenboard-ALKYM4DN:~# wb-diag-collect diag
Start data collecting
2023-11-22 12:53:25,251 [WARNING] No files for wildcard /var/log/z-way-server.log
2023-11-22 12:53:25,534 [WARNING] No files for wildcard /var/log/mosquitto/mosquitto.log
2023-11-22 12:53:47,017 [WARNING] Command lsusb -t didn’t finish in 5s
2023-11-22 12:53:52,119 [WARNING] Command lsusb didn’t finish in 5s
2023-11-22 12:53:57,791 [WARNING] Command emmcparm -V -I -t -B -S -E -e /dev/mmcblk0 didn’t finish in 5s
2023-11-22 12:54:04,473 [WARNING] Command wb-gen-serial -s didn’t finish in 5s
2023-11-22 12:54:36,139 [WARNING] Journalctl reading journalctl -u wb-diag-collect.service --no-pager -n 1000 didn’t finish in 5s
2023-11-22 12:54:54,227 [WARNING] Journalctl reading journalctl -u wb-mqtt-adc.service --no-pager -n 1000 didn’t finish in 5s
2023-11-22 12:54:59,339 [WARNING] Journalctl reading journalctl -u wb-mqtt-confed.service --no-pager -n 1000 didn’t finish in 5s
2023-11-22 12:55:04,468 [WARNING] Journalctl reading journalctl -u wb-mqtt-db.service --no-pager -n 1000 didn’t finish in 5s
2023-11-22 12:55:09,538 [WARNING] Journalctl reading journalctl -u wb-mqtt-gpio.service --no-pager -n 1000 didn’t finish in 5s
2023-11-22 12:55:14,635 [WARNING] Journalctl reading journalctl -u wb-mqtt-knx.service --no-pager -n 1000 didn’t finish in 5s
2023-11-22 12:55:19,835 [WARNING] Journalctl reading journalctl -u wb-mqtt-logs.service --no-pager -n 1000 didn’t finish in 5s
2023-11-22 12:55:26,485 [WARNING] Journalctl reading journalctl -u wb-mqtt-metrics.service --no-pager -n 1000 didn’t finish in 5s
2023-11-22 12:55:35,167 [WARNING] Journalctl reading journalctl -u wb-mqtt-serial.service --no-pager -n 1000 didn’t finish in 5s
2023-11-22 12:55:40,294 [WARNING] Journalctl reading journalctl -u wb-mqtt-w1.service --no-pager -n 1000 didn’t finish in 5s
2023-11-22 12:55:46,678 [WARNING] Journalctl reading journalctl -u wb-rules.service --no-pager -n 1000 didn’t finish in 5s
2023-11-22 12:55:54,705 [WARNING] Journalctl reading journalctl -u wb-watch-update.service --no-pager -n 1000 didn’t finish in 5s
Data was collected successfully

root@wirenboard-ALKYM4DN:~# df -h
￐ᄂ￐ᄚ￐ᄍ￐ᄏ￐ᄒ￐ᄇ￐ᄚ￑マ ￑チ￐ᄌ￑チ￑ツ￐ᄉ￐ᄐ￐ᄚ ￐ᅠ￐ᄚ￐ᄋ￐ᄐ￐ᄉ￑タ ￐リ￑チ￐﾿￐ᄒ￐ᄏ￑フ￐ᄋ￐ᄒ￐ᄇ￐ᄚ￐ᄑ￐ᄒ ￐ヤ￐ᄒ￑チ￑ツ ￐リ￑チ￐﾿￐ᄒ￐ᄏ￑フ￐ᄋ￐ᄒ￐ᄇ￐ᄚ￐ᄑ￐ᄒ% C￐ᄐ￐ᄒ￐ᄑ￑ツ￐ᄌ￑タ￐ᄒ￐ᄇ￐ᄚ￐ᄑ￐ᄒ ￐ᄇ
/dev/root 980M 727M 187M 80% /
devtmpfs 239M 0 239M 0% /dev
tmpfs 248M 0 248M 0% /dev/shm
tmpfs 99M 808K 99M 1% /run
tmpfs 5,0M 0 5,0M 0% /run/lock
/dev/mmcblk0p6 4,7G 1,7G 2,9G 37% /mnt/data
tmpfs 50M 0 50M 0% /run/user/0
root@wirenboard-ALKYM4DN:~#

приложен диагностический архив, доступен только сотрудникам поддержки
(152,4 КБ)

Пробовали ли повторно запустить wb-release --update-debian-release?
Если да, и результат тот же, то предположу, что слишком мало места на корневом разделе. И тут или освободить место (~300 Мб) и обновляться или сделать резервную копию данных и обновиться фитом.

И в дальнейшем лучше расширить корневой раздел до 2 Гб.

Да, конечно, команду пробовал не один раз.

Попробовал обновиться фитом через USB.
Не выходит…
Я так понимаю, что WB не видит файл на флешке…

Мои действия:

  1. Отформатировал флешку в FAT32.
  2. Скачал fit-файл прошивки на компьютер.
  3. Скопировал скачанный .fit-файл в корень флешки и убедился, что размер файла не равен нулю.
  4. Переименовал файл на флешке в wb6_update_FACTORYRESET.fit — для удаления данных и сброса к заводским настройкам.
  5. Выключил контроллер.
  6. Подключил флешку с файлом прошивки к порту USB 1 и включил контроллер.
  7. Из инструкции: “Если в корне флешки найден файл прошивки, то индикатор контроллера начнёт часто мигать оранжевым”. Вот такого не происходит.
    При включении питания загорается зеленый и красный индикаторы на 5 секунд. После зеленый гаснит, остается только красный - горит секунд 10. После красный начинает моргать - контроллер загружается. Сброса не происходит.

Вот, что вижу в Debug при этом:

root@wirenboard-ALKYM4DN:~#

U-Boot 2017.03-1.1.0-gaa233c0fa3 (Jun 09 2020 - 19:28:23 +0000)

CPU: Freescale i.MX6ULL rev1.1 792 MHz (running at 396 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 38C
Reset cause: POR
Model: Wiren Board rev. 6.1 (i.MX6UL)
Board: Wiren Board MX6UL
DRAM: 512 MiB
MMC: FSL_SDHC: 0
Using default environment

In: serial
Out: serial
Err: serial
Net: eth0: ethernet@02188000
Hit any key to stop autoboot: 0
Checking if there is a USB storage with update file wb6_update.fit
dev: usb1_vbus @ regulator@0
starting USB…
USB0: USB EHCI 1.00
USB1: USB EHCI 1.00
scanning bus 0 for devices… 1 USB Device(s) found
scanning bus 1 for devices… EHCI timed out on TD - token=0x80008c80
unable to get device descriptor (error=-1)
1 USB Device(s) found
scanning usb for storage devices… 0 Storage Device(s) found
No storage devices, perhaps not 'usb start’ed…?
No USB update detected, continuing boot
switch to partitions #0, OK
mmc0(part 0) is current device
SD/MMC found on device 0
324 bytes read in 69 ms (3.9 KiB/s)
Importing environment from 0x82000000…
Checking if uenvcmd is set …
Running default loadzimage …

U-Boot 2017.03-1.1.0-gaa233c0fa3 (Jun 09 2020 - 19:28:23 +0000)

CPU: Freescale i.MX6ULL rev1.1 792 MHz (running at 396 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 40C
Reset cause: POR
Model: Wiren Board rev. 6.1 (i.MX6UL)
Board: Wiren Board MX6UL
DRAM: 512 MiB
MMC: FSL_SDHC: 0
Using default environment

In: serial
Out: serial
Err: serial
Net: eth0: ethernet@02188000
Hit any key to stop autoboot: 0
Checking if there is a USB storage with update file wb6_update.fit
dev: usb1_vbus @ regulator@0
starting USB…
USB0: USB EHCI 1.00
USB1: USB EHCI 1.00
scanning bus 0 for devices… 1 USB Device(s) found
scanning bus 1 for devices… EHCI timed out on TD - token=0x80008c80
unable to get device descriptor (error=-1)
1 USB Device(s) found
scanning usb for storage devices… 0 Storage Device(s) found
No storage devices, perhaps not 'usb start’ed…?
No USB update detected, continuing boot
switch to partitions #0, OK
mmc0(part 0) is current device
SD/MMC found on device 0
324 bytes read in 69 ms (3.9 KiB/s)
Importing environment from 0x82000000…
Checking if uenvcmd is set …
Running default loadzimage …
6304400 bytes read in 5594 ms (1.1 MiB/s)

MMC read: dev # 0, block # 2016, count 32 … 32 blocks read: OK
Reading overlays list from eMMC
Reading factory fdt name from eMMC
Loading factory fdt imx6ul-wirenboard670
47422 bytes read in 226 ms (204.1 KiB/s)
485 bytes read in 198 ms (2 KiB/s)
Applying DT overlay wb6-nogsm
597 bytes read in 222 ms (2 KiB/s)
Applying DT overlay wb6-wifi-rtl8723bu
509 bytes read in 203 ms (2 KiB/s)
Applying DT overlay wb6-noradio
334 bytes read in 161 ms (2 KiB/s)
Applying DT overlay wb6-eth1
254 bytes read in 100 ms (2 KiB/s)
Applying DT overlay temp-industrial
Applying extra overlay
Booting from mmc …
Kernel image @ 0x82000000 [ 0x000000 - 0x603290 ]

Flattened Device Tree blob at 83000000

Booting using the fdt blob at 0x83000000
Loading Device Tree to 9ef32000, end 9ef54fff … OK

Starting kernel …

Здесь больше похоже, что не видит саму флешку - попробуйте другую флешку.
Или загрузите контроллер и проверьте доступна ли флешка. Покажите вывод команды lsblk с подключенной флешкой.

root@wirenboard-ALKYM4DN:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 1 3,8G 0 disk
¬ヤヤ¬ヤタsda1 8:1 1 3,7G 0 part
mmcblk0 179:0 0 7,1G 0 disk
¬ヤワ¬ヤタmmcblk0p1 179:1 0 16M 0 part
¬ヤワ¬ヤタmmcblk0p2 179:2 0 1G 0 part /
¬ヤワ¬ヤタmmcblk0p3 179:3 0 1G 0 part
¬ヤワ¬ヤタmmcblk0p4 179:4 0 1K 0 part
¬ヤワ¬ヤタmmcblk0p5 179:5 0 256M 0 part [SWAP]
¬ヤヤ¬ヤタmmcblk0p6 179:6 0 4,8G 0 part /mnt/data
mmcblk0boot0 179:8 0 16M 1 disk
mmcblk0boot1 179:16 0 16M 1 disk
root@wirenboard-ALKYM4DN:~#

Попробуйте с другими флешками.

Попробовал с другой флешкой.
Все отлично.
Процедура factory reset прошло успешно.
Web запустился.
Благодарю за помощь.

Эта тема была автоматически закрыта через 7 дней после последнего ответа. В ней больше нельзя отвечать.