+ 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 + 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://urldefense.com/v3/__http://deb.debian.org/debian__;!!P3IToRM6tg!nuDP3T4fM9LlKPFBFUAhGgPjYjKxQoP8lZrjGGU7AjfO9oNbCZEFhv1eAC8-LEiQisGld6owAmP_mInDpvU5IdTmJMPUTtCISpw$ bullseye InRelease Hit:2 https://urldefense.com/v3/__http://deb.debian.org/debian-security__;!!P3IToRM6tg!nuDP3T4fM9LlKPFBFUAhGgPjYjKxQoP8lZrjGGU7AjfO9oNbCZEFhv1eAC8-LEiQisGld6owAmP_mInDpvU5IdTmJMPUjCGNfww$ bullseye-security InRelease Hit:3 https://urldefense.com/v3/__http://deb.debian.org/debian__;!!P3IToRM6tg!nuDP3T4fM9LlKPFBFUAhGgPjYjKxQoP8lZrjGGU7AjfO9oNbCZEFhv1eAC8-LEiQisGld6owAmP_mInDpvU5IdTmJMPUTtCISpw$ bullseye-updates InRelease Hit:4 https://urldefense.com/v3/__https://deb.nodesource.com/node_18.x__;!!P3IToRM6tg!nuDP3T4fM9LlKPFBFUAhGgPjYjKxQoP8lZrjGGU7AjfO9oNbCZEFhv1eAC8-LEiQisGld6owAmP_mInDpvU5IdTmJMPUSjHkGY8$ nodistro InRelease Reading package lists... Building dependency tree... Reading state information... All packages are up to date. + 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://urldefense.com/v3/__http://deb.debian.org/debian__;!!P3IToRM6tg!nuDP3T4fM9LlKPFBFUAhGgPjYjKxQoP8lZrjGGU7AjfO9oNbCZEFhv1eAC8-LEiQisGld6owAmP_mInDpvU5IdTmJMPUTtCISpw$ bullseye InRelease Hit:2 https://urldefense.com/v3/__http://deb.debian.org/debian-security__;!!P3IToRM6tg!nuDP3T4fM9LlKPFBFUAhGgPjYjKxQoP8lZrjGGU7AjfO9oNbCZEFhv1eAC8-LEiQisGld6owAmP_mInDpvU5IdTmJMPUjCGNfww$ bullseye-security InRelease Hit:3 https://urldefense.com/v3/__http://deb.debian.org/debian__;!!P3IToRM6tg!nuDP3T4fM9LlKPFBFUAhGgPjYjKxQoP8lZrjGGU7AjfO9oNbCZEFhv1eAC8-LEiQisGld6owAmP_mInDpvU5IdTmJMPUTtCISpw$ bullseye-updates InRelease Hit:4 https://urldefense.com/v3/__https://deb.nodesource.com/node_18.x__;!!P3IToRM6tg!nuDP3T4fM9LlKPFBFUAhGgPjYjKxQoP8lZrjGGU7AjfO9oNbCZEFhv1eAC8-LEiQisGld6owAmP_mInDpvU5IdTmJMPUSjHkGY8$ nodistro InRelease Reading package lists... 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). git is already the newest version (1:2.30.2-1+deb11u2). lsb-release is already the newest version (11.1.0). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. [Check Version NodeJS actuelle : v18.20.4 : [ OK ] [Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [ OK ] + 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... The following NEW packages will be installed: php-yaml 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 20.5 kB of archives. After this operation, 78.8 kB of additional disk space will be used. Get:1 https://urldefense.com/v3/__http://deb.debian.org/debian__;!!P3IToRM6tg!nuDP3T4fM9LlKPFBFUAhGgPjYjKxQoP8lZrjGGU7AjfO9oNbCZEFhv1eAC8-LEiQisGld6owAmP_mInDpvU5IdTmJMPUTtCISpw$ bullseye/main amd64 php-yaml amd64 2.2.1+2.1.0+2.0.4+1.3.2-2 [20.5 kB] debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype dpkg-preconfigure: unable to re-open stdin: Fetched 20.5 kB in 0s (492 kB/s) Selecting previously unselected package php-yaml. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 64589 files and directories currently installed.) Preparing to unpack .../php-yaml_2.2.1+2.1.0+2.0.4+1.3.2-2_amd64.deb ... Unpacking php-yaml (2.2.1+2.1.0+2.0.4+1.3.2-2) ... Setting up php-yaml (2.2.1+2.1.0+2.0.4+1.3.2-2) ... Processing triggers for libapache2-mod-php7.4 (7.4.33-1+deb11u5) ... Processing triggers for php7.4-cli (7.4.33-1+deb11u5) ... + 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://urldefense.com/v3/__https://github.com/Koenkk/zigbee2mqtt.git__;!!P3IToRM6tg!nuDP3T4fM9LlKPFBFUAhGgPjYjKxQoP8lZrjGGU7AjfO9oNbCZEFhv1eAC8-LEiQisGld6owAmP_mInDpvU5IdTmJMPULaRqWX4$ /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 ] + npm ci npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: 'minimatch@10.0.1', npm warn EBADENGINE required: { node: '20 || >=22' }, npm warn EBADENGINE current: { node: 'v18.20.4', npm: '10.7.0' } npm warn EBADENGINE } npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: 'jackspeak@4.0.1', npm warn EBADENGINE required: { node: '20 || >=22' }, npm warn EBADENGINE current: { node: 'v18.20.4', npm: '10.7.0' } npm warn EBADENGINE } npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: 'path-scurry@2.0.0', npm warn EBADENGINE required: { node: '20 || >=22' }, npm warn EBADENGINE current: { node: 'v18.20.4', npm: '10.7.0' } npm warn EBADENGINE } npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: 'lru-cache@11.0.0', npm warn EBADENGINE required: { node: '20 || >=22' }, npm warn EBADENGINE current: { node: 'v18.20.4', npm: '10.7.0' } npm warn EBADENGINE } npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: 'rimraf@6.0.1', npm warn EBADENGINE required: { node: '20 || >=22' }, npm warn EBADENGINE current: { node: 'v18.20.4', npm: '10.7.0' } npm warn EBADENGINE } npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: 'glob@11.0.0', npm warn EBADENGINE required: { node: '20 || >=22' }, npm warn EBADENGINE current: { node: 'v18.20.4', npm: '10.7.0' } npm warn EBADENGINE } npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: 'minimatch@10.0.1', npm warn EBADENGINE required: { node: '20 || >=22' }, npm warn EBADENGINE current: { node: 'v18.20.4', npm: '10.7.0' } npm warn EBADENGINE } 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 @humanwhocodes/config-array@0.11.14: Use @eslint/config-array instead npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead added 799 packages, and audited 800 packages in 12s 88 packages are looking for funding run `npm fund` for details 1 high severity vulnerability To address all issues, run: npm audit fix Run `npm audit` for details. + npm run build > zigbee2mqtt@1.39.1 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 + echo 10 + rm /tmp/jeedom_install_in_progress_z2m + echo '*******************End of package installation******************' *******************End of package installation******************