Добрый день!
делал по инструкции WB-2304 — Wiren Board
освободил место на /dev/root/ (перенес докер в /mnt/data)
и запустил команды из инструкции.
застряло на запуске mosquitto, в логе вот такие ошибки:
15:15:41 Unmasking services ('nginx.service', 'mosquitto.service', 'hostapd.service', 'wb-mqtt-mbgate.service')
15:15:43 Removed /etc/systemd/system/nginx.service.
15:15:47 Removed /etc/systemd/system/mosquitto.service.
15:15:51 Removed /etc/systemd/system/hostapd.service.
15:15:55 Removed /etc/systemd/system/wb-mqtt-mbgate.service.
15:16:00 Enabling services which were possibly disabled during update
15:16:00 Synchronizing state of hostapd.service with SysV service script with /lib/systemd/systemd-sysv-install.
15:16:00 Executing: /lib/systemd/systemd-sysv-install enable hostapd
15:16:13 Restaring updated services
15:16:15 Job for mosquitto.service failed because the control process exited with error code.
15:16:15 See "systemctl status mosquitto.service" and "journalctl -xe" for details.
15:16:15 Unholding packages ('wb-update-manager', 'wb-release-info')
15:16:16 Canceled hold on wb-update-manager.
15:16:16 Canceled hold on wb-release-info.
15:16:16 Cleaning up temp apt configs for bullseye transition
15:16:16 Restoring original system state
15:16:16 Generating /etc/apt/sources.list.d/wirenboard.list for SystemState(suite='stable', target='wb7/stretch', repo_prefix='', consistent=True)
15:16:16 Generating /etc/apt/preferences.d/20wb-release for SystemState(suite='stable', target='wb7/stretch', repo_prefix='', consistent=True)
15:16:16 Cleaning up apt cache (to make manual apt calls safe from now)
15:16:16
The subprocess ('systemctl', 'restart', 'mosquitto.service') has failed with status 1
15:16:16 Try running wb-release --update-debian-release again to continue transition
journalctl -xe
Support: https://www.debian.org/support
░░
░░ Процесс остановки юнита wb-diag-collect.service был завершен.
апр 03 15:30:55 wirenboard-ATQN6F3J systemd[1]: wb-diag-collect.service: Consumed 1.346s CPU time.
░░ Subject: Потребленные юнитом ресурсы
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ Юнит wb-diag-collect.service завершен. Приводится статистика по потребленным им ресурсам.
апр 03 15:30:55 wirenboard-ATQN6F3J systemd[1]: Started one-click diagnostic data collector for Wiren Board, generating archive with data.
░░ Subject: Запуск юнита wb-diag-collect.service завершен
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ Процесс запуска юнита wb-diag-collect.service был завершен.
░░
░░ Результат: done.
апр 03 15:30:55 wirenboard-ATQN6F3J wb-mqtt-confed[16449]: panic: network Error : dial tcp [::1]:1883: connect: connection refused
апр 03 15:30:55 wirenboard-ATQN6F3J wb-mqtt-confed[16449]: goroutine 1 [running]:
апр 03 15:30:55 wirenboard-ATQN6F3J wb-mqtt-confed[16449]: github.com/wirenboard/wbgo-private.(*PahoMQTTClient).Start(0x2963540)
апр 03 15:30:55 wirenboard-ATQN6F3J wb-mqtt-confed[16449]: github.com/wirenboard/wbgo-private/mqtt.go:207 +0x194
апр 03 15:30:55 wirenboard-ATQN6F3J wb-mqtt-confed[16449]: github.com/wirenboard/wbgo-private.(*mqttRPCServer).Start(0x29635c0)
апр 03 15:30:55 wirenboard-ATQN6F3J wb-mqtt-confed[16449]: github.com/wirenboard/wbgo-private/rpc.go:287 +0xc0
апр 03 15:30:55 wirenboard-ATQN6F3J wb-mqtt-confed[16449]: main.main()
апр 03 15:30:55 wirenboard-ATQN6F3J wb-mqtt-confed[16449]: github.com/wirenboard/wb-mqtt-confed/main.go:131 +0x784
апр 03 15:30:55 wirenboard-ATQN6F3J systemd[1]: wb-mqtt-confed.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStart= process belonging to unit wb-mqtt-confed.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 2.
апр 03 15:30:55 wirenboard-ATQN6F3J systemd[1]: wb-mqtt-confed.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit wb-mqtt-confed.service has entered the 'failed' state with result 'exit-code'.
апр 03 15:30:55 wirenboard-ATQN6F3J systemd[1]: wb-mqtt-confed.service: Consumed 1.783s CPU time.
░░ Subject: Потребленные юнитом ресурсы
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ Юнит wb-mqtt-confed.service завершен. Приводится статистика по потребленным им ресурсам.
systemctl status mosquitto.service
● mosquitto.service - Mosquitto MQTT Broker
Loaded: loaded (/lib/systemd/system/mosquitto.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2023-04-03 15:16:17 MSK; 16min ago
Docs: man:mosquitto.conf(5)
man:mosquitto(8)
Process: 29853 ExecStartPre=/bin/mkdir -m 740 -p /var/log/mosquitto (code=exited, status=0/SUCCESS)
Process: 29855 ExecStartPre=/bin/chown mosquitto /var/log/mosquitto (code=exited, status=0/SUCCESS)
Process: 29862 ExecStartPre=/bin/mkdir -m 740 -p /run/mosquitto (code=exited, status=0/SUCCESS)
Process: 29864 ExecStartPre=/bin/chown mosquitto /run/mosquitto (code=exited, status=0/SUCCESS)
Process: 29878 ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf (code=exited, status=1/FAILURE)
Main PID: 29878 (code=exited, status=1/FAILURE)
CPU: 141ms
апр 03 15:16:17 wirenboard-ATQN6F3J systemd[1]: Failed to start Mosquitto MQTT Broker.
апр 03 15:16:17 wirenboard-ATQN6F3J systemd[1]: mosquitto.service: Scheduled restart job, restart counter is at 5.
апр 03 15:16:17 wirenboard-ATQN6F3J systemd[1]: Stopped Mosquitto MQTT Broker.
апр 03 15:16:17 wirenboard-ATQN6F3J systemd[1]: mosquitto.service: Start request repeated too quickly.
апр 03 15:16:17 wirenboard-ATQN6F3J systemd[1]: mosquitto.service: Failed with result 'exit-code'.
апр 03 15:16:17 wirenboard-ATQN6F3J systemd[1]: Failed to start Mosquitto MQTT Broker.
Пробовал перезагрузиться и повторить установку, застревает на этом же месте.
Что можно с этим сделать?
Сейчас в после перезагрузки в SSH отображается:
Wlcome to Wiren Board 7.2.1 (s/n ATQN6F3J), release wb-2207-bullseye-transition (as stable)
Linux wirenboard-ATQN6F3J 5.10.35-wb133 #1 SMP Tue Feb 21 08:14:01 UTC 2023 armv 7l GNU/Linux
System load: 10.16 4.52 1.74 Up time: 3 min
Memory usage: 22% of 997M Usage of /: 72% of 979M /mnt/data: 3 1% of 4.7G
The following network interfaces were found in /etc/network/interfaces
which means they are currently configured by ifupdown:
- eth0
- eth1
- wlan0
- wlan1
If you want to manage those interfaces with NetworkManager instead
remove their configuration from /etc/network/interfaces
or use web interface config editor to remove them.
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 http://fw-releases.wirenboard.com/?prefix=fi t_image/testing 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.