Ошибка при обновлении устройства WB-6.7.2 до релиза 2307

Добры день.
Начал обновлять WB-6.7 с прошивки 2204 до 2307.
Обновлял через ssh.
Сначала обновил ссылки на репозитории.
Потом apt updade && apt upgrade.
Потом wb-release --update-debian-release
И вот тут всё поломалось. По прошествии 30 минут обновление остановилось т.к. кончилось свободное место на /
Перезагрузка и apt autoremove высвободило 80 мегабайт. А “wb-release --update-debian-release” просит минимум 150.
Обновление через web-интерфейс fit файлом не получается.
Всё еще усложняется тем, что я физически далеко от контроллера и попадаю на него через поднятый с него openvpn тунель. Т.е. сбросить в factory-default не могу.

Как быть?

@wirenboard-ABV53YVL:/# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 976M 831M 78M 92% /
devtmpfs 493M 0 493M 0% /dev
tmpfs 502M 0 502M 0% /dev/shm
tmpfs 201M 832K 200M 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/mmcblk0p6 4.7G 1.2G 3.4G 26% /mnt/data
tmpfs 101M 0 101M 0% /run/user/0

Добрый день.
Пришлите диагностический архив. Укажите какое стороннее ПО установлено на контроллер.

Что здесь не получается? Опишите, что делаете, что ожидаете получить и что получаете.

Что имеем.

  1. Factory Reset сделать не можете, т.к. нет физического доступа к контроллеру.
  2. Расширить корневой раздел вы не можете, т.к. при обновлении будет удалено стороннее ПО, т.е. openvpn, я так понимаю, слетит.

Отсюда я вижу только один выход: освободить место на корневом разделе.

diag_output_ABV53YVL_2023-10-10-10.53.29.zip (150,8 КБ)

При попытке загрузить файл сначала идет прогресс, а потом появляется пустая кнопка.

Так выглядит в любом браузере.

Про вариант “Отсюда я вижу только один выход: освободить место на корневом разделе.” - а что можно безболезненно сдрунут из корня в /mnt/data ?

Михаил, добрый день.
Нету ли мыслей, что можно безболезненно перенести из корня в /mnt/… для освобождения 75 мегабайт?

Надо понять, что из стороннего ПО установлено. С него начинать. Так и не написали, что у вас установлено.

Только openvpn.

Пришлите вывод команды:

du -hd1 /

wirenboard-ABV53YVL:~# du -hd1 /

0 /sys

du: cannot read directory ‘/proc/8167/task/8167/net’: Invalid argument

du: cannot read directory ‘/proc/8167/net’: Invalid argument

du: cannot access ‘/proc/16607/task/16607/fd/4’: No such file or directory

du: cannot access ‘/proc/16607/task/16607/fdinfo/4’: No such file or directory

du: cannot access ‘/proc/16607/fd/3’: No such file or directory

du: cannot access ‘/proc/16607/fdinfo/3’: No such file or directory

0 /proc

668M /usr

4.0K /srv

9.9M /boot

832K /run

5.7M /tmp

75M /lib

0 /dev

1.2G /mnt

4.0K /opt

2.4M /home

4.0K /media

17M /etc

7.3M /bin

350M /var

5.9M /sbin

2.3G /

Плюс вывод apt list во вложении.
apt_List.txt (2,3 МБ)

Несколько многовато.
Ну и типовой

dpkg-query --show --showformat='${Installed-Size}\t${Package}\n' | sort -rh | head -30 | awk '{print $1/1024, $2}'

Что выводит?

wirenboard-ABV53YVL:~# dpkg-query --show --showformat=‘${Installed-Size}\t${Package}\n’ | sort -rh | head -30 | awk ‘{print $1/1024, $2}’

114.279 nodejs
77.6064 zigbee2mqtt-1.18.1
46.749 linux-image-wb6
30.5234 libicu67
27.6943 libicu57
26.9365 vim-runtime
19.8555 git
19.6963 libperl5.32
18.8457 binutils
17.0459 perl-modules-5.32
15.6396 locales
14.6699 coreutils
13.9912 gcc-6
13.834 libstdc+±6-dev
13.1484 g+±6
12.5938 wb-rules
12.3535 cpp-6
11.4824 systemd
9.77734 geoip-database
9.24023 libglib2.0-data
8.8291 libc6-dev
8.2832 udev
8.11719 wb-mqtt-homeui
8.03809 libc6
7.91406 libpython2.7-stdlib
7.10059 wb-mqtt-serial
6.9082 libpython3.9-stdlib
6.41113 python3.5-minimal
6.40332 dpkg
6.36523 perl-base

