Comme annoncé, ce forum est passé en lecture seule au 1er janvier 2020. Désormais nous vous invitons à vous rendre sur notre nouvelle page communauté :
Image

A très bientôt !

Le plugin nut ne fonctionnes pas sur ma secodne Jeedom

jmjohn2016
Timide
Messages : 29
Inscription : 13 janv. 2016, 22:16
Localisation : NANTES

Le plugin nut ne fonctionnes pas sur ma secodne Jeedom

Message par jmjohn2016 » 21 mars 2019, 14:41

Bonjour à tous,

J'ai voulu installer ce plugin sur ma seconde Jeedom MINI+ mais il ne fonctionne pas.
Aucune commande disponible dans l'équipement créé.
Sur mon autre Jeedom ça fonctionne (l'onduleur est protège un NAS Synology)
Voici ci-dessous un log qui montre des erreurs que je ne sais pas interprêter.
Et quant à faire "you must manually run 'sudo dpkg --configure -a' to correct the problem" j'hésite car je ne comprend pas bien cette manaouvre.

Bien cordialement
Jean
********************************************************
* Installation des dépendances *
********************************************************
Ign http://repo.jeedom.com ./ InRelease
Ign http://repo.jeedom.com ./ Release.gpg
Ign http://repo.jeedom.com ./ Release
Ign http://repo.jeedom.com ./ Sources/DiffIndex
Hit http://security.debian.org jessie/updates InRelease
Ign http://repo.jeedom.com ./ Packages/DiffIndex
Get:1 http://security.debian.org jessie/updates/main Sources [306 kB]
Ign http://httpredir.debian.org jessie InRelease
Hit http://httpredir.debian.org jessie-updates InRelease
Get:2 http://security.debian.org jessie/updates/main armhf Packages [635 kB]
Hit http://httpredir.debian.org jessie Release.gpg
Get:3 http://security.debian.org jessie/updates/main Translation-en [333 kB]
Hit http://httpredir.debian.org jessie Release
Get:4 http://httpredir.debian.org jessie-updates/main Sources [17.2 kB]
Hit https://deb.nodesource.com jessie InRelease
Ign http://repo.jeedom.com ./ Translation-en_US
Get:5 http://httpredir.debian.org jessie-updates/main armhf Packages/DiffIndex [11.8 kB]
Ign http://repo.jeedom.com ./ Translation-en
Get:6 https://deb.nodesource.com jessie/main Sources [687 B]
Err http://repo.jeedom.com ./ Sources
404 Not Found
Get:7 http://httpredir.debian.org jessie-updates/main Translation-en/DiffIndex [3,688 B]
Err http://repo.jeedom.com ./ Packages
404 Not Found
Get:8 https://deb.nodesource.com jessie/main armhf Packages [930 B]
Get:9 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Get:10 http://httpredir.debian.org jessie/main Sources [7,063 kB]
Get:11 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:12 http://httpredir.debian.org jessie/main armhf Packages [6,675 kB]
Get:13 http://httpredir.debian.org jessie/main Translation-en [4,581 kB]
Get:14 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Get:15 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:16 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Get:17 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:18 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Get:19 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:20 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en_US
Get:21 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en
Fetched 17.1 kB in 1min 17s (220 B/s)
W: Failed to fetch http://repo.jeedom.com/depot/repo.jm0.e ... /./Sources 404 Not Found
W: Failed to fetch http://repo.jeedom.com/depot/repo.jm0.e ... ./Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
********************************************************
* Installation terminée *
********************************************************
1 Jeedom Mini + Zwave (sérieurse)
1 Jeedom Mini (pour jouer)
9 fibaro FG222, 2 FGBS 001, wall plug, Dimmers ...
4 caméras POE
NAS Synology + APC 550
Alimentation secourue COMATEC 12 V pour box ADSL et Jeedom

Avatar de l’utilisateur
Fabrice
Modérateur
Messages : 3424
Inscription : 27 oct. 2016, 22:26
Localisation : Planète terre, IDF, 93

Re: Le plugin nut ne fonctionnes pas sur ma secodne Jeedom

Message par Fabrice » 22 mars 2019, 07:25

Bonjour,

La log vous invite à saisir cette comment en SSH :

Code : Tout sélectionner

sudo dpkg --configure -a
Ensuite, faite :

Code : Tout sélectionner

apt-get update
Et après :

Code : Tout sélectionner

sudo apt-get upgrade -y
- Là, vous devez avoir plusieurs mise à jour qui s'installe, il faut attendre la fin de sortie de cette commande.

Et redémarrez votre box, puis tentez de nouveau une installation des dépendances
Helper Officiel Jeedom
- Jeedom : 3.3.36
- Protocole : Z-Wave / RFXcom / BLEA
- Raspberry Pi : Pi 3 B+ / Pi 3 B / Pi Zero W

jmjohn2016
Timide
Messages : 29
Inscription : 13 janv. 2016, 22:16
Localisation : NANTES

Re: Le plugin nut ne fonctionnes pas sur ma secodne Jeedom

Message par jmjohn2016 » 25 mars 2019, 14:41

Bonjour et merci pour vos conseils.
Je viens d'essayer depuis la console OS/DB administration système intégrée à Jeedom mais ça ne fonctionne pas.
Pourtant j'ai désactivé préalablement le plugin.
Voic les retours que j'ai :

sudo dpkg --configure –a

dpkg: error: dpkg status database is locked by another process

apt-get update

E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

sudo apt-get upgrade -y

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Bien cordialement
Jean
1 Jeedom Mini + Zwave (sérieurse)
1 Jeedom Mini (pour jouer)
9 fibaro FG222, 2 FGBS 001, wall plug, Dimmers ...
4 caméras POE
NAS Synology + APC 550
Alimentation secourue COMATEC 12 V pour box ADSL et Jeedom

Avatar de l’utilisateur
Fabrice
Modérateur
Messages : 3424
Inscription : 27 oct. 2016, 22:26
Localisation : Planète terre, IDF, 93

Re: Le plugin nut ne fonctionnes pas sur ma secodne Jeedom

Message par Fabrice » 25 mars 2019, 14:53

Bonjour,

A faire en SSH directement, juste après un redémarrage de Jeedom.
Helper Officiel Jeedom
- Jeedom : 3.3.36
- Protocole : Z-Wave / RFXcom / BLEA
- Raspberry Pi : Pi 3 B+ / Pi 3 B / Pi Zero W

jmjohn2016
Timide
Messages : 29
Inscription : 13 janv. 2016, 22:16
Localisation : NANTES

Re: Le plugin nut ne fonctionnes pas sur ma secodne Jeedom

Message par jmjohn2016 » 25 mars 2019, 20:34

re-bonsoir,

Je viens de ressayer, juste après un reboot, mais ça ne fonctionne toujours pas...
Voici les retours :

sudo dpkg --configure -a

Setting up php5-fpm (5.6.40+dfsg-0+deb8u1) ...

Configuration file '/etc/php5/fpm/pool.d/www.conf'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** www.conf (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package php5-fpm (--configure):
read error on stdin at conffile prompt: Invalid argument
Errors were encountered while processing:
php5-fpm


apt-get update

E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

sudo apt-get upgrade -y

Reading package lists...
Building dependency tree...
Reading state information...
The following packages have been kept back:
ghostscript libgs9 libgs9-common
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up php5-fpm (5.6.40+dfsg-0+deb8u1) ...

Configuration file '/etc/php5/fpm/pool.d/www.conf'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** www.conf (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package php5-fpm (--configure):
read error on stdin at conffile prompt: Invalid argument
Errors were encountered while processing:
php5-fpm
E: Sub-process /usr/bin/dpkg returned an error code (1)

Cordialement
Jean
1 Jeedom Mini + Zwave (sérieurse)
1 Jeedom Mini (pour jouer)
9 fibaro FG222, 2 FGBS 001, wall plug, Dimmers ...
4 caméras POE
NAS Synology + APC 550
Alimentation secourue COMATEC 12 V pour box ADSL et Jeedom

Répondre

Revenir vers « [Plugin Officiel] Onduleur (NUT) »

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 2 invités