Bonjour,
Je viens d’installer le plugin Enphase Secure qui semble excellent mais je n’arrive pas à terminer l’installation correctement car le daemon indique NOK.
Dans les logs j’ai ce message : "
0495|[2022-12-10 11:15:05]INFO : Lancement démon
0496|[2022-12-10 11:19:31]ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
0497|[2022-12-10 11:19:33]DEBUG : Nombre de widget: 1
0498|[2022-12-10 11:19:33]INFO : python3 /var/www/html/plugins/enphasesecur/resources/enphasesecurd/enphasesecurd.py --renew "auto" --loglevel debug --socketport 25788 --callback http://127.0.0.1:80/plugins/enphasesecur/core/php/jeeenphasesecur.php --user « xxxxxx@gmail.com" --password « xxxxxxxxx » --site « xxxxxxxxx » --serie « xxxxxxxxx » --token "eyJraWQiOiI3ZDEwMDA1ZC03ODk5LTRkMGQtYmNiNC0yNDRm67CJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJhdWQiOiJ1bi1jb21taXNzaW9uZWQiLCJpc3MiOiJFbnRyZXoiLCJlbnBoYXNlVXNlciI6Imluc3RhbGxlciIsImV4cCI6MTY3MDYyMzc3MCwiaWF0IjoxNjcwNTgwNTcwLCJqdGkiOiIzYTZjODhiYi04YjUyLTQzODAtOTlhOS0wYTlkOGIwOGI5NTAiLCJ1c2VybmFtZSI6InBhcGlvbi5hdXJlbEBnbWFpbC5jb20ifQ.IRzijwjcS7mO99Lr1uUmB0rHskcE-hcV6SEtUC8ni49sntaRJ1FWucrP0Ikad50-utaJNW9pfVen_mGB3jWWuQ" --ip "192.168.1.52" --apikey 2KiUUMXwLxwuDfWkidShE4elEjI0qrDVhN4FbLgCwgIkXGIIQrSvLbsCHi5rvY68 --pid /tmp/jeedom/enphasesecur/deamon.pid --delais
0499|[2022-12-10 11:19:33]INFO : Lancement démon
PS: J’ai volontairement mis xxxx la ou les informations étaient en claire
Voici quelques imprime écran pour mieux comprendre la situation:
Plug in:
0000|**********************************
0001|* Installation des dépendances *
0002|**********************************
0003|Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
0004|Hit:2 http://deb.debian.org/debian bullseye InRelease
0005|Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
0006|Reading package lists...
0007|Reading package lists...
0008|Building dependency tree...
0009|Reading state information...
0010|python3 is already the newest version (3.9.2-3).
0011|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0012|Reading package lists...
0013|Building dependency tree...
0014|Reading state information...
0015|python3-pip is already the newest version (20.3.4-4+deb11u1).
0016|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0017|Requirement already satisfied: pip in /usr/local/lib/python3.9/dist-packages (22.3.1)
0018|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
0019|WARNING: Skipping serial as it is not installed.
0020|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
0021|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0022|Reading package lists...
0023|Building dependency tree...
0024|Reading state information...
0025|Package 'python3-serial' is not installed, so not removed
0026|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0027|Reading package lists...
0028|Building dependency tree...
0029|Reading state information...
0030|python3-setuptools is already the newest version (52.0.0-4).
0031|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0032|Reading package lists...
0033|Building dependency tree...
0034|Reading state information...
0035|python3-pyudev is already the newest version (0.22.0-2).
0036|python3-requests is already the newest version (2.25.1+dfsg-2).
0037|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0038|Requirement already satisfied: pyjwt in /usr/local/lib/python3.9/dist-packages (2.6.0)
0039|Requirement already satisfied: html.parser in /usr/local/lib/python3.9/dist-packages (0.2)
0040|Requirement already satisfied: html5lib in /usr/local/lib/python3.9/dist-packages (1.1)
0041|Requirement already satisfied: bs4 in /usr/local/lib/python3.9/dist-packages (0.0.1)
0042|Requirement already satisfied: asyncio in /usr/local/lib/python3.9/dist-packages (3.4.3)
0043|Requirement already satisfied: httpx in /usr/local/lib/python3.9/dist-packages (0.23.0)
0044|Requirement already satisfied: lxml in /usr/local/lib/python3.9/dist-packages (4.9.1)
0045|Requirement already satisfied: ply in /usr/local/lib/python3.9/dist-packages (from html.parser) (3.11)
0046|Requirement already satisfied: webencodings in /usr/local/lib/python3.9/dist-packages (from html5lib) (0.5.1)
0047|Requirement already satisfied: six>=1.9 in /usr/lib/python3/dist-packages (from html5lib) (1.16.0)
0048|Requirement already satisfied: beautifulsoup4 in /usr/local/lib/python3.9/dist-packages (from bs4) (4.11.1)
0049|Requirement already satisfied: certifi in /usr/lib/python3/dist-packages (from httpx) (2020.6.20)
0050|Requirement already satisfied: httpcore<0.16.0,>=0.15.0 in /usr/local/lib/python3.9/dist-packages (from httpx) (0.15.0)
0051|Requirement already satisfied: sniffio in /usr/local/lib/python3.9/dist-packages (from httpx) (1.3.0)
0052|Requirement already satisfied: rfc3986[idna2008]<2,>=1.3 in /usr/local/lib/python3.9/dist-packages (from httpx) (1.5.0)
0053|Requirement already satisfied: anyio==3.* in /usr/local/lib/python3.9/dist-packages (from httpcore<0.16.0,>=0.15.0->httpx) (3.6.2)
0054|Requirement already satisfied: h11<0.13,>=0.11 in /usr/local/lib/python3.9/dist-packages (from httpcore<0.16.0,>=0.15.0->httpx) (0.12.0)
0055|Requirement already satisfied: idna>=2.8 in /usr/lib/python3/dist-packages (from anyio==3.*->httpcore<0.16.0,>=0.15.0->httpx) (2.10)
0056|Requirement already satisfied: soupsieve>1.2 in /usr/local/lib/python3.9/dist-packages (from beautifulsoup4->bs4) (2.3.2.post1)
0057|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
0058|Collecting pyserial
0059|Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
0060|Installing collected packages: pyserial
0061|Successfully installed pyserial-3.5
0062|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
0063|Requirement already satisfied: six in /usr/lib/python3/dist-packages (1.16.0)
0064|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
0065|**********************************
0066|* Installation des dépendances OK *
0067|**********************************