Dependances DainkinRCCloud NOK

Bonjour

Lorsque je lance les dépendances de ce plugin, le statut finit par NOK avec en fin de log DaikinRCCloud_packages

+ BASEDIR=/var/www/html/plugins/daikinRCCloud/resources
+ cd /var/www/html/plugins/daikinRCCloud/resources
+ cd daikintomqtt
+ sudo yarn install
yarn install v1.22.22
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
**error SyntaxError: /usr/local/share/.cache/yarn/v6/npm-cache-manager-5.7.6-bdd8a154c73e5233824aa09ceb359ed225d37b7e-integrity/node_modules/cache-manager/.yarn-metadata.json: Unexpected end of JSON input**
at JSON.parse (<anonymous>)
at /usr/lib/node_modules/yarn/lib/cli.js:1629:59
at Generator.next (<anonymous>)
at step (/usr/lib/node_modules/yarn/lib/cli.js:310:30)
at /usr/lib/node_modules/yarn/lib/cli.js:321:13
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
+ chown -R www-data:www-data ../daikintomqtt ../post_install.sh ../pre_install.sh
+ mv main.js daikinToMQTT.js
+ echo 'Everything is successfully installed!'
Everything is successfully installed!
+ echo 4
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end daikinRCCloud
+ echo 5
+ rm /tmp/jeedom_install_in_progress_daikinRCCloud
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Quelqu’un aurait une idée?
Merci

Bonsoir,

Mets les logs dans la balise texte preformatée et fourni la page santé stp

Bonjour

Merci pour le retour

Balise texte preformattée? je ne sais pas comment faire?

voici ma page santé

En utilisant les </>
image

Fait pour vous :wink:

merci pour l’explication

Tu peux effacer le contenu des logs, relancer les dépendances et fournir l’ensemble du log, il y a peut être des informations importantes avant cette erreur

