+ echo '*******************Begin of package installation******************' *******************Begin of package installation****************** + touch /tmp/jeedom_install_in_progress_mqtt2 + echo 1 + echo 2 + sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh + sudo /var/www/html/core/class/../../resources/install_nodejs.sh Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB] Get:2 https://deb.nodesource.com/node_16.x bullseye InRelease [4586 B] Get:3 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB] Get:4 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB] Get:5 http://deb.debian.org/debian bullseye/non-free amd64 Packages [97.8 kB] Get:6 http://deb.debian.org/debian bullseye/main amd64 Packages [8183 kB] Get:7 https://deb.nodesource.com/node_16.x bullseye/main amd64 Packages [776 B] Get:8 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [245 kB] Get:9 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [14.8 kB] Fetched 8754 kB in 2s (4178 kB/s) 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 : v16.20.0 : [ OK ] [Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [ OK ] + echo 3 + sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh + sudo /var/www/html/core/class/../../resources/install_nodejs.sh Hit:1 http://deb.debian.org/debian bullseye InRelease Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease Hit:3 https://deb.nodesource.com/node_16.x bullseye InRelease Hit:4 http://deb.debian.org/debian bullseye-updates 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 : v16.20.0 : [ OK ] [Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [ OK ] + echo 4 + cd /var/www/html/core/class/../../plugins/mqtt2/resources/mqtt2d + rm -rf node_modules + sudo npm install npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 added 148 packages, and audited 149 packages in 9s 15 packages are looking for funding run `npm fund` for details 1 moderate severity vulnerability Some issues need review, and may require choosing a different dependency. Run `npm audit` for details. npm notice npm notice New major version of npm available! 8.19.4 -> 9.6.7 npm notice Changelog: npm notice Run `npm install -g npm@9.6.7` to update! npm notice + chown -R www-data:www-data jeedom mqtt2d.js node_modules package-lock.json package.json + echo 5 + php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end mqtt2 WARNING: apt does not have a stable CLI interface. Use with caution in scripts. WARNING: apt does not have a stable CLI interface. Use with caution in scripts. 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: System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down Synchronizing state of mosquitto.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable mosquitto System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down + rm /tmp/jeedom_install_in_progress_mqtt2 + echo '*******************End of package installation******************' *******************End of package installation******************