Вот его и перенесите на /mnt/data/ либо удалите.

Удалили nodejs.

Но обновление до конца всё равно не прошло.

wirenboard-ABV53YVL:~# wb-release --update-debian-release
14:38:08 journald logging enabled

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
14:38:15 Creating temp apt preference to keep wb-update-manager from stretch
14:38:15 Try to install new wb-update-manager version
14:38:26 Hit:1 Index of /debian-security bullseye-security InRelease
14:38:26 Hit:2 Index of /debian bullseye InRelease
14:38:26 Hit:3 Index of /debian bullseye-updates InRelease
14:38:26 Hit:4 Index of /debian bullseye-backports InRelease
14:38:31 Hit:5 http://deb.wirenboard.com/wb6/bullseye stable InRelease
14:38:31 Ign:6 Index of /debian stretch InRelease
14:38:31 Hit:7 Index of /debian-security stretch/updates InRelease
14:38:32 Hit:8 Index of /debian stretch-backports InRelease
14:38:32 Hit:9 Index of /debian stretch Release
14:38:34 Hit:10 https://deb.nodesource.com/node_12.x stretch InRelease
14:38:34 Hit:11 https://swupdate.openvpn.net/community/openvpn3/repos stretch InRelease
14:44:39 Reading package lists…
14:44:53 Reading package lists…
14:45:40 Building dependency tree…
14:45:41 Reading state information…
14:46:27 wb-update-manager is already the newest version (1.2.5-wb1-upgrade18).
14:46:27 0 upgraded, 0 newly installed, 0 to remove and 216 not upgraded.
14:46:27 Removing temp apt preference to keep wb-update-manager from stretch
14:46:27 Starting (possibly updated) update utility as new process
14:46:39 journald logging enabled
14:46:39 Accessing http://deb.wirenboard.com/wb6/bullseye/dists/stable/Release
14:46:40 Response code 200
14:46:40 Copying restart-required motd message from current wb-update-manager version
============ Update debian release to bullseye ============
Now the release will be switched to stable, prefix “”, target “wb6/bullseye”.
During update, the sources and preferences files will be changed,
then apt-get dist-upgrade action will start.
This process is potentially dangerous and may break your software.
To control process on each step, use this command with --confirm-steps flag.
STOP RIGHT THERE IF THIS IS A PRODUCTION SYSTEM!

14:46:40 Generating /etc/apt/sources.list.d/wirenboard.list for SystemState(suite=‘stable’, target=‘wb6/bullseye’, repo_prefix=‘’, consistent=True)
14:46:40 Generating /etc/apt/preferences.d/20wb-release for SystemState(suite=‘stable’, target=‘wb6/bullseye’, repo_prefix=‘’, consistent=True)
14:46:40 Creating temp sources list for Bullseye on /etc/apt/sources.list.d/000wb-bullseye-upgrade.list
14:46:40 Creating temp apt preferences for Bullseye on /etc/apt/preferences.d/000wb-bullseye-upgrade
14:46:40 Setting packages (‘wb-update-manager’, ‘wb-release-info’) on hold
14:51:32 wb-update-manager was already set on hold.
14:51:32 wb-release-info was already set on hold.
14:51:43 Hit:1 Index of /debian-security bullseye-security InRelease
14:51:43 Hit:2 Index of /debian bullseye InRelease
14:51:43 Get:3 Index of /debian bullseye-updates InRelease [44.1 kB]
14:51:43 Get:4 Index of /debian bullseye-backports InRelease [49.0 kB]
14:51:47 Hit:5 http://deb.wirenboard.com/wb6/bullseye stable InRelease
14:51:47 Ign:6 Index of /debian stretch InRelease
14:51:47 Hit:7 Index of /debian-security stretch/updates InRelease
14:51:48 Hit:8 Index of /debian stretch-backports InRelease
14:51:48 Hit:9 Index of /debian stretch Release
14:51:50 Hit:10 https://deb.nodesource.com/node_12.x stretch InRelease
14:51:50 Hit:11 https://swupdate.openvpn.net/community/openvpn3/repos stretch InRelease
14:52:35 Get:12 Index of /debian bullseye-backports/main armhf Packages.diff/Index [63.3 kB]
14:52:41 Get:13 Index of /debian bullseye-backports/main armhf Packages T-2023-10-12-1403.27-F-2023-10-12-1403.27.pdiff [745 B]
14:52:42 Get:13 Index of /debian bullseye-backports/main armhf Packages T-2023-10-12-1403.27-F-2023-10-12-1403.27.pdiff [745 B]
14:53:40 Fetched 157 kB in 2min 1s (1298 B/s)
14:57:56 Reading package lists…
14:58:01 Updating openssh-server first to make Wiren Board available during update
14:58:01 Masking services (‘ssh.service’,)
14:58:03 Created symlink /etc/systemd/system/ssh.service → /dev/null.
14:58:06 Failed to reload daemon: Connection reset by peer
14:58:06 Unmasking services (‘ssh.service’,)

