Bonjour,
Idem de mon coté pour l’installation de la version 2.1.2 sur un jeedom 4.4.19 en debian 11.11
Comment fait on repasser en 2.1.1 sans tout réinstaller ?
Merci de votre aide.
Mathieu
Log de l installation des dépendances :
[2025-03-02 09:35:25] INFO : ##### Synchronisation du temps avant l'installation des dépendances...
[2025-03-02 09:35:33] INFO : ##### Synchronisation du temps terminée, lancement des dépendances.
#######################################################
# INSTALL : Zigbee2mqtt #
#######################################################
#######################################################
##### apt-get update in progress
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
Hit:4 https://deb.nodesource.com/node_20.x nodistro InRelease
Reading package lists...
#######################################################
##### 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).
make is already the newest version (4.3-4.1).
git is already the newest version (1:2.30.2-1+deb11u4).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
#######################################################
##### Install or update NodeJs
NodeJs 20 already installed : Nothing to do !
pnpm install version 9.15.6
changed 1 package in 1s
1 package is looking for funding
run `npm fund` for details
#######################################################
# INSTALLING : Mosquitto for Php #
#######################################################
Mosquitto for Php is already installed, nothing to do
##### Z2M BRANCH version to install : master
#######################################################
##### 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 #
## Supprime l'installation dans /opt/zigbee2mqtt
#######################################################
##### Complete installation : Download Zigbee2mqtt git
Cloning into '/opt/zigbee2mqtt'...
#######################################################
##### Install/Update Zigbee2mqtt
Lockfile is up to date, resolution step is skipped
Progress: resolved 1, reused 0, downloaded 0, added 0
Packages: +363
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 363, reused 363, downloaded 0, added 51
Progress: resolved 363, reused 363, downloaded 0, added 363, done
.../node_modules/sd-notify install$ node-gyp rebuild
.../node_modules/sd-notify install: gyp info it worked if it ends with ok
.../node_modules/sd-notify install: gyp info using node-gyp@10.2.0
.../node_modules/sd-notify install: gyp info using node@20.18.3 | linux | x64
.../node_modules/sd-notify install: gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
.../node_modules/sd-notify install: gyp http GET https://nodejs.org/download/release/v20.18.3/node-v20.18.3-headers.tar.gz
.../node_modules/sd-notify install: gyp http 200 https://nodejs.org/download/release/v20.18.3/node-v20.18.3-headers.tar.gz
.../node_modules/sd-notify install: gyp http GET https://nodejs.org/download/release/v20.18.3/SHASUMS256.txt
.../node_modules/sd-notify install: gyp http 200 https://nodejs.org/download/release/v20.18.3/SHASUMS256.txt
.../node_modules/sd-notify install: gyp info spawn /usr/bin/python3
.../node_modules/sd-notify install: gyp info spawn args [
.../node_modules/sd-notify install: gyp info spawn args '/usr/lib/node_modules/pnpm/dist/node_modules/node-gyp/gyp/gyp_main.py',
.../node_modules/sd-notify install: gyp info spawn args 'binding.gyp',
.../node_modules/sd-notify install: gyp info spawn args '-f',
.../node_modules/sd-notify install: gyp info spawn args 'make',
.../node_modules/sd-notify install: gyp info spawn args '-I',
.../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',
.../node_modules/sd-notify install: gyp info spawn args '-I',
.../node_modules/sd-notify install: gyp info spawn args '/usr/lib/node_modules/pnpm/dist/node_modules/node-gyp/addon.gypi',
.../node_modules/sd-notify install: gyp info spawn args '-I',
.../node_modules/sd-notify install: gyp info spawn args '/root/.cache/node-gyp/20.18.3/include/node/common.gypi',
.../node_modules/sd-notify install: gyp info spawn args '-Dlibrary=shared_library',
.../node_modules/sd-notify install: gyp info spawn args '-Dvisibility=default',
.../node_modules/sd-notify install: gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/20.18.3',
.../node_modules/sd-notify install: gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/pnpm/dist/node_modules/node-gyp',
.../node_modules/sd-notify install: gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/20.18.3/<(target_arch)/node.lib',
.../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',
.../node_modules/sd-notify install: gyp info spawn args '-Dnode_engine=v8',
.../node_modules/sd-notify install: gyp info spawn args '--depth=.',
.../node_modules/sd-notify install: gyp info spawn args '--no-parallel',
.../node_modules/sd-notify install: gyp info spawn args '--generator-output',
.../node_modules/sd-notify install: gyp info spawn args 'build',
.../node_modules/sd-notify install: gyp info spawn args '-Goutput_dir=.'
.../node_modules/sd-notify install: gyp info spawn args ]
.../node_modules/sd-notify install: gyp info spawn make
.../node_modules/sd-notify install: gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
.../node_modules/sd-notify install: make: Entering directory '/opt/zigbee2mqtt/node_modules/.pnpm/sd-notify@2.8.0/node_modules/sd-notify/build'
.../node_modules/sd-notify install: CXX(target) Release/obj.target/notify/notify.o
.../node_modules/sd-notify install: ../notify.cc:5:10: fatal error: systemd/sd-daemon.h: No such file or directory
.../node_modules/sd-notify install: 5 | #include <systemd/sd-daemon.h>
.../node_modules/sd-notify install: | ^~~~~~~~~~~~~~~~~~~~~
.../node_modules/sd-notify install: compilation terminated.
.../node_modules/sd-notify install: make: *** [notify.target.mk:106: Release/obj.target/notify/notify.o] Error 1
.../node_modules/sd-notify install: make: Leaving directory '/opt/zigbee2mqtt/node_modules/.pnpm/sd-notify@2.8.0/node_modules/sd-notify/build'
.../node_modules/sd-notify install: gyp ERR! build error
.../node_modules/sd-notify install: gyp ERR! stack Error: `make` failed with exit code: 2
.../node_modules/sd-notify install: gyp ERR! stack at ChildProcess.<anonymous> (/usr/lib/node_modules/pnpm/dist/node_modules/node-gyp/lib/build.js:216:23)
.../node_modules/sd-notify install: gyp ERR! System Linux 5.10.0-27-amd64
.../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"
.../node_modules/sd-notify install: gyp ERR! cwd /opt/zigbee2mqtt/node_modules/.pnpm/sd-notify@2.8.0/node_modules/sd-notify
.../node_modules/sd-notify install: gyp ERR! node -v v20.18.3
.../node_modules/sd-notify install: gyp ERR! node-gyp -v v10.2.0
.../node_modules/sd-notify install: gyp ERR! not ok
.../node_modules/sd-notify install: Failed
dependencies:
+ ajv 8.17.1
+ bind-decorator 1.0.11
+ debounce 2.2.0
+ express-static-gzip 2.2.0
+ fast-deep-equal 3.1.3
+ finalhandler 1.3.1
+ git-last-commit 1.0.1
+ humanize-duration 3.32.1
+ js-yaml 4.1.0
+ json-stable-stringify-without-jsonify 1.0.1
+ jszip 3.10.1
+ moment 2.30.1
+ mqtt 5.10.3
+ object-assign-deep 0.4.0
+ rimraf 6.0.1
+ semver 7.7.1
+ 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.1
+ zigbee-herdsman 3.2.7
+ zigbee-herdsman-converters 23.2.0
+ zigbee2mqtt-frontend 0.9.4
optionalDependencies:
+ sd-notify 2.8.0
devDependencies:
+ @eslint/core 0.12.0
+ @eslint/js 9.21.0
+ @ianvs/prettier-plugin-sort-imports 4.4.1
+ @types/finalhandler 1.2.3
+ @types/humanize-duration 3.27.4
+ @types/js-yaml 4.0.9
+ @types/node 22.13.5
+ @types/object-assign-deep 0.4.3
+ @types/readable-stream 4.0.18
+ @types/sd-notify 2.8.2
+ @types/serve-static 1.15.7
+ @types/ws 8.5.14
+ @vitest/coverage-v8 3.0.7
+ eslint 9.21.0
+ eslint-config-prettier 10.0.1
+ prettier 3.5.2
+ tmp 0.2.3
+ typescript 5.7.3
+ typescript-eslint 8.25.0
+ vitest 3.0.7
Done in 4.9s using pnpm v9.15.6
zigbee2mqtt@2.1.3 build /opt/zigbee2mqtt
tsc && node index.js writehash
>#######################################################
>##### Configure deamon and start it
#######################################################
# END #
#######################################################