Bonjour à tous,
Je me retrouve dans un cas très similaire (voir identique) depuis hier. Tout fonctionnait à merveille jusqu’à hier matin ou j’ai réalisé une MAJ de JEEMATE et puis depuis le service Zigbee2mqtt ne fait que démarrer :
- relance d’installation des dépendances,
- réparation de Zigbee2mqtt avec l’excellent plugin Zigbeelinker (@MrGreen)
- suppression du dossier /opt/Zigbee2mqtt avec relance des dépendances,
Bref, rien n’y fait
Voici quelques infos si quelqu’un peut nous aider et si @MrGreen passe également par là pour avoir son avis
des log tout frais après une énième relance des dépendances…
[2023-05-01 08:05:25][INFO] : ############ Arrêt des services ############
[2023-05-01 08:05:25][INFO] : ##### Arrêt du service ZigbeeLinker #####
[2023-05-01 08:05:25][INFO] : ##### Service ZigbeeLinker Arrêté #####
[2023-05-01 08:05:25][INFO] : ##### Arrêt du service Client MQTT (Client MQTT Local)#####
[2023-05-01 08:05:26][INFO] : ##### Le service Client MQTT (Client MQTT Local) s'est arrêté correctement #####
[2023-05-01 08:05:26][INFO] : ##### Arrêt du service Zigbee2MQTT #####
[2023-05-01 08:05:26][INFO] : ##### Le service Zigbee2MQTT s'est arrêté correctement. #####
[2023-05-01 08:05:26][INFO] : ##### Arrêt du service MQTT #####
[2023-05-01 08:05:26][INFO] : ##### Tentative d'arrêt du service MQTT (méthode 1)
[2023-05-01 08:05:27][INFO] : ##### Service MQTT arrêté.
[2023-05-01 08:05:27][INFO] : ##### Le service MQTT s'est arrêté correctement. #####
[2023-05-01 08:05:47][INFO] : ############ Démarrage des service ############
[2023-05-01 08:05:47][INFO] : ##### Démarrage du service ZigbeeLinker #####
[2023-05-01 08:05:48][INFO] : ##### Service ZigbeeLinker démarré #####
[2023-05-01 08:05:49][INFO] : ##### Démarrage du service MQTT #####
[2023-05-01 08:05:51][INFO] : ##### Démarrage du service MQTT terminé avec succès #####
[2023-05-01 08:05:51][INFO] : ##### Démarrage du service Zigbee2MQTT #####
[2023-05-01 08:05:52][INFO] : ##### Le service Zigbee2MQTT démarre... #####
[2023-05-01 08:05:52][INFO] : ##### Démarrage du service Client MQTT (Client MQTT Local) #####
[2023-05-01 08:05:53][INFO] : ##### Le service Client MQTT a démarré (Client MQTT Local) #####
[2023-05-01 08:05:53][INFO] : ##### Le service Client MQTT ([Aucun][Client MQTT Local]) s'est connecté. #####
[2023-05-01 08:05:53][INFO] : [Aucun][Client MQTT Local] : Client MQTT subscribe : 1
[2023-05-01 08:05:53][INFO] : ##### Le client MQTT Client MQTT Local a reçu un premier message de Zigbee2MQTT #####
[2023-05-01 08:05:53][INFO] : ##### Démarrage du service Client MQTT (Client MQTT Local) terminé avec succès #####
[2023-05-01 08:05:54][INFO] : ##### Le service zigbee2mqtt a démarré #####
[2023-05-01 08:06:04][ERROR] : ##### Le service zigbee2mqtt s'est arrêté #####
[2023-05-01 08:08:05][INFO] : ##### Démarrage du service Zigbee2MQTT #####
[2023-05-01 08:08:07][INFO] : ##### Le service Zigbee2MQTT démarre... #####
#######################################################
# INSTALL : Zigbee2mqtt #
#######################################################
#######################################################
##### apt-get update in progress
Hit:1 http://deb.debian.org/debian bullseye InRelease
Ign:2 http://deb.debian.org/debian-security bullseye/updates InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 http://archive.raspberrypi.org/debian buster InRelease
Err:5 http://deb.debian.org/debian-security bullseye/updates Release
404 Not Found [IP: 2a04:4e42:6a::644 80]
Hit:6 https://deb.nodesource.com/node_16.x buster InRelease
Reading package lists...
E: The repository 'http://deb.debian.org/debian-security bullseye/updates Release' does not have a Release file.
#######################################################
##### Install or update Git
Reading package lists...
Building dependency tree...
Reading state information...
g++ is already the newest version (4:10.2.1-1).
gcc is already the newest version (4:10.2.1-1).
git is already the newest version (1:2.30.2-1+deb11u2).
make is already the newest version (4.3-4.1).
The following packages were automatically installed and are no longer required:
bsdmainutils cpp-8 dh-python geoip-database libasan5 libbind9-161 libbz2-dev
libcdio18 libcodec2-0.8.1 libcroco3 libdc1394-22 libdns1104 libdns1110
libdouble-conversion1 libevent-2.1-6 libgcc1:armhf libgeoip1 libgl1-mesa-glx
libicu63 libisc1100 libisc1105 libisccc161 libisccfg163 libisl19 libjim0.77
libjsoncpp1 libkyotocabinet16v5 liblinear3 libllvm9 liblua5.2-0 liblwres161
libmpdec2 libmysofa0 libperl5.28 libpgm-5.2-0 libpython-all-dev
libpython2-dev libpython2-stdlib libpython2.7 libpython2.7-dev
libpython2.7-minimal libpython2.7-stdlib libpython3.7 libpython3.7-dev
libpython3.7-minimal libpython3.7-stdlib libre2-5 libreadline5 libusbmuxd4
libvpx5 libwebsockets8 libx264-155 libx265-165 libxcb-util0
perl-modules-5.28 python-all python-all-dev python-pkg-resources
python-setuptools python-six python2 python2-dev python2-minimal python2.7
python2.7-dev python2.7-minimal python3-asn1crypto python3-entrypoints
python3-jeepney python3-keyring python3-keyrings.alt python3-pycryptodome
python3-secretstorage python3-xdg python3.7-minimal rpi.gpio-common usb.ids
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
#######################################################
##### Install or update NodeJs
NodeJs 16 already installed : Nothing to do !
#######################################################
# INSTALLING : Mosquitto (server) #
#######################################################
Reading package lists...
Building dependency tree...
Reading state information...
mosquitto is already the newest version (2.0.11-1).
The following packages were automatically installed and are no longer required:
bsdmainutils cpp-8 dh-python geoip-database libasan5 libbind9-161 libbz2-dev
libcdio18 libcodec2-0.8.1 libcroco3 libdc1394-22 libdns1104 libdns1110
libdouble-conversion1 libevent-2.1-6 libgcc1:armhf libgeoip1 libgl1-mesa-glx
libicu63 libisc1100 libisc1105 libisccc161 libisccfg163 libisl19 libjim0.77
libjsoncpp1 libkyotocabinet16v5 liblinear3 libllvm9 liblua5.2-0 liblwres161
libmpdec2 libmysofa0 libperl5.28 libpgm-5.2-0 libpython-all-dev
libpython2-dev libpython2-stdlib libpython2.7 libpython2.7-dev
libpython2.7-minimal libpython2.7-stdlib libpython3.7 libpython3.7-dev
libpython3.7-minimal libpython3.7-stdlib libre2-5 libreadline5 libusbmuxd4
libvpx5 libwebsockets8 libx264-155 libx265-165 libxcb-util0
perl-modules-5.28 python-all python-all-dev python-pkg-resources
python-setuptools python-six python2 python2-dev python2-minimal python2.7
python2.7-dev python2.7-minimal python3-asn1crypto python3-entrypoints
python3-jeepney python3-keyring python3-keyrings.alt python3-pycryptodome
python3-secretstorage python3-xdg python3.7-minimal rpi.gpio-common usb.ids
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
#######################################################
# INSTALLING : Mosquitto for Php #
#######################################################
Mosquitto for Php is already installed, nothing to do
#######################################################
##### Install Socat
Socat is already installed, nothing to do
#######################################################
##### Install yaml php and restart apache
Yaml is already installed, nothing to do
#######################################################
##### Stopping Zigbee2mqtt deamon #
#######################################################
##### Update : Download update from Zigbee2mqtt git
##### up to date
#######################################################
##### Configure deamon and start it
mv: cannot stat '/opt/zigbee2mqtt/data/database.db': No such file or directory
mv: cannot stat '/opt/zigbee2mqtt/data/state.json': No such file or directory
chown: cannot access '/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/state.json': No such file or directory
chown: cannot access '/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/database.db': No such file or directory
Created symlink /etc/systemd/system/multi-user.target.wants/zigbee2mqtt.service -> /etc/systemd/system/zigbee2mqtt.service.
#######################################################
# END #
#######################################################
> zigbee2mqtt@1.30.3 start
> node index.js
Zigbee2MQTT:debug 2023-05-01 08:36:56: Can't load state from file /var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/state.json (doesn't exist)
Zigbee2MQTT:info 2023-05-01 08:36:56: Logging to console and directory: '/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/log/2023-05-01.08-36-56' filename: log.txt
Zigbee2MQTT:debug 2023-05-01 08:36:56: Removing old log directory '/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/log/2023-05-01.08-18-28'
Zigbee2MQTT:info 2023-05-01 08:36:56: Starting Zigbee2MQTT version 1.30.3 (commit #e1ecbd97)
Zigbee2MQTT:info 2023-05-01 08:36:56: Starting zigbee-herdsman (0.14.103)
Zigbee2MQTT:debug 2023-05-01 08:36:56: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null,"delay":null,"disableLED":false},"backupPath":"/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/coordinator_backup.json","databaseBackupPath":"/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/database.db.backup","databasePath":"/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/database.db","network":{"channelList":[20],"extendedPanID":[221,221,221,221,221,221,221,221],"networkKey":"HIDDEN","panID":25593},"serialPort":{"adapter":"deconz"}}'
2023-05-01T06:36:56.718Z zigbee-herdsman:adapter No path provided, auto detecting path
Zigbee2MQTT:error 2023-05-01 08:36:56: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2023-05-01 08:36:56: Failed to start zigbee
Zigbee2MQTT:error 2023-05-01 08:36:56: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2023-05-01 08:36:56: Exiting...
Zigbee2MQTT:error 2023-05-01 08:36:57: Error: No path provided and failed to auto detect path
at Function.create (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/adapter.ts:81:23)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Controller.start (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/controller/controller.ts:129:24)
at Zigbee.start (/opt/zigbee2mqtt/lib/zigbee.ts:58:27)
at Controller.start (/opt/zigbee2mqtt/lib/controller.ts:101:27)
at start (/opt/zigbee2mqtt/index.js:107:5)
je vois bien qu’il y a des erreur mais je ne sais pas comment les résoudres.