Broadcast message from systemd-journald@wirenboard-ABV53YVL (Thu 2023-10-12 14:58:06 UTC):

systemd[1]: Caught , dumped core as pid 12558.

Broadcast message from systemd-journald@wirenboard-ABV53YVL (Thu 2023-10-12 14:58:06 UTC):
systemd[1]: Freezing execution.

14:58:31 Failed to get properties: Connection timed out
14:58:31 Unholding packages (‘wb-update-manager’, ‘wb-release-info’)
14:58:33 Canceled hold on wb-update-manager.
14:58:33 Canceled hold on wb-release-info.
14:58:33 Cleaning up temp apt configs for bullseye transition
14:58:33 Restoring original system state
14:58:33 Generating /etc/apt/sources.list.d/wirenboard.list for SystemState(suite=‘stable’, target=‘wb6/stretch’, repo_prefix=‘’, consistent=True)
14:58:33 Generating /etc/apt/preferences.d/20wb-release for SystemState(suite=‘stable’, target=‘wb6/stretch’, repo_prefix=‘’, consistent=True)
14:58:33 Cleaning up apt cache (to make manual apt calls safe from now)
14:58:33
The subprocess (‘systemctl’, ‘unmask’, ‘ssh.service’) has failed with status 1
14:58:33 Try running wb-release --update-debian-release again to continue transition


Повторный запуск процесса заканчивается так же.

wirenboard-ABV53YVL:~# wb-release --update-debian-release
15:15:48 journald logging enabled
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
15:15:51 Creating temp apt preference to keep wb-update-manager from stretch
15:15:51 Try to install new wb-update-manager version
15:15:56 Ign:1 Index of /debian stretch InRelease
15:15:57 Get:2 Index of /debian-security stretch/updates InRelease [59.1 kB]
15:15:57 Get:3 Index of /debian stretch-backports InRelease [78.5 kB]
15:15:57 Get:4 http://deb.wirenboard.com/wb6/stretch stable InRelease [3939 B]
15:15:57 Get:5 Index of /debian stretch Release [118 kB]
15:15:57 Get:6 Index of /debian stretch Release.gpg [3177 B]
15:15:59 Get:7 https://deb.nodesource.com/node_12.x stretch InRelease [4585 B]
15:15:59 Get:8 https://swupdate.openvpn.net/community/openvpn3/repos stretch InRelease [4754 B]
15:15:59 Get:9 Index of /debian-security stretch/updates/main armhf Packages [758 kB]
15:15:59 Get:10 Index of /debian-security stretch/updates/main Translation-en [368 kB]
15:16:02 Get:11 Index of /debian stretch-backports/main armhf Packages [600 kB]
15:16:02 Get:12 Index of /debian stretch-backports/main Translation-en [467 kB]
15:16:04 Get:13 http://deb.wirenboard.com/wb6/stretch stable/main armhf Packages [47.9 kB]
15:16:06 Get:14 Index of /debian stretch/main armhf Packages [6908 kB]
15:16:08 Get:15 https://deb.nodesource.com/node_12.x stretch/main armhf Packages [777 B]
15:16:08 Get:16 Index of /debian stretch/main Translation-en [5377 kB]
15:16:31 Fetched 14.8 MB in 40s (371 kB/s)
15:16:51 Reading package lists…
15:16:52 Reading package lists…
15:16:54 Building dependency tree…
15:16:54 Reading state information…
15:16:56 wb-update-manager is already the newest version (1.2.5-wb1-upgrade18).
15:16:56 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
15:16:56 Removing temp apt preference to keep wb-update-manager from stretch
15:16:56 Starting (possibly updated) update utility as new process
15:16:57 journald logging enabled
15:16:57 Accessing http://deb.wirenboard.com/wb6/bullseye/dists/stable/Release
15:16:58 Response code 200
15:16:58 Copying restart-required motd message from current wb-update-manager version

============ Update debian release to bullseye ============

