+ 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 + 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 +++ dirname /var/www/html/core/class/../../plugins/z2m/resources/post-install.sh ++ cd /var/www/html/core/class/../../plugins/z2m/resources ++ pwd + BASEDIR=/var/www/html/plugins/z2m/resources + '[' -d /var/www/html/plugins/z2m/resources/zigbee2mqtt ']' + cd /var/www/html/plugins/z2m/resources/zigbee2mqtt + echo 'Backup configuration' Backup configuration + cp -R data data-backup + echo 'Update z2m (git)' Update z2m (git) + git config --global --add safe.directory /var/www/html/plugins/z2m/resources/zigbee2mqtt + git reset --hard HEAD HEAD is now at 21f5125 chore: release 1.31.2 + git pull Already up to date. + npm ci added 795 packages, and audited 796 packages in 42s 82 packages are looking for funding run `npm fund` for details 48 moderate severity vulnerabilities To address issues that do not require attention, run: npm audit fix To address all issues possible (including breaking changes), run: npm audit fix --force Some issues need review, and may require choosing a different dependency. Run `npm audit` for details. + npm run build > zigbee2mqtt@1.31.2 build > tsc && node index.js writehash + echo 'Restore configuration' Restore configuration + cp -R data-backup/configuration.yaml data + rm -rf data-backup + chown www-data:www-data -R /var/www/html/plugins/z2m/resources/zigbee2mqtt + echo 4 + php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end z2m + rm /tmp/jeedom_install_in_progress_z2m + echo '*******************End of package installation******************' *******************End of package installation******************