+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_daikinRCCloud
+ echo 1
+ echo 2
+ sudo chmod +x /var/www/html/core/class/../../plugins/daikinRCCloud/resources/pre_install.sh
+ sudo /var/www/html/core/class/../../plugins/daikinRCCloud/resources/pre_install.sh
+ echo 'Pre installation de l'\''installation/mise à jour des dépendances de daikinRCCloud'
Pre installation de l'installation/mise à jour des dépendances de daikinRCCloud
+ echo '##### Install yaml php and restart apache'
##### Install yaml php and restart apache
++ grep yaml
++ php -m
+ last_check=yaml
+ '[' yaml = yaml ']'
+ echo 'Yaml is already installed, nothing to do'
Yaml is already installed, nothing to do
+++ dirname /var/www/html/core/class/../../plugins/daikinRCCloud/resources/pre_install.sh
++ cd /var/www/html/core/class/../../plugins/daikinRCCloud/resources
++ pwd
+ BASEDIR=/var/www/html/plugins/daikinRCCloud/resources
+ cd /var/www/html/plugins/daikinRCCloud/resources
+ rm -rf daikintomqtt
+ git clone -b release-beta https://github.com/ThibautTrarbach/daikintomqtt.git
Cloning into 'daikintomqtt'...
+ echo 'Pre install finished'
Pre install finished
+ echo 3
+ sudo killall apt apt-get unattended-upgr
apt: no process found
apt-get: no process found
unattended-upgr: no process found
+ sudo rm /var/lib/apt/lists/lock
+ sudo rm /var/cache/apt/archives/lock
+ sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend
+ sudo sudo dpkg --configure -a --force-confdef
+ sudo apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Hit:1 http://deb.debian.org/debian bookworm InRelease
Get:2 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease
Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease
Get:6 http://deb.debian.org/debian-security bookworm-security/main armhf Packages [185 kB]
Get:7 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages [186 kB]
Get:8 http://deb.debian.org/debian-security bookworm-security/main Translation-en [115 kB]
Fetched 534 kB in 1s (386 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
+ echo 4
+ 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 bookworm InRelease
Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease
Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
lsb-release is already the newest version (12.0-1).
build-essential is already the newest version (12.9).
apt-utils is already the newest version (2.6.1).
git is already the newest version (1:2.39.5-0+deb12u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[Check Version NodeJS actuelle : v20.18.0 : [  OK  ]
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [  OK  ]
Clean npm cache
npm warn using --force Recommended protections disabled.
+ echo 5
+ 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 bookworm InRelease
Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease
Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
lsb-release is already the newest version (12.0-1).
build-essential is already the newest version (12.9).
apt-utils is already the newest version (2.6.1).
git is already the newest version (1:2.39.5-0+deb12u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[Check Version NodeJS actuelle : v20.18.0 : [  OK  ]
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [  OK  ]
Clean npm cache
npm warn using --force Recommended protections disabled.
+ echo 6
+ 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 bookworm InRelease
Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease
Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
lsb-release is already the newest version (12.0-1).
build-essential is already the newest version (12.9).
apt-utils is already the newest version (2.6.1).
git is already the newest version (1:2.39.5-0+deb12u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[Check Version NodeJS actuelle : v20.18.0 : [  OK  ]
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [  OK  ]
Clean npm cache
npm warn using --force Recommended protections disabled.
+ echo 7
+ sudo chmod +x /var/www/html/core/class/../../resources/install_composer.sh
+ sudo /var/www/html/core/class/../../resources/install_composer.sh
Begin installation of composer
--2024-10-13 22:12:18--  https://getcomposer.org/installer
Resolving getcomposer.org (getcomposer.org)... 54.36.53.46, 2001:41d0:302:1100::8:104f
Connecting to getcomposer.org (getcomposer.org)|54.36.53.46|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 58444 (57K) [application/octet-stream]
Saving to: 'composer-setup.php'
0K .......... .......... .......... .......... .......... 87% 6.64M 0s
50K .......                                               100% 51.2M=0.007s
2024-10-13 22:12:18 (7.44 MB/s) - 'composer-setup.php' saved [58444/58444]
All settings correct for using Composer
Downloading...
Composer (version 2.8.1) successfully installed to: /var/www/html/core/ajax/composer.phar
Use it: php composer.phar
End installation of composer
+ echo 8
+ sudo NODE_OPTIONS=--dns-result-order=ipv4first npm install --force -g yarn
npm warn using --force Recommended protections disabled.
changed 1 package in 2s
+ echo 9
+ php /var/www/html/core/class/../php/jeecli.php plugin install mqtt2
+ echo 10
+ sudo chmod +x /var/www/html/core/class/../../plugins/daikinRCCloud/resources/post_install.sh
+ sudo /var/www/html/core/class/../../plugins/daikinRCCloud/resources/post_install.sh
+ echo 'Post installation de l'\''installation/mise à jour des dépendances daikinRCCloud'
Post installation de l'installation/mise à jour des dépendances daikinRCCloud
+++ dirname /var/www/html/core/class/../../plugins/daikinRCCloud/resources/post_install.sh
++ cd /var/www/html/core/class/../../plugins/daikinRCCloud/resources
++ pwd
+ BASEDIR=/var/www/html/plugins/daikinRCCloud/resources
+ cd /var/www/html/plugins/daikinRCCloud/resources
+ cd daikintomqtt
+ sudo yarn install
yarn install v1.22.22
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
error SyntaxError: /usr/local/share/.cache/yarn/v6/npm-cache-manager-5.7.6-bdd8a154c73e5233824aa09ceb359ed225d37b7e-integrity/node_modules/cache-manager/.yarn-metadata.json: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at /usr/lib/node_modules/yarn/lib/cli.js:1629:59
at Generator.next (<anonymous>)
at step (/usr/lib/node_modules/yarn/lib/cli.js:310:30)
at /usr/lib/node_modules/yarn/lib/cli.js:321:13
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
+ chown -R www-data:www-data ../daikintomqtt ../post_install.sh ../pre_install.sh
+ mv main.js daikinToMQTT.js
+ echo 'Everything is successfully installed!'
Everything is successfully installed!
+ echo 11
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end daikinRCCloud
+ echo 12
+ rm /tmp/jeedom_install_in_progress_daikinRCCloud
+ echo '*******************End of package installation******************'
*******************End of package installation******************