Bonjour,
J’ai tenté la mise à jour de z2m en version 2.1.2 et le deamon ne démarre plus. Si je repasse en 2.1.1 c’est ok.
Je suis en debian 11 et jeedom 4.4.19
Je reste en version 2.1.1 en attendant que cela soit résolu.
Voilà l’état du démon :
Et l’état de santé de jeedom :
Et les logs d’install :
0000|#######################################################
0001|# INSTALL : Zigbee2mqtt #
0002|#######################################################
0003|#######################################################
0004|##### apt-get update in progress
0005|Atteint :1 https://download.docker.com/linux/debian bullseye InRelease
0006|Atteint :2 https://deb.nodesource.com/node_20.x nodistro InRelease
0007|Atteint :3 http://security.debian.org/debian-security bullseye-security InRelease
0008|Atteint :4 http://deb.debian.org/debian bullseye InRelease
0009|Atteint :5 http://deb.debian.org/debian bullseye-updates InRelease
0010|Lecture des listes de paquets…
0011|#######################################################
0012|##### Install or update Git
0013|Lecture des listes de paquets…
0014|Construction de l'arbre des dépendances…
0015|Lecture des informations d'état…
0016|g++ est déjà la version la plus récente (4:10.2.1-1).
0017|gcc est déjà la version la plus récente (4:10.2.1-1).
0018|make est déjà la version la plus récente (4.3-4.1).
0019|git est déjà la version la plus récente (1:2.30.2-1+deb11u4).
0020|0 mis à jour, 0 nouvellement installés, 0 à enlever et 63 non mis à jour.
0021|#######################################################
0022|##### Install or update NodeJs
0023|NodeJs 20 already installed : Nothing to do !
0024|pnpm install version 9.15.6
0025|changed 1 package in 2s
0026|1 package is looking for funding
0027|run `npm fund` for details
0028|#######################################################
0029|# INSTALLING : Mosquitto for Php #
0030|#######################################################
0031|Mosquitto for Php is already installed, nothing to do
0032|##### Z2M BRANCH version to install : master
0033|#######################################################
0034|##### Install Socat
0035|Socat is already installed, nothing to do
0036|#######################################################
0037|##### Install yaml php and restart apache
0038|Yaml is already installed, nothing to do
0039|#######################################################
0040|##### Stopping Zigbee2mqtt deamon #
0041|## Supprime l'installation dans /opt/zigbee2mqtt
0042|#######################################################
0043|##### Complete installation : Download Zigbee2mqtt git
0044|Clonage dans '/opt/zigbee2mqtt'...
0045|#######################################################
0046|##### Install/Update Zigbee2mqtt
0047|Lockfile is up to date, resolution step is skipped
0048|Progress: resolved 1, reused 0, downloaded 0, added 0
0049|Packages: +363
0050|++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
0051|Progress: resolved 363, reused 363, downloaded 0, added 203
0052|Progress: resolved 363, reused 363, downloaded 0, added 363, done
0053|.../node_modules/sd-notify install$ node-gyp rebuild
0054|.../node_modules/sd-notify install: gyp info it worked if it ends with ok
0055|.../node_modules/sd-notify install: gyp info using node-gyp@10.2.0
0056|.../node_modules/sd-notify install: gyp info using node@20.18.1 | linux | x64
0057|.../node_modules/sd-notify install: gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
0058|.../node_modules/sd-notify install: gyp info spawn /usr/bin/python3
0059|.../node_modules/sd-notify install: gyp info spawn args [
0060|.../node_modules/sd-notify install: gyp info spawn args '/usr/lib/node_modules/pnpm/dist/node_modules/node-gyp/gyp/gyp_main.py',
0061|.../node_modules/sd-notify install: gyp info spawn args 'binding.gyp',
0062|.../node_modules/sd-notify install: gyp info spawn args '-f',
0063|.../node_modules/sd-notify install: gyp info spawn args 'make',
0064|.../node_modules/sd-notify install: gyp info spawn args '-I',
0065|.../node_modules/sd-notify install: gyp info spawn args '/opt/zigbee2mqtt/node_modules/.pnpm/sd-notify@2.8.0/node_modules/sd-notify/build/config.gypi',
0066|.../node_modules/sd-notify install: gyp info spawn args '-I',
0067|.../node_modules/sd-notify install: gyp info spawn args '/usr/lib/node_modules/pnpm/dist/node_modules/node-gyp/addon.gypi',
0068|.../node_modules/sd-notify install: gyp info spawn args '-I',
0069|.../node_modules/sd-notify install: gyp info spawn args '/root/.cache/node-gyp/20.18.1/include/node/common.gypi',
0070|.../node_modules/sd-notify install: gyp info spawn args '-Dlibrary=shared_library',
0071|.../node_modules/sd-notify install: gyp info spawn args '-Dvisibility=default',
0072|.../node_modules/sd-notify install: gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/20.18.1',
0073|.../node_modules/sd-notify install: gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/pnpm/dist/node_modules/node-gyp',
0074|.../node_modules/sd-notify install: gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/20.18.1/<(target_arch)/node.lib',
0075|.../node_modules/sd-notify install: gyp info spawn args '-Dmodule_root_dir=/opt/zigbee2mqtt/node_modules/.pnpm/sd-notify@2.8.0/node_modules/sd-notify',
0076|.../node_modules/sd-notify install: gyp info spawn args '-Dnode_engine=v8',
0077|.../node_modules/sd-notify install: gyp info spawn args '--depth=.',
0078|.../node_modules/sd-notify install: gyp info spawn args '--no-parallel',
0079|.../node_modules/sd-notify install: gyp info spawn args '--generator-output',
0080|.../node_modules/sd-notify install: gyp info spawn args 'build',
0081|.../node_modules/sd-notify install: gyp info spawn args '-Goutput_dir=.'
0082|.../node_modules/sd-notify install: gyp info spawn args ]
0083|.../node_modules/sd-notify install: gyp info spawn make
0084|.../node_modules/sd-notify install: gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
0085|.../node_modules/sd-notify install: make : on entre dans le répertoire « /opt/zigbee2mqtt/node_modules/.pnpm/sd-notify@2.8.0/node_modules/sd-notify/build »
0086|.../node_modules/sd-notify install: CXX(target) Release/obj.target/notify/notify.o
0087|.../node_modules/sd-notify install: ../notify.cc:5:10: fatal error: systemd/sd-daemon.h: Aucun fichier ou dossier de ce type
0088|.../node_modules/sd-notify install: 5 | #include
0089|.../node_modules/sd-notify install: | ^~~~~~~~~~~~~~~~~~~~~
0090|.../node_modules/sd-notify install: compilation terminated.
0091|.../node_modules/sd-notify install: make: *** [notify.target.mk:106 : Release/obj.target/notify/notify.o] Erreur 1
0092|.../node_modules/sd-notify install: make : on quitte le répertoire « /opt/zigbee2mqtt/node_modules/.pnpm/sd-notify@2.8.0/node_modules/sd-notify/build »
0093|.../node_modules/sd-notify install: gyp ERR! build error
0094|.../node_modules/sd-notify install: gyp ERR! stack Error: `make` failed with exit code: 2
0095|.../node_modules/sd-notify install: gyp ERR! stack at ChildProcess. (/usr/lib/node_modules/pnpm/dist/node_modules/node-gyp/lib/build.js:216:23)
0096|.../node_modules/sd-notify install: gyp ERR! System Linux 5.10.0-33-amd64
0097|.../node_modules/sd-notify install: gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
0098|.../node_modules/sd-notify install: gyp ERR! cwd /opt/zigbee2mqtt/node_modules/.pnpm/sd-notify@2.8.0/node_modules/sd-notify
0099|.../node_modules/sd-notify install: gyp ERR! node -v v20.18.1
0100|.../node_modules/sd-notify install: gyp ERR! node-gyp -v v10.2.0
0101|.../node_modules/sd-notify install: gyp ERR! not ok
0102|.../node_modules/sd-notify install: Failed
0103|dependencies:
0104|+ ajv 8.17.1
0105|+ bind-decorator 1.0.11
0106|+ debounce 2.2.0
0107|+ express-static-gzip 2.2.0
0108|+ fast-deep-equal 3.1.3
0109|+ finalhandler 1.3.1
0110|+ git-last-commit 1.0.1
0111|+ humanize-duration 3.32.1
0112|+ js-yaml 4.1.0
0113|+ json-stable-stringify-without-jsonify 1.0.1
0114|+ jszip 3.10.1
0115|+ moment 2.30.1
0116|+ mqtt 5.10.3
0117|+ object-assign-deep 0.4.0
0118|+ rimraf 6.0.1
0119|+ semver 7.7.1
0120|+ source-map-support 0.5.21
0121|+ throttleit 2.1.0
0122|+ winston 3.17.0
0123|+ winston-syslog 2.7.1
0124|+ winston-transport 4.9.0
0125|+ ws 8.18.1
0126|+ zigbee-herdsman 3.2.7
0127|+ zigbee-herdsman-converters 23.2.0
0128|+ zigbee2mqtt-frontend 0.9.4
0129|optionalDependencies:
0130|+ sd-notify 2.8.0
0131|devDependencies:
0132|+ @eslint/core 0.12.0
0133|+ @eslint/js 9.21.0
0134|+ @ianvs/prettier-plugin-sort-imports 4.4.1
0135|+ @types/finalhandler 1.2.3
0136|+ @types/humanize-duration 3.27.4
0137|+ @types/js-yaml 4.0.9
0138|+ @types/node 22.13.5
0139|+ @types/object-assign-deep 0.4.3
0140|+ @types/readable-stream 4.0.18
0141|+ @types/sd-notify 2.8.2
0142|+ @types/serve-static 1.15.7
0143|+ @types/ws 8.5.14
0144|+ @vitest/coverage-v8 3.0.7
0145|+ eslint 9.21.0
0146|+ eslint-config-prettier 10.0.1
0147|+ prettier 3.5.2
0148|+ tmp 0.2.3
0149|+ typescript 5.7.3
0150|+ typescript-eslint 8.25.0
0151|+ vitest 3.0.7
0152|Done in 3.2s using pnpm v9.15.6
0153|> zigbee2mqtt@2.1.2 build /opt/zigbee2mqtt
0154|> tsc && node index.js writehash
0155|#######################################################
0156|##### Configure deamon and start it
0157|#######################################################
0158|# END #
0159|#######################################################