Добрый день.
Обновил контроллер 8.4 до последней релизной версии. А также загрузчики и прошивки всех устройств. После обновления определенные устройства (в частности MR6C, MWAC и MCM) начали постепенно “пропадать”. Минуту после перезагрузки контроллер их видит на вкладке “устройства”. Затем устройства исчезают. Причем у MWACа сначала не видно выходов, а видно только счетчики, но через ~минуту устройство пропадает целиком. При этом на вкладке “настройки драйверов serial-устройств” все устройства видны. Прикладываю диагностический архив.
приложен диагностический архив, доступен только сотрудникам поддержки
(500,8 КБ)
Добрый день!
Работает ли штатно служба Mosquitto? Для проверки можно использовать команду:
systemctl status mosquitto
Добрый день!
Проблему передали разработчикам. Оповестим по решению
1 лайк
Добрый день!
Подскажите, как вы обновлялись? Всегда FIT файлом (factory reset, сброс к заводским настройкам) или через apt в терминале (apt update; apt upgrade)?
Разработчики исправят, сейчас предлагают быстрое решение командой в консоли:
apt install --reinstall wb-configs
Обновляю из консоли с помощью apt update && apt upgrade.
После apt install --reinstall wb-configs устройства вернулись. Ниже лог исполнения команды.
Причина в том, что надо было оставить выбор по умолчанию default=N (keep your currently-installed version).
Setting up mosquitto (2.0.20-1-wb102) ...
Installing new version of config file /etc/init.d/mosquitto ...
Installing new version of config file /etc/logrotate.d/mosquitto ...
Configuration file '/etc/mosquitto/mosquitto.conf'
==> 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.
*** mosquitto.conf (Y/I/N/O/D/Z) [default=N] ? d
--- /etc/mosquitto/mosquitto.conf 2025-05-18 15:16:20.874481935 +0300
+++ /etc/mosquitto/mosquitto.conf.dpkg-new 2025-04-28 19:49:02.000000000 +0300
@@ -3,12 +3,11 @@
# A full description of the configuration file is at
# /usr/share/doc/mosquitto/examples/mosquitto.conf.example
-pid_file /run/mosquitto/mosquitto.pid
+#pid_file /run/mosquitto/mosquitto.pid
-# persistence is disabled by default. enable in /etc/mosquitto/conf.d/000persistence.conf
+persistence true
persistence_location /var/lib/mosquitto/
-log_dest syslog
+log_dest file /var/log/mosquitto/mosquitto.log
-include_dir /usr/share/wb-configs/mosquitto
include_dir /etc/mosquitto/conf.d
Configuration file '/etc/mosquitto/mosquitto.conf'
==> 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.
*** mosquitto.conf (Y/I/N/O/D/Z) [default=N] ? y
Installing new version of config file /etc/mosquitto/mosquitto.conf ...