+ echo '*******************Begin of package installation******************' *******************Begin of package installation****************** + touch /tmp/jeedom_install_in_progress_z2m + echo 1 + echo 2 + sudo chmod +x /var/www/html/core/class/../../plugins/z2m/resources/pre-install.sh + sudo /var/www/html/core/class/../../plugins/z2m/resources/pre-install.sh Launch pre-install of z2m dependancy + echo 3 + php /var/www/html/core/class/../php/jeecli.php plugin install mqtt2 + echo 4 + sudo killall apt apt-get unattended-upgr apt: no process found apt-get: no process found unattended-upgr: no process found + sudo rm /var/lib/apt/lists/lock + sudo rm /var/cache/apt/archives/lock + sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend + sudo sudo dpkg --configure -a --force-confdef + sudo apt update WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Hit:1 https://deb.debian.org/debian bullseye InRelease Hit:2 https://deb.debian.org/debian-security bullseye-security InRelease Hit:3 https://deb.debian.org/debian bullseye-updates InRelease Ign:4 https://deb.debian.org/debian bullseye-backports InRelease Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease Err:6 https://deb.debian.org/debian bullseye-backports Release 404 Not Found [IP: 199.232.82.132 443] Reading package lists... E: The repository 'https://deb.debian.org/debian bullseye-backports Release' no longer has a Release file. + echo 5 + sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh + sudo /var/www/html/core/class/../../resources/install_nodejs.sh Hit:1 https://deb.debian.org/debian bullseye InRelease Hit:2 https://deb.debian.org/debian-security bullseye-security InRelease Hit:3 https://deb.debian.org/debian bullseye-updates InRelease Ign:4 https://deb.debian.org/debian bullseye-backports InRelease Err:5 https://deb.debian.org/debian bullseye-backports Release 404 Not Found [IP: 199.232.82.132 443] Hit:6 https://deb.nodesource.com/node_20.x nodistro InRelease Reading package lists... E: The repository 'https://deb.debian.org/debian bullseye-backports Release' no longer has a Release file. Reading package lists... Building dependency tree... Reading state information... apt-utils is already the newest version (2.2.4). build-essential is already the newest version (12.9). lsb-release is already the newest version (11.1.0). git is already the newest version (1:2.30.2-1+deb11u4). 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. [Check Version NodeJS actuelle : v20.18.1 : [ OK ] [Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [ OK ] Clean npm cache npm warn using --force Recommended protections disabled. + echo 6 + sudo apt install -o Dpkg::Options::=--force-confdef -y php-yaml WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... php-yaml is already the newest version (2.2.1+2.1.0+2.0.4+1.3.2-2). 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. + echo 7 + sudo systemctl restart apache2 + echo 8 + sudo chmod +x /var/www/html/core/class/../../plugins/z2m/resources/post-install.sh + sudo /var/www/html/core/class/../../plugins/z2m/resources/post-install.sh + echo Launch post-install of z2m dependancy Launch post-install of z2m dependancy + realpath /var/www/html/core/class/../../plugins/z2m/resources/post-install.sh + dirname /var/www/html/plugins/z2m/resources/post-install.sh + BASEDIR=/var/www/html/plugins/z2m/resources + [ -d /var/www/html/plugins/z2m/resources/zigbee2mqtt ] + rm -rf /var/www/html/plugins/z2m/resources/zigbee2mqtt + mkdir /var/www/html/plugins/z2m/resources/zigbee2mqtt + git clone --depth 1 https://github.com/Koenkk/zigbee2mqtt.git /var/www/html/plugins/z2m/resources/zigbee2mqtt Cloning into '/var/www/html/plugins/z2m/resources/zigbee2mqtt'... + cd /var/www/html/plugins/z2m/resources/zigbee2mqtt + [ -f /var/www/html/plugins/z2m/resources/../data/wanted_z2m_version ] + cat /var/www/html/plugins/z2m/resources/../data/wanted_z2m_version + wanted_z2m_version=1.42.0 + [ -n 1.42.0 ] + echo Need version : 1.42.0 Need version : 1.42.0 + git fetch --all --tags Fetching origin From https://github.com/Koenkk/zigbee2mqtt * [new tag] 0.1.0 -> 0.1.0 * [new tag] 0.1.1 -> 0.1.1 * [new tag] 0.1.2 -> 0.1.2 * [new tag] 0.1.3 -> 0.1.3 * [new tag] 0.1.4 -> 0.1.4 * [new tag] 0.1.5 -> 0.1.5 * [new tag] 0.1.6 -> 0.1.6 * [new tag] 0.1.7 -> 0.1.7 * [new tag] 0.1.8 -> 0.1.8 * [new tag] 0.2.0 -> 0.2.0 * [new tag] 1.0.0 -> 1.0.0 * [new tag] 1.0.1 -> 1.0.1 * [new tag] 1.1.0 -> 1.1.0 * [new tag] 1.1.1 -> 1.1.1 * [new tag] 1.10.0 -> 1.10.0 * [new tag] 1.11.0 -> 1.11.0 * [new tag] 1.12.0 -> 1.12.0 * [new tag] 1.12.1 -> 1.12.1 * [new tag] 1.12.2 -> 1.12.2 * [new tag] 1.13.0 -> 1.13.0 * [new tag] 1.13.1 -> 1.13.1 * [new tag] 1.14.0 -> 1.14.0 * [new tag] 1.14.1 -> 1.14.1 * [new tag] 1.14.2 -> 1.14.2 * [new tag] 1.14.3 -> 1.14.3 * [new tag] 1.14.4 -> 1.14.4 * [new tag] 1.15.0 -> 1.15.0 * [new tag] 1.16.0 -> 1.16.0 * [new tag] 1.16.1 -> 1.16.1 * [new tag] 1.16.2 -> 1.16.2 * [new tag] 1.17.0 -> 1.17.0 * [new tag] 1.17.1 -> 1.17.1 * [new tag] 1.18.0 -> 1.18.0 * [new tag] 1.18.1 -> 1.18.1 * [new tag] 1.18.2 -> 1.18.2 * [new tag] 1.18.3 -> 1.18.3 * [new tag] 1.19.0 -> 1.19.0 * [new tag] 1.19.1 -> 1.19.1 * [new tag] 1.2.0 -> 1.2.0 * [new tag] 1.2.1 -> 1.2.1 * [new tag] 1.20.0 -> 1.20.0 * [new tag] 1.21.0 -> 1.21.0 * [new tag] 1.21.1 -> 1.21.1 * [new tag] 1.21.2 -> 1.21.2 * [new tag] 1.22.0 -> 1.22.0 * [new tag] 1.22.1 -> 1.22.1 * [new tag] 1.22.2 -> 1.22.2 * [new tag] 1.23.0 -> 1.23.0 * [new tag] 1.24.0 -> 1.24.0 * [new tag] 1.25.0 -> 1.25.0 * [new tag] 1.25.1 -> 1.25.1 * [new tag] 1.25.2 -> 1.25.2 * [new tag] 1.26.0 -> 1.26.0 * [new tag] 1.27.0 -> 1.27.0 * [new tag] 1.27.1 -> 1.27.1 * [new tag] 1.27.2 -> 1.27.2 * [new tag] 1.28.0 -> 1.28.0 * [new tag] 1.28.1 -> 1.28.1 * [new tag] 1.28.2 -> 1.28.2 * [new tag] 1.28.3 -> 1.28.3 * [new tag] 1.28.4 -> 1.28.4 * [new tag] 1.29.0 -> 1.29.0 * [new tag] 1.29.1 -> 1.29.1 * [new tag] 1.29.2 -> 1.29.2 * [new tag] 1.3.0 -> 1.3.0 * [new tag] 1.3.1 -> 1.3.1 * [new tag] 1.30.0 -> 1.30.0 * [new tag] 1.30.1 -> 1.30.1 * [new tag] 1.30.2 -> 1.30.2 * [new tag] 1.30.3 -> 1.30.3 * [new tag] 1.30.4 -> 1.30.4 * [new tag] 1.31.0 -> 1.31.0 * [new tag] 1.31.1 -> 1.31.1 * [new tag] 1.31.2 -> 1.31.2 * [new tag] 1.32.0 -> 1.32.0 * [new tag] 1.32.1 -> 1.32.1 * [new tag] 1.32.2 -> 1.32.2 * [new tag] 1.33.0 -> 1.33.0 * [new tag] 1.33.1 -> 1.33.1 * [new tag] 1.33.2 -> 1.33.2 * [new tag] 1.34.0 -> 1.34.0 * [new tag] 1.35.0 -> 1.35.0 * [new tag] 1.35.1 -> 1.35.1 * [new tag] 1.35.2 -> 1.35.2 * [new tag] 1.35.3 -> 1.35.3 * [new tag] 1.36.0 -> 1.36.0 * [new tag] 1.36.1 -> 1.36.1 * [new tag] 1.37.0 -> 1.37.0 * [new tag] 1.37.1 -> 1.37.1 * [new tag] 1.38.0 -> 1.38.0 * [new tag] 1.39.0 -> 1.39.0 * [new tag] 1.39.1 -> 1.39.1 * [new tag] 1.4.0 -> 1.4.0 * [new tag] 1.40.0 -> 1.40.0 * [new tag] 1.40.1 -> 1.40.1 * [new tag] 1.40.2 -> 1.40.2 * [new tag] 1.41.0 -> 1.41.0 * [new tag] 1.42.0 -> 1.42.0 * [new tag] 1.5.0 -> 1.5.0 * [new tag] 1.5.1 -> 1.5.1 * [new tag] 1.6.0 -> 1.6.0 * [new tag] 1.7.0 -> 1.7.0 * [new tag] 1.7.1 -> 1.7.1 * [new tag] 1.8.0 -> 1.8.0 * [new tag] 1.9.0 -> 1.9.0 * [new tag] 2.0.0 -> 2.0.0 * [new tag] 2.1.0 -> 2.1.0 * [new tag] 2.1.1 -> 2.1.1 * [new tag] 2.1.2 -> 2.1.2 * [new tag] 2.1.3 -> 2.1.3 * [new tag] 2.2.0 -> 2.2.0 * [new tag] 2.2.1 -> 2.2.1 * [new tag] 2.3.0 -> 2.3.0 * [new tag] 2.4.0 -> 2.4.0 * [new tag] 2.5.0 -> 2.5.0 * [new tag] 2.5.1 -> 2.5.1 + git checkout tags/1.42.0 Note: switching to 'tags/1.42.0'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 861cba63 chore(dev): release 1.42.0 (#24569) + [ -n 1.42.0 ] + echo 1.42.0 + head -c 1 + [ 1 -lt 2 ] + npm ci npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported added 646 packages, and audited 647 packages in 2m 90 packages are looking for funding run `npm fund` for details 7 vulnerabilities (3 low, 2 moderate, 1 high, 1 critical) To address all issues, run: npm audit fix Run `npm audit` for details. + npm run build > zigbee2mqtt@1.42.0 build > tsc && node index.js writehash + chown www-data:www-data -R /var/www/html/plugins/z2m/resources/zigbee2mqtt + echo 9 + php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end z2m rm: invalid option -- '/' Try 'rm --help' for more information. + echo 10 + rm /tmp/jeedom_install_in_progress_z2m + echo '*******************End of package installation******************' *******************End of package installation******************