Обновление через веб-интерфейс

Решил обновить прошивку
Welcome to Wiren Board 7.3.3 (s/n AJTOYZ66), release unstable.latest (as testing)
Linux wirenboard-AJTOYZ66 5.10.35-wb143 #1 SMP Fri Aug 11 11:12:04 UTC 2023 armv7l GNU/Linux),
выбрал самую свежую на тесте… 202312040645_testing_bullseye_wb7x.fit
ошибка

Using flags from /mnt/data/.wb-update/install_update.web.flags: --force-repartition
Console logging enabled; tempfile /tmp/tmp.xEHiJFkN5e, final file /mnt/data/.wb-update/wb-console.log will be written on exit
/dev/shm/tmp.ZmJjswyFcJ: line 975: fw_has_proper_dtb: command not found
This firmware is too old for this device, please use newer one from https://fw-releases.wirenboard.com/
!!! Firmware is not compatible with this device, no proper DTB found
Removing FIT /mnt/data/.wb-update/202312040645_testing_bullseye_wb7x.fit

Добрый день.
Воспроизведу и проверю, но вам для обновления - целесообразно использовать стандартный путь, с помощью apt.

Моя задача увеличить корневой каталог.

root@wirenboard-AJTOYZ66:~# apt update && apt upgrade
Hit:1 Index of /debian bullseye InRelease
Get:2 Index of /debian bullseye-updates InRelease [44.1 kB]
Get:3 http://deb.wirenboard.com/wb7/bullseye testing InRelease [3942 B]
Get:4 https://deb.nodesource.com/node_16.x bullseye InRelease [4586 B]
Get:5 Index of /debian bullseye-backports InRelease [49.0 kB]
Hit:6 http://debian-mirror.wirenboard.com/debian-security bullseye-security InRelease
Get:7 http://deb.wirenboard.com/wb7/bullseye testing/main armhf Packages [44.0 kB]
Get:8 Index of /debian bullseye-backports/main armhf Packages.diff/Index [63.3 kB]
Get:9 Index of /debian bullseye-backports/main Translation-en.diff/Index [63.3 kB]
Get:10 Index of /debian bullseye-backports/main armhf Packages T-2023-12-07-2007.14-F-2023-12-07-2007.14.pdiff [264 B]
Get:10 Index of /debian bullseye-backports/main armhf Packages T-2023-12-07-2007.14-F-2023-12-07-2007.14.pdiff [264 B]
Get:11 Index of /debian bullseye-backports/main Translation-en T-2023-12-08-0205.50-F-2023-12-08-0205.50.pdiff [529 B]
Get:11 Index of /debian bullseye-backports/main Translation-en T-2023-12-08-0205.50-F-2023-12-08-0205.50.pdiff [529 B]
Fetched 273 kB in 5s (51.0 kB/s)
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
11 packages can be upgraded. Run ‘apt list --upgradable’ to see them.
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Calculating upgrade… Done
The following NEW packages will be installed:
stm32flash wb-bootlet-wb7x-factory wb-ec-firmware
The following packages will be upgraded:
libwbmqtt1-4 linux-image-wb7 python3-wb-mcu-fw-updater wb-configs wb-mcu-fw-updater wb-mqtt-homeui wb-mqtt-mbgate wb-mqtt-serial wb-release-info
wb-utils zigbee2mqtt
11 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 850 kB/69.5 MB of archives.
After this operation, 8705 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://deb.wirenboard.com/wb7/bullseye testing/main armhf wb-mqtt-serial armhf 2.108.0 [848 kB]
Get:2 http://deb.wirenboard.com/wb7/bullseye testing/main armhf wb-release-info all 1.0-testing~wb7+bullseye~20231208101747 [1676 B]
Fetched 850 kB in 1s (1178 kB/s)
Selecting previously unselected package wb-bootlet-wb7x-factory.
(Reading database … 56476 files and directories currently installed.)
Preparing to unpack …/wb-bootlet-wb7x-factory_5.10.35-wb157-fs1.2.2-deb11-202311241137_armhf.deb …
Unpacking wb-bootlet-wb7x-factory (5.10.35-wb157-fs1.2.2-deb11-202311241137) …
Selecting previously unselected package stm32flash.
Preparing to unpack …/stm32flash_0.5+git20200914+2b0f078-1_armhf.deb …
Unpacking stm32flash (0.5+git20200914+2b0f078-1) …
Setting up stm32flash (0.5+git20200914+2b0f078-1) …
Selecting previously unselected package wb-ec-firmware.
(Reading database … 56489 files and directories currently installed.)
Preparing to unpack …/wb-ec-firmware_1.1.1_all.deb …
Unpacking wb-ec-firmware (1.1.1) …
Setting up wb-ec-firmware (1.1.1) …
(Reading database … 56495 files and directories currently installed.)
Preparing to unpack …/linux-image-wb7_5.10.35-wb157_armhf.deb …
Unpacking linux-image-wb7 (5.10.35-wb157) over (5.10.35-wb143) …
dpkg: error processing archive /var/cache/apt/archives/linux-image-wb7_5.10.35-wb157_armhf.deb (–unpack):
cannot copy extracted data for ‘./lib/modules/5.10.35-wb157/kernel/drivers/net/wireless/realtek/rtl8723bu/8723bu.ko’ to ‘/lib/modules/5.10.35-wb157/kernel/drivers/net/wireless/realtek/rtl8723bu/8723bu.ko.dpkg-new’: failed to write (No space left on device)
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-wb7_5.10.35-wb157_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

