Bonjour,
Venant d’acquérir un WORX LANDROID M500 WR141E, ce plugin m’intéresse beaucoup.
Comme d’autres personnes dans cette discussion, je ne parviens pas à le faire fonctionner.
Impossible d’installer les dépendances :
[2021-05-27 00:30:23][ERROR] : Erreur sur worxLandroidS::daemon() : Class 'Mosquitto\Client' not found
[2021-05-27 00:35:14][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
Le plugin ne s’affiche pas dans ma page d’accueil et pas de remonté d’info!
J’ai testé :
désinstallation + réinstallation => KO
Refresh Value => KO
Supprimer l’équipement => KO
Configuration :
Jeedom V 4.1.22
VM sur NAS Synology sous Debian 10
WORX LANDROID M500 WR141E
Début d'installation des dépendances
Reading package lists...
Building dependency tree...
Reading state information...
lsb-release is already the newest version (10.2019051400).
php-pear is already the newest version (1:1.10.6+submodules+notgz-1.1+deb10u2).
The following packages were automatically installed and are no longer required:
libgnutls-dane0 libjsoncpp1 libunbound8 linux-image-4.19.0-10-amd64
linux-image-4.19.0-12-amd64 python-bcrypt python-blinker python-fasteners
python-jwt python-lockfile python-monotonic python-nacl python-oauthlib
python-paramiko python-pexpect python-ptyprocess python-pyasn1
Use 'sudo apt autoremove' to remove them.
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
0 upgraded, 0 newly installed, 0 to remove and 43 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up grub-pc (2.02+dfsg1-20+deb10u4) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package grub-pc (--configure):
installed grub-pc package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)
--2021-05-27 15:50:15-- http://repo.mosquitto.org/debian/mosquitto-repo.gpg.key
Resolving repo.mosquitto.org (repo.mosquitto.org)... xxxxxxx, xxx.xxx.xxx.xxx.
Connecting to repo.mosquitto.org (repo.mosquitto.org)|xxxxxxx|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3167 (3.1K) [application/octet-stream]
Saving to: 'mosquitto-repo.gpg.key.3'
0K ... 100% 107M=0s
2021-05-27 15:50:15 (107 MB/s) - 'mosquitto-repo.gpg.key.3' saved [3167/3167]
Warning: apt-key output should not be parsed (stdout is not a terminal)
OK
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Hit:4 http://phoscon.de/apt/deconz buster InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
libmosquitto-dev is already the newest version (1.5.7-1+deb10u1).
mosquitto is already the newest version (1.5.7-1+deb10u1).
mosquitto-clients is already the newest version (1.5.7-1+deb10u1).
The following packages were automatically installed and are no longer required:
libgnutls-dane0 libjsoncpp1 libunbound8 linux-image-4.19.0-10-amd64
linux-image-4.19.0-12-amd64 python-bcrypt python-blinker python-fasteners
python-jwt python-lockfile python-monotonic python-nacl python-oauthlib
python-paramiko python-pexpect python-ptyprocess python-pyasn1
Use 'sudo apt autoremove' to remove them.
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
0 upgraded, 0 newly installed, 0 to remove and 43 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up grub-pc (2.02+dfsg1-20+deb10u4) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package grub-pc (--configure):
installed grub-pc package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)
PHP Warning: PHP Startup: Unable to load dynamic library 'mosquitto.so' (tried: /usr/lib/php/20180731/mosquitto.so (/usr/lib/php/20180731/mosquitto.so: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/mosquitto.so.so (/usr/lib/php/20180731/mosquitto.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Reading package lists...
Building dependency tree...
Reading state information...
php7.3-dev is already the newest version (7.3.27-1~deb10u1).
The following packages were automatically installed and are no longer required:
libgnutls-dane0 libjsoncpp1 libunbound8 linux-image-4.19.0-10-amd64
linux-image-4.19.0-12-amd64 python-bcrypt python-blinker python-fasteners
python-jwt python-lockfile python-monotonic python-nacl python-oauthlib
python-paramiko python-pexpect python-ptyprocess python-pyasn1
Use 'sudo apt autoremove' to remove them.
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
0 upgraded, 0 newly installed, 0 to remove and 43 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up grub-pc (2.02+dfsg1-20+deb10u4) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package grub-pc (--configure):
installed grub-pc package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)
Fin installation des dépendances
Merci de votre retour @Mips.
Désolé pour la log non formatée, celle ci sera mieux!
Suite au reboot et a la réinstallation du plugin la log des dépendances est différente. Visiblement je dois choisir un disque mais je n’ai pas l’invite pour le faire…
Du coup j’ai tenter une seconde installation des dépendances et la seconde log ressemble à la première communiquée
J’ai essayé aussi de faire un refreshValue : erreur 500
Log 1er installation dépendance :
Début d'installation des dépendances
Reading package lists...
Building dependency tree...
Reading state information...
lsb-release is already the newest version (10.2019051400).
php-pear is already the newest version (1:1.10.6+submodules+notgz-1.1+deb10u2).
The following packages were automatically installed and are no longer required:
libgnutls-dane0 libjsoncpp1 libunbound8 linux-image-4.19.0-10-amd64
linux-image-4.19.0-12-amd64 python-bcrypt python-blinker python-fasteners
python-jwt python-lockfile python-monotonic python-nacl python-oauthlib
python-paramiko python-pexpect python-ptyprocess python-pyasn1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 43 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up grub-pc (2.02+dfsg1-20+deb10u4) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Configuring grub-pc
-------------------
The GRUB boot loader was previously installed to a disk that is no longer
present, or whose unique identifier has changed for some reason. It is important
to make sure that the installed GRUB core image stays in sync with GRUB modules
and grub.cfg. Please check again to make sure that GRUB is written to the
appropriate boot devices.
If you're unsure which drive is designated as boot drive by your BIOS, it is
often a good idea to install GRUB to all of them.
Note: it is possible to install GRUB to partition boot records as well, and some
appropriate partitions are offered here. However, this forces GRUB to use the
blocklist mechanism, which makes it less reliable, and therefore is not
recommended.
1. /dev/sda (17179 MB; iSCSI_Storage) 3. none of the above
2. - /dev/sda1 (16105 MB; /)
(Enter the items you want to select, separated by spaces.)
GRUB install devices:
Log 2ème installation dépendances :
Début d'installation des 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?
--2021-05-27 23:50:25-- http://repo.mosquitto.org/debian/mosquitto-repo.gpg.key
Resolving repo.mosquitto.org (repo.mosquitto.org)... 2001:ba8:1f1:f271::2, 85.119.83.194
Connecting to repo.mosquitto.org (repo.mosquitto.org)|2001:ba8:1f1:f271::2|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3167 (3.1K) [application/octet-stream]
Saving to: 'mosquitto-repo.gpg.key.4'
0K ... 100% 162M=0s
2021-05-27 23:50:25 (162 MB/s) - 'mosquitto-repo.gpg.key.4' saved [3167/3167]
Warning: apt-key output should not be parsed (stdout is not a terminal)
OK
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Hit:4 http://phoscon.de/apt/deconz buster InRelease
Fetched 51.9 kB in 2s (22.8 kB/s)
Reading package 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?
PHP Warning: PHP Startup: Unable to load dynamic library 'mosquitto.so' (tried: /usr/lib/php/20180731/mosquitto.so (/usr/lib/php/20180731/mosquitto.so: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/mosquitto.so.so (/usr/lib/php/20180731/mosquitto.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
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?
Fin installation des dépendances
J’ai résolu le problème d’installation des dépendances, c’est désormais OK
Par contre impossible de lancer mon demon !
[2021-05-31 12:00:32][ERROR] : Erreur sur worxLandroidS::daemon() : Class ‹ Mosquitto\Client › not found
J’ai testé le refresh mais toujours KO.
L’historique de santé s’affiche correctement, il me donne mon histo mais impossible d’utiliser les commandes.
Une idée du problème ?
Log dépendances :
Début d'installation des dépendances
Reading package lists...
Building dependency tree...
Reading state information...
lsb-release is already the newest version (10.2019051400).
php-pear is already the newest version (1:1.10.6+submodules+notgz-1.1+deb10u2).
The following packages were automatically installed and are no longer required:
libgnutls-dane0 libjsoncpp1 libunbound8 linux-image-4.19.0-10-amd64
linux-image-4.19.0-12-amd64 python-bcrypt python-blinker python-fasteners
python-jwt python-lockfile python-monotonic python-nacl python-oauthlib
python-paramiko python-pexpect python-ptyprocess python-pyasn1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.
--2021-05-31 11:58:40-- http://repo.mosquitto.org/debian/mosquitto-repo.gpg.key
Resolving repo.mosquitto.org (repo.mosquitto.org)... 2001:ba8:1f1:f271::2, 85.119.83.194
Connecting to repo.mosquitto.org (repo.mosquitto.org)|2001:ba8:1f1:f271::2|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3167 (3.1K) [application/octet-stream]
Saving to: 'mosquitto-repo.gpg.key.7'
0K ... 100% 109M=0s
2021-05-31 11:58:40 (109 MB/s) - 'mosquitto-repo.gpg.key.7' saved [3167/3167]
Warning: apt-key output should not be parsed (stdout is not a terminal)
OK
Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Hit:2 http://deb.debian.org/debian buster InRelease
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Hit:4 http://phoscon.de/apt/deconz buster InRelease
Get:5 http://security.debian.org/debian-security buster/updates/main Sources [186 kB]
Get:6 http://security.debian.org/debian-security buster/updates/main amd64 Packages [291 kB]
Get:7 http://security.debian.org/debian-security buster/updates/main Translation-en [151 kB]
Fetched 745 kB in 3s (289 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
libmosquitto-dev is already the newest version (1.5.7-1+deb10u1).
mosquitto is already the newest version (1.5.7-1+deb10u1).
mosquitto-clients is already the newest version (1.5.7-1+deb10u1).
The following packages were automatically installed and are no longer required:
libgnutls-dane0 libjsoncpp1 libunbound8 linux-image-4.19.0-10-amd64
linux-image-4.19.0-12-amd64 python-bcrypt python-blinker python-fasteners
python-jwt python-lockfile python-monotonic python-nacl python-oauthlib
python-paramiko python-pexpect python-ptyprocess python-pyasn1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.
PHP Warning: PHP Startup: Unable to load dynamic library 'mosquitto.so' (tried: /usr/lib/php/20180731/mosquitto.so (/usr/lib/php/20180731/mosquitto.so: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/mosquitto.so.so (/usr/lib/php/20180731/mosquitto.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Reading package lists...
Building dependency tree...
Reading state information...
php7.3-dev is already the newest version (7.3.27-1~deb10u1).
The following packages were automatically installed and are no longer required:
libgnutls-dane0 libjsoncpp1 libunbound8 linux-image-4.19.0-10-amd64
linux-image-4.19.0-12-amd64 python-bcrypt python-blinker python-fasteners
python-jwt python-lockfile python-monotonic python-nacl python-oauthlib
python-paramiko python-pexpect python-ptyprocess python-pyasn1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.
Fin installation des dépendances