Mosquitto ne démarre plus

Bonjour,

Compétences niveau papy
Smart 4.321
MQTT version: 2023-10-27

Suite au changement de mémoire sur ma smart et réinstallation de ma sauvegarde, MQTT manager ne redémarre plus, il me demande d’installer Mosquitto ce que j’ai fait plusieurs fois mais MQTT manager de demande toujours d’installer mosquitto?

+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_mqtt2
+ echo 1
+ echo 2
+ sudo apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
+ echo 3
+ sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh
+ sudo /var/www/html/core/class/../../resources/install_nodejs.sh
Vérification si la source deb-multimedia existe (bug lors du apt-get update si c'est le cas)
deb-multimedia existe !
mais on l'a déjà désactivé...
Reading package lists...
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
[Check Version NodeJS actuelle : Aucune : [  KO  ]
Installation de NodeJS 18
Utilisation du dépot officiel
deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
Reading package lists...
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
E: Problem renaming the file /var/cache/apt/srcpkgcache.bin.sACb2P to /var/cache/apt/srcpkgcache.bin - rename (2: No such file or directory)
W: You may want to run apt-get update to correct these problems
E: The package cache file is corrupted
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
/var/www/html/core/class/../../resources/install_nodejs.sh: line 150: nodejs: command not found
[Check Version NodeJS après install :  : [  KO  ] -> relancez les dépendances
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
sudo: npm: command not found
Réactivation de la source deb-multimedia qu'on avait désactivé !
+ echo 4
+ sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh
+ sudo /var/www/html/core/class/../../resources/install_nodejs.sh
Vérification si la source deb-multimedia existe (bug lors du apt-get update si c'est le cas)
deb-multimedia existe !
Désactivation de la source deb-multimedia !
Get:1 http://security.debian.org/debian-security buster/updates InRelease [34.8 kB]
Get:2 http://ftp.uk.debian.org/debian buster InRelease [122 kB]
Get:3 http://ftp.uk.debian.org/debian buster-updates InRelease [56.6 kB]
Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
Ign:5 https://oph.mdrjr.net/meveric all InRelease
Ign:6 https://oph.mdrjr.net/meveric buster InRelease
Err:7 https://oph.mdrjr.net/meveric all Release
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 216.155.132.189 443]
Err:8 https://oph.mdrjr.net/meveric buster Release
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 216.155.132.189 443]
Reading package lists...
E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldoldstable'
E: Repository 'http://ftp.uk.debian.org/debian buster InRelease' changed its 'Suite' value from 'stable' to 'oldoldstable'
E: Repository 'http://ftp.uk.debian.org/debian buster-updates InRelease' changed its 'Suite' value from 'stable-updates' to 'oldoldstable-updates'
E: The repository 'https://oph.mdrjr.net/meveric all Release' no longer has a Release file.
E: The repository 'https://oph.mdrjr.net/meveric buster Release' no longer has a Release file.
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
[Check Version NodeJS actuelle : Aucune : [  KO  ]
Installation de NodeJS 18
Utilisation du dépot officiel
deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
Get:1 http://security.debian.org/debian-security buster/updates InRelease [34.8 kB]
Get:2 http://ftp.uk.debian.org/debian buster InRelease [122 kB]
Get:3 http://ftp.uk.debian.org/debian buster-updates InRelease [56.6 kB]
Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
Ign:5 https://oph.mdrjr.net/meveric all InRelease
Ign:6 https://oph.mdrjr.net/meveric buster InRelease
Err:7 https://oph.mdrjr.net/meveric all Release
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 216.155.132.189 443]
Err:8 https://oph.mdrjr.net/meveric buster Release
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 216.155.132.189 443]
Reading package lists...
E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldoldstable'
E: The repository 'https://oph.mdrjr.net/meveric all Release' no longer has a Release file.
E: Repository 'http://ftp.uk.debian.org/debian buster InRelease' changed its 'Suite' value from 'stable' to 'oldoldstable'
E: The repository 'https://oph.mdrjr.net/meveric buster Release' no longer has a Release file.
E: Repository 'http://ftp.uk.debian.org/debian buster-updates InRelease' changed its 'Suite' value from 'stable-updates' to 'oldoldstable-updates'
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
/var/www/html/core/class/../../resources/install_nodejs.sh: line 150: nodejs: command not found
[Check Version NodeJS après install :  : [  KO  ] -> relancez les dépendances
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
sudo: npm: command not found
Réactivation de la source deb-multimedia qu'on avait désactivé !
+ echo 5
+ sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh
+ sudo /var/www/html/core/class/../../resources/install_nodejs.sh
Vérification si la source deb-multimedia existe (bug lors du apt-get update si c'est le cas)
deb-multimedia existe !
Désactivation de la source deb-multimedia !
Reading package lists...
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
[Check Version NodeJS actuelle : Aucune : [  KO  ]
Installation de NodeJS 18
Utilisation du dépot officiel
deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
Get:1 http://security.debian.org/debian-security buster/updates InRelease [34.8 kB]
Get:2 http://ftp.uk.debian.org/debian buster InRelease [122 kB]
Get:3 http://ftp.uk.debian.org/debian buster-updates InRelease [56.6 kB]
Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
Ign:5 https://oph.mdrjr.net/meveric all InRelease
Ign:6 https://oph.mdrjr.net/meveric buster InRelease
Err:7 https://oph.mdrjr.net/meveric all Release
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 216.155.132.189 443]
Err:8 https://oph.mdrjr.net/meveric buster Release
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 216.155.132.189 443]
Reading package lists...
E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldoldstable'
E: The repository 'https://oph.mdrjr.net/meveric all Release' no longer has a Release file.
E: The repository 'https://oph.mdrjr.net/meveric buster Release' no longer has a Release file.
E: Repository 'http://ftp.uk.debian.org/debian buster InRelease' changed its 'Suite' value from 'stable' to 'oldoldstable'
E: Repository 'http://ftp.uk.debian.org/debian buster-updates InRelease' changed its 'Suite' value from 'stable-updates' to 'oldoldstable-updates'
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
nodejs
0 upgraded, 1 newly installed, 0 to remove and 62 not upgraded.
Need to get 29.0 MB of archives.
After this operation, 189 MB of additional disk space will be used.
Get:1 https://deb.nodesource.com/node_18.x nodistro/main arm64 nodejs arm64 18.19.0-1nodesource1 [29.0 MB]
Fetched 29.0 MB in 4s (7,586 kB/s)
Selecting previously unselected package nodejs.
(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 ... 75401 files and directories currently installed.)
Preparing to unpack .../nodejs_18.19.0-1nodesource1_arm64.deb ...
Unpacking nodejs (18.19.0-1nodesource1) ...
Setting up nodejs (18.19.0-1nodesource1) ...
[Check Version NodeJS après install : v18.19.0 : [  OK  ]
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [  OK  ]
+ echo 6
+ cd /var/www/html/core/class/../../plugins/mqtt2/resources/mqtt2d
+ rm -rf node_modules
+ sudo npm install
added 110 packages, and audited 111 packages in 12s
13 packages are looking for funding
run `npm fund` for details
1 moderate severity vulnerability
To address all issues, run:
npm audit fix
Run `npm audit` for details.
npm notice
npm notice New patch version of npm available! 10.2.3 -> 10.2.5
npm notice Changelog: 
npm notice Run `npm install -g npm@10.2.5` to update!
npm notice
+ chown -R www-data:www-data jeedom mqtt2d.js node_modules package.json package-lock.json
+ echo 7
+ 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.
E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldoldstable'
E: Repository 'http://ftp.uk.debian.org/debian buster InRelease' changed its 'Suite' value from 'stable' to 'oldoldstable'
E: The repository 'https://oph.mdrjr.net/meveric all Release' no longer has a Release file.
E: The repository 'https://oph.mdrjr.net/meveric buster Release' no longer has a Release file.
E: Repository 'http://www.deb-multimedia.org buster InRelease' changed its 'Suite' value from 'stable' to 'oldoldstable'
E: Repository 'http://ftp.uk.debian.org/debian buster-updates InRelease' changed its 'Suite' value from 'stable-updates' to 'oldoldstable-updates'
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
E: Failed to fetch http://ftp.uk.debian.org/debian/pool/main/libu/libuv1/libuv1_1.24.1-1_arm64.deb  404  Not Found [IP: 2001:1b40:5600:ff80:f8ee::1 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
sudo: mosquitto_passwd: command not found
Created symlink /etc/systemd/system/multi-user.target.wants/mosquitto.service → /lib/systemd/system/mosquitto.service.
Job for mosquitto.service failed because the control process exited with error code.
See "systemctl status mosquitto.service" and "journalctl -xe" for details.
+ rm /tmp/jeedom_install_in_progress_mqtt2
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Merci d’avance de votre aide
Jean-Luc

bonjour
j’ai eu le meme pb suite a changement de mon EMMC
dépanné grace au lien suivant

Merci après quelque bidouilles risquées vu mon niveau de compétences ça refonctionne

je n’avais juste pas recherché avec les bons mots clés :smirk:

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.