root@wirenboard-AJTOYZ66:~#df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 976M 918M 0 100% /
devtmpfs 998M 0 998M 0% /dev
tmpfs 1007M 40K 1007M 1% /dev/shm
tmpfs 403M 1.3M 402M 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/mmcblk0p6 55G 2.6G 50G 5% /mnt/data
tmpfs 202M 0 202M 0% /run/user/0

Тут, скорее всего и есть причина.
Удалите софт, занимающий место, все равно после расширения - содержимое крня будет заменено.

Cторонний софт не устанавливал.

Тогда чем занято место в конре? Покажите по каталогам, вывод например

du -h -d 2 /

Ну и если допольнительного нет - проще сделать factory reset.

Да, логи забились, но как чистка логов влияет на свободное место в /dev/root 976M 918M 0 100% / ?

48K /var/log/nginx
4.0K /var/log/private
1.5G /var/log/journal/c084018070af24d075c42c6463613f91
1.5G /var/log/journal
4.0K /var/log/ntpstats
4.0K /var/log/runit/ssh
4.0K /var/log/runit/dnsmasq
12K /var/log/runit
12K /var/log/mosquitto
44K /var/log/apt
4.0K /var/log/watchdog
1.5G /var/log/

Только WB-MSW-ZIGBEE

Я вижу в приведенном только /var

