Bonjour, il ne me semble plus possible d’installer Mosquitto sur Buster.
Mosquitto-buster.list n’est plus disponible sur le repository de Mosquitto.
le soft serait toujours bien présent mais impossible d’utiliser APT.
L’installation de Zwavejs est ainsi impossible sur buster.
Suggestions ?
je voudrais retarder l’installation de Bulleyes …
merci d’avance de votre aide
1705923823: mosquitto version 1.6.11 starting
1705923823: Config loaded from /etc/mosquitto/mosquitto.conf.
1705923823: Opening ipv4 listen socket on port 1883.
1705923823: Opening ipv6 listen socket on port 1883.
1705923823: Opening ipv4 listen socket on port 8883.
1705923823: Opening ipv6 listen socket on port 8883.
1705923823: mosquitto version 1.6.11 running
Le voila le log complet mqtt2_packages.log. J’ai vraiment le souvenir qu’en tant que « debutant » j’ai eu un popup qui s’est ouvert pour me dire « pas plus de deux lignes », j’en ai meme eu peur ;->
+ 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
Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Hit:3 https://deb.nodesource.com/node_18.x nodistro InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
apt-utils is already the newest version (1.8.2.3).
build-essential is already the newest version (12.6).
git is already the newest version (1:2.20.1-2+deb10u8).
lsb-release is already the newest version (10.2019051400+rpi1).
The following packages were automatically installed and are no longer required:
libev4 libuv1 libwebsockets8
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[Check Version NodeJS actuelle : v18.19.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://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Hit:3 https://deb.nodesource.com/node_18.x nodistro InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
apt-utils is already the newest version (1.8.2.3).
build-essential is already the newest version (12.6).
git is already the newest version (1:2.20.1-2+deb10u8).
lsb-release is already the newest version (10.2019051400+rpi1).
The following packages were automatically installed and are no longer required:
libev4 libuv1 libwebsockets8
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[Check Version NodeJS actuelle : v18.19.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
added 115 packages, and audited 116 packages in 39s
18 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
npm notice
npm notice New minor version of npm available! 10.2.3 -> 10.3.0
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.3.0>
npm notice Run `npm install -g npm@10.3.0` 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.
E: Package 'mosquitto' has no installation candidate
Generating RSA private key, 2048 bit long modulus (2 primes)
................................................+++++
...................................................+++++
e is 65537 (0x010001)
Generating RSA private key, 2048 bit long modulus (2 primes)
..................................................................................................................................+++++
..........................................+++++
e is 65537 (0x010001)
Signature ok
subject=C = FR, ST = Paris, L = Paris, O = jeedom, CN = jeedom-mosquitto
Getting CA Private Key
sudo: mosquitto_passwd: command not found
Synchronizing state of mosquitto.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable mosquitto
Failed to enable unit: Unit file /etc/systemd/system/mosquitto.service is masked.
Failed to start mosquitto.service: Unit mosquitto.service is masked.
+ rm /tmp/jeedom_install_in_progress_mqtt2
+ echo '*******************End of package installation******************'
*******************End of package installation******************
*
*pi@raspberrypi**:**~ $** more /etc/apt/sources.list
#switch to buster release managment
deb http://raspbian.raspberrypi.org/raspbian/ buster contrib non-free rpi
#deb http://ftp.fr.debian.org/debian buster main
#deb http://archive.raspbian.org/raspbian/ buster main contrib non-free rpi
#deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
j’ai avancé un peu en installant à la main. j’ai un debut de com entre le demon et mon Mosquito mais un peu court… un probleme d’authorization…
Mosquito Log :
2024-01-22T15:51:07: mosquitto version 1.6.11 starting
2024-01-22T15:51:07: Config loaded from /etc/mosquitto/mosquitto.conf.
2024-01-22T15:51:07: Opening ipv4 listen socket on port 1883.
2024-01-22T15:51:07: Opening ipv6 listen socket on port 1883.
2024-01-22T15:51:07: Opening ipv4 listen socket on port 8883.
2024-01-22T15:51:07: Opening ipv6 listen socket on port 8883.
2024-01-22T15:51:07: mosquitto version 1.6.11 running
2024-01-22T15:51:40: New connection from 127.0.0.1 on port 8883.
2024-01-22T15:51:40: Sending CONNACK to 127.0.0.1 (0, 5)
2024-01-22T15:51:40: Socket error on client <unknown>, disconnecting.
J’ai fait deja tout cela,
je pense réellement que Mosquitto est sorti de la distribution pour éviter devoir maintenir sur cette version.
J’étais resté en buster car le plug-in rfxcom est la pricipale raison de cette jeedom . Je ne sais si il est compatible bulleyes… voilà voilà…