Добрый день. После обновления через apt update && apt upgrade reboot
вместо веб-интерфейса wirenboard, заглушка nginx. Веб-интерфейс zigbee2mqtt и устройства, подключенные по zigbee тоже недоступны. После выполнения обновления, в консоли
Hit:5 https://download.docker.com/linux/debian bullseye InRelease
Hit:2 https://debian-mirror.wirenboard.com/debian bullseye InRelease
Hit:1 https://deb.wirenboard.com/wb8/bullseye stable InRelease
Hit:3 https://debian-mirror.wirenboard.com/debian bullseye-updates InRelease
Hit:4 https://debian-mirror.wirenboard.com/debian-security bullseye-security InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
zigbee2mqtt : Depends: nodejs (>= 22)
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
В Home Assistant топики видны, управление устройствами работает.
Повторное обновление не принесло результата, заглушка nginx сохраняется. Есть ли варианты как вернуть веб-интерфейс без сброса?
apt --fix-broken install
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
systemctl status wb-mqtt-homeui
~# systemctl status wb-mqtt-homeui
Unit wb-mqtt-homeui.service could not be found.
~# dpkg --configure -a
Setting up zigbee2mqtt (2.5.1-wb101) ...
Configuration file '/mnt/data/root/zigbee2mqtt/data/configuration.yaml'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** configuration.yaml (Y/I/N/O/D/Z) [default=N] ? N
Adding dependencies for pnpm
! Corepack is about to download https://registry.npmjs.org/pnpm/-/pnpm-10.22.0.tgz
? Do you want to continue? [Y/n] y
✔ The modules directory at "/mnt/data/root/zigbee2mqtt/node_modules" will be removed and reinstalled from scratch. Proceed? (Y/n) · true
Recreating /mnt/data/root/zigbee2mqtt/node_modules
Lockfile is up to date, resolution step is skipped
Packages: +179
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 179, reused 0, downloaded 179, added 179, done
node_modules/.pnpm/unix-dgram@2.0.6/node_modules/unix-dgram: Running install script, done in 40.4s
node_modules/.pnpm/@serialport+bindings-cpp@13.0.1/node_modules/@serialport/bindings-cpp: Running install script, done in 642ms
dependencies:
+ ajv 8.17.1
+ bind-decorator 1.0.11
+ debounce 2.2.0
+ express-static-gzip 3.0.0
+ fast-deep-equal 3.1.3
+ finalhandler 2.1.0
+ humanize-duration 3.33.0
+ js-yaml 4.1.0
+ json-stable-stringify-without-jsonify 1.0.1
+ jszip 3.10.1
+ moment 2.30.1
+ mqtt 5.13.1
+ object-assign-deep 0.4.0
+ rimraf 6.0.1
+ semver 7.7.2
+ source-map-support 0.5.21
+ throttleit 2.1.0
+ winston 3.17.0
+ winston-syslog 2.7.1
+ winston-transport 4.9.0
+ ws 8.18.3
+ zigbee-herdsman 4.3.1
+ zigbee-herdsman-converters 23.69.0
+ zigbee2mqtt-frontend 0.9.16
+ zigbee2mqtt-windfront 1.2.1
optionalDependencies:
+ unix-dgram 2.0.6
devDependencies: skipped
Done in 3m 18.2s using pnpm v10.22.0
После apt --fix-broken install и dpkg --configure -a заработал Web-UI.
Zigbee2mqtt так и не заработал
UPD: в configuration.yaml z2m появился дубль строки в секции
serial:
port: /dev/ttyMOD2 adapter: auto
adapter: zstack
Удалил adapter:auto, перезапустил службу, все заработало.