root@wirenboard-AJTOYZ66:~# du -h -d 2 /
4.0K /usr/games
4.0K /usr/src
968K /usr/libexec
10M /usr/sbin
68K /usr/local
31M /usr/include
361M /usr/lib
162M /usr/bin
164M /usr/share
728M /usr
128K /boot/overlays
5.0M /boot/dtbs
15M /boot
4.0K /etc/wb-rules-modules.default
12K /etc/X11
28K /etc/mysql
8.0K /etc/selinux
28K /etc/kernel
68K /etc/fonts
4.0K /etc/rc1.d
12K /etc/init
132K /etc/init.d
16K /etc/lirc
16K /etc/ufw
40K /etc/polkit-1
8.0K /etc/terminfo
8.0K /etc/python3.9
140K /etc/systemd
52K /etc/sv
624K /etc/ssl
8.0K /etc/python3.5
4.0K /etc/tmpfiles.d
56K /etc/wb-configs.d
4.0K /etc/rcS.d
36K /etc/udev
20K /etc/modprobe.d
4.0K /etc/rc0.d
56K /etc/security
4.0K /etc/binfmt.d
24K /etc/xdg
8.0K /etc/nfc
12K /etc/profile.d
4.0K /etc/rc6.d
4.0K /etc/rc5.d
560K /etc/ssh.default
32K /etc/dhcp
92K /etc/default
92K /etc/pam.d
24K /etc/apparmor.d
12K /etc/xml
20K /etc/avahi
4.0K /etc/modules-load.d
8.0K /etc/python3
12K /etc/apparmor
24K /etc/cron.daily
124K /etc/nginx
20K /etc/bluetooth
8.0K /etc/cron.hourly
36K /etc/minicom
8.0K /etc/ldap
4.0K /etc/usb_modeswitch.d
12K /etc/cron.d
16K /etc/ld.so.conf.d
56K /etc/iproute2
4.0K /etc/opt
8.0K /etc/bash_completion.d
8.0K /etc/ifplugd
40K /etc/logrotate.d
24K /etc/update-motd.d
52K /etc/NetworkManager
12K /etc/ModemManager
8.0K /etc/alternatives
8.0K /etc/sgml
16K /etc/resolvconf
32K /etc/chatscripts
152K /etc/apt
12K /etc/emacs
12K /etc/ssmtp
8.0K /etc/zabbix_agentd.d
108K /etc/ppp
12K /etc/perl
8.0K /etc/insserv.conf.d
8.0K /etc/wb-mqtt-serial.conf.d.default
8.0K /etc/python2.7
4.0K /etc/rc4.d
16K /etc/skel
12K /etc/libnl-3
28K /etc/logcheck
12K /etc/dnsmasq.d
12K /etc/sudoers.d
12K /etc/sysctl.d
12K /etc/runit
92K /etc/mc
12K /etc/netplug
44K /etc/wpa_supplicant
12K /etc/wb-rules.default
8.0K /etc/ca-certificates
44K /etc/dbus-1
60K /etc/network
4.0K /etc/rc3.d
8.0K /etc/vim
8.0K /etc/cron.weekly
4.0K /etc/rc2.d
8.0K /etc/hostapd
8.0K /etc/python
8.0K /etc/cron.monthly
88K /etc/mosquitto
32K /etc/dpkg
12K /etc/gss
5.2M /etc
4.0K /tmp/.X11-unix
4.0K /tmp/.Test-unix
8.0K /tmp/systemd-private-8bb99167cbb54b38b6015f3c6d94ccd8-systemd-logind.service-mucbBg
4.0K /tmp/mc-root
4.0K /tmp/.font-unix
8.0K /tmp/systemd-private-8bb99167cbb54b38b6015f3c6d94ccd8-ntp.service-PdFhIf
8.0K /tmp/systemd-private-8bb99167cbb54b38b6015f3c6d94ccd8-ModemManager.service-gEKAph
4.0K /tmp/.ICE-unix
4.0K /tmp/.XIM-unix
7.3M /tmp
4.0K /media
0 /sys/kernel
0 /sys/devices
0 /sys/power
0 /sys/class
0 /sys/dev
0 /sys/firmware
0 /sys/fs
0 /sys/bus
0 /sys/module
0 /sys/block
0 /sys
16K /root.default
0 /dev/serial
0 /dev/disk
0 /dev/block
0 /dev/char
0 /dev/net
0 /dev/mqueue
0 /dev/pts
40K /dev/shm
0 /dev/bus
0 /dev/input
0 /dev/snd
40K /dev
4.0K /opt
28K /var/tmp
4.0K /var/opt
12K /var/spool
4.0K /var/local
388M /var/log
1.5M /var/backups
61M /var/lib
2.2M /var/cache
4.0K /var/mail
6.9M /var/www
459M /var
6.5M /sbin
du: cannot read directory ‘/mnt/sdcard’: No such device
0 /mnt/sdcard
1.5G /mnt/data
1.5G /mnt
8.0K /Backup
4.0K /home
0 /run/wpa_supplicant
4.0K /run/mosquitto
0 /run/sshd
20K /run/NetworkManager
0 /run/dbus
4.0K /run/avahi-daemon
0 /run/user
0 /run/sudo
4.0K /run/dnsmasq
0 /run/sendsigs.omit.d
20K /run/network
0 /run/log
4.0K /run/tmpfiles.d
0 /run/mount
972K /run/udev
0 /run/credentials
196K /run/systemd
0 /run/lock
1.3M /run
16K /lib/init
28K /lib/lsb
228K /lib/terminfo
7.4M /lib/systemd
18M /lib/udev
16K /lib/modprobe.d
1.5M /lib/firmware
16K /lib/ifupdown
38M /lib/modules
12K /lib/runit-helper
9.0M /lib/arm-linux-gnueabihf
64K /lib/crda
74M /lib
4.0K /srv
0 /proc/fs
0 /proc/bus
0 /proc/cpu
0 /proc/irq
0 /proc/sys
0 /proc/tty
0 /proc/scsi
0 /proc/asound
0 /proc/driver
0 /proc/sysvipc
0 /proc/1
0 /proc/2
0 /proc/3
0 /proc/4
0 /proc/8
0 /proc/9
0 /proc/10
0 /proc/11
0 /proc/12
0 /proc/13
0 /proc/14
0 /proc/15
0 /proc/16
0 /proc/17
0 /proc/20
0 /proc/21
0 /proc/22
0 /proc/25
0 /proc/26
0 /proc/27
0 /proc/30
0 /proc/31
0 /proc/33
0 /proc/34
0 /proc/35
0 /proc/65
0 /proc/66
0 /proc/67
0 /proc/69
0 /proc/71
0 /proc/72
0 /proc/73
0 /proc/74
0 /proc/76
0 /proc/80
0 /proc/82
0 /proc/83
0 /proc/84
0 /proc/89
0 /proc/90
0 /proc/94
0 /proc/95
0 /proc/97
0 /proc/100
0 /proc/102
0 /proc/105
0 /proc/107
0 /proc/108
0 /proc/157
0 /proc/173
0 /proc/174
0 /proc/186
0 /proc/187
0 /proc/225
0 /proc/226
0 /proc/524
0 /proc/525
0 /proc/526
0 /proc/604
0 /proc/644
0 /proc/652
0 /proc/654
0 /proc/679
0 /proc/683
0 /proc/710
0 /proc/719
0 /proc/725
0 /proc/747
0 /proc/848
0 /proc/1302
0 /proc/1941
0 /proc/2463
0 /proc/3188
0 /proc/3222
0 /proc/3246
0 /proc/3297
0 /proc/3366
0 /proc/3383
0 /proc/3402
0 /proc/3486
0 /proc/3510
0 /proc/3546
0 /proc/3586
0 /proc/3615
0 /proc/3664
0 /proc/3665
0 /proc/4321
0 /proc/4774
0 /proc/5146
0 /proc/5147
0 /proc/5185
0 /proc/8052
0 /proc/9227
0 /proc/11530
0 /proc/12472
0 /proc/14157
0 /proc/16374
0 /proc/18605
0 /proc/21085
0 /proc/21663
0 /proc/21937
0 /proc/21975
0 /proc/22002
0 /proc/22616
0 /proc/22691
0 /proc/22698
0 /proc/22771
0 /proc/22772
0 /proc/22773
0 /proc/22774
0 /proc/22776
0 /proc/22804
0 /proc/22843
0 /proc/23195
0 /proc/23320
0 /proc/23472
0 /proc/23475
0 /proc/23486
0 /proc/23487
0 /proc/23578
0 /proc/23824
0 /proc/23849
0 /proc/23931
0 /proc/23979
0 /proc/24133
0 /proc/24217
0 /proc/24430
0 /proc/24541
0 /proc/24626
0 /proc/25015
0 /proc/25331
0 /proc/26028
0 /proc/26308
0 /proc/26409
0 /proc/26421
0 /proc/26425
0 /proc/26541
du: cannot access ‘/proc/26589/task/26589/fd/4’: No such file or directory
du: cannot access ‘/proc/26589/task/26589/fdinfo/4’: No such file or directory
du: cannot access ‘/proc/26589/fd/3’: No such file or directory
du: cannot access ‘/proc/26589/fdinfo/3’: No such file or directory
0 /proc/26589
0 /proc/29195
0 /proc/29601
0 /proc/30404
0 /proc/30464
0 /proc/30465
0 /proc/30466
0 /proc/30467
0 /proc/30644
0 /proc/31706
0 /proc
7.2M /bin
2.8G /

Ну, вот, как раз /usr/lib/

Cпасибо! Перенес часть в /mnt/data и через веб-интерфейс установил последний релиз - расширив раздел.

1 Like