Now the release will be switched to stable, prefix “”, target “wb6/bullseye”.
During update, the sources and preferences files will be changed,
then apt-get dist-upgrade action will start.
This process is potentially dangerous and may break your software.
To control process on each step, use this command with --confirm-steps flag.

STOP RIGHT THERE IF THIS IS A PRODUCTION SYSTEM!

15:16:58 Generating /etc/apt/sources.list.d/wirenboard.list for SystemState(suite=‘stable’, target=‘wb6/bullseye’, repo_prefix=‘’, consistent=True)
15:16:58 Generating /etc/apt/preferences.d/20wb-release for SystemState(suite=‘stable’, target=‘wb6/bullseye’, repo_prefix=‘’, consistent=True)
15:16:58 Creating temp sources list for Bullseye on /etc/apt/sources.list.d/000wb-bullseye-upgrade.list
15:16:58 Creating temp apt preferences for Bullseye on /etc/apt/preferences.d/000wb-bullseye-upgrade
15:16:58 Setting packages (‘wb-update-manager’, ‘wb-release-info’) on hold
15:17:26 wb-update-manager set on hold.
15:17:26 wb-release-info set on hold.
15:17:26 Get:1 Index of /debian-security bullseye-security InRelease [48.4 kB]
15:17:26 Get:2 Index of /debian bullseye InRelease [116 kB]
15:17:27 Get:3 Index of /debian bullseye-updates InRelease [44.1 kB]
15:17:27 Get:4 Index of /debian bullseye-backports InRelease [49.0 kB]
15:17:28 Get:5 Index of /debian-security bullseye-security/main armhf Packages [251 kB]
15:17:28 Get:6 Index of /debian-security bullseye-security/main Translation-en [164 kB]
15:17:30 Get:7 Index of /debian bullseye/main armhf Packages [7838 kB]
15:17:32 Ign:8 Index of /debian stretch InRelease
15:17:32 Hit:9 Index of /debian-security stretch/updates InRelease
15:17:32 Get:10 http://deb.wirenboard.com/wb6/bullseye stable InRelease [3939 B]
15:17:32 Hit:11 Index of /debian stretch-backports InRelease
15:17:32 Hit:12 Index of /debian stretch Release
15:17:32 Get:13 Index of /debian bullseye/main Translation-en [6236 kB]
15:17:33 Hit:14 https://swupdate.openvpn.net/community/openvpn3/repos stretch InRelease
15:17:33 Hit:15 https://deb.nodesource.com/node_12.x stretch InRelease
15:17:34 Get:16 Index of /debian bullseye-updates/main armhf Packages [14.9 kB]
15:17:34 Get:17 Index of /debian bullseye-updates/main Translation-en [10.1 kB]
15:17:36 Get:18 Index of /debian bullseye-backports/main armhf Packages [395 kB]
15:17:36 Get:19 Index of /debian bullseye-backports/main Translation-en [340 kB]
15:17:41 Get:20 http://deb.wirenboard.com/wb6/bullseye stable/main armhf Packages [41.4 kB]
15:18:14 Fetched 15.6 MB in 48s (324 kB/s)
15:18:35 Reading package lists…
15:18:36 Updating openssh-server first to make Wiren Board available during update
15:18:36 Masking services (‘ssh.service’,)
15:19:01 Failed to get properties: Connection timed out
15:19:01 Unmasking services (‘ssh.service’,)
15:19:26 Failed to get properties: Connection timed out
15:19:26 Unholding packages (‘wb-update-manager’, ‘wb-release-info’)
15:19:27 Canceled hold on wb-update-manager.
15:19:27 Canceled hold on wb-release-info.
15:19:27 Cleaning up temp apt configs for bullseye transition
15:19:27 Restoring original system state
15:19:27 Generating /etc/apt/sources.list.d/wirenboard.list for SystemState(suite=‘stable’, target=‘wb6/stretch’, repo_prefix=‘’, consistent=True)
15:19:27 Generating /etc/apt/preferences.d/20wb-release for SystemState(suite=‘stable’, target=‘wb6/stretch’, repo_prefix=‘’, consistent=True)
15:19:27 Cleaning up apt cache (to make manual apt calls safe from now)
15:19:27
The subprocess (‘systemctl’, ‘unmask’, ‘ssh.service’) has failed with status 1
15:19:27 Try running wb-release --update-debian-release again to continue transition

Есть идеи что можно попробовать подправить, чтобы обновление закончилось?

Добрый день.
Получилось ли у вас освободить места для обновления?