Plugin KLF daemon restart

Bonjour,

J’ai ms a jour mon NAS synology 6.2 to 7.2 depuis le plugin KLF essaye de redemarrer en boucle le KLF 200

********************************************************
17/12/2023 11:46:33 Installation des dépendances
********************************************************
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 https://deb.nodesource.com/node_18.x nodistro InRelease
Reading package lists...
Installation des dépendances apt
Reading package lists...
Building dependency tree...
Reading state information...
python3-dev is already the newest version (3.7.3-1).
python3-venv is already the newest version (3.7.3-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Requirement already satisfied: pyvlx in /var/www/html/plugins/klf200/resources/venv/lib/python3.7/site-packages (0.2.20)
Requirement already satisfied: PyYAML in /var/www/html/plugins/klf200/resources/venv/lib/python3.7/site-packages (from pyvlx) (5.4.1)
Requirement already satisfied: aiohttp==3.7.4.post0 in /var/www/html/plugins/klf200/resources/venv/lib/python3.7/site-packages (3.7.4.post0)
Requirement already satisfied: typing-extensions>=3.6.5 in /var/www/html/plugins/klf200/resources/venv/lib/python3.7/site-packages (from aiohttp==3.7.4.post0) (4.4.0)
Requirement already satisfied: attrs>=17.3.0 in /var/www/html/plugins/klf200/resources/venv/lib/python3.7/site-packages (from aiohttp==3.7.4.post0) (22.2.0)
Requirement already satisfied: yarl<2.0,>=1.0 in /var/www/html/plugins/klf200/resources/venv/lib/python3.7/site-packages (from aiohttp==3.7.4.post0) (1.8.2)
Requirement already satisfied: multidict<7.0,>=4.5 in /var/www/html/plugins/klf200/resources/venv/lib/python3.7/site-packages (from aiohttp==3.7.4.post0) (6.0.4)
Requirement already satisfied: async-timeout<4.0,>=3.0 in /var/www/html/plugins/klf200/resources/venv/lib/python3.7/site-packages (from aiohttp==3.7.4.post0) (3.0.1)
Requirement already satisfied: chardet<5.0,>=2.0 in /var/www/html/plugins/klf200/resources/venv/lib/python3.7/site-packages (from aiohttp==3.7.4.post0) (4.0.0)
Requirement already satisfied: idna>=2.0 in /var/www/html/plugins/klf200/resources/venv/lib/python3.7/site-packages (from yarl<2.0,>=1.0->aiohttp==3.7.4.post0) (3.4)
Collecting PyYAML==5.4.1
Using cached https://files.pythonhosted.org/packages/7a/a5/393c087efdc78091afa2af9f1378762f9821c9c1d7a22c5753fb5ac5f97a/PyYAML-5.4.1-cp37-cp37m-manylinux1_x86_64.whl
Installing collected packages: PyYAML
Found existing installation: PyYAML 5.4.1
Uninstalling PyYAML-5.4.1:
Successfully uninstalled PyYAML-5.4.1
Successfully installed PyYAML-5.4.1
Requirement already satisfied: bottle in /var/www/html/plugins/klf200/resources/venv/lib/python3.7/site-packages (0.12.23)
********************************************************
17/12/2023 11:47:23 Installation terminée
********************************************************

J’ai bien relancer l’installation des dependances et je vois pas d’erreur

[2023-12-17 11:46:04]DEBUG : Send http://localhost:9123/devices
[2023-12-17 11:46:05]DEBUG : Result
[2023-12-17 11:46:46]INFO : Arrêt du service klf200
[2023-12-17 11:46:47]INFO : Lancement démon klf200 : /var/www/html/plugins/klf200/resources/venv/bin/python3 /var/www/html/plugins/klf200/resources/klf200d.py 10.0.0.17 9J5cMNE2Jn
[2023-12-17 11:46:48]ERROR : KLF200 has been restarted after found not responding
Traceback (most recent call last):
File "/var/www/html/plugins/klf200/resources/klf200d.py", line 269, in 
LOOP.run_until_complete(init_pyvlx_connection(LOOP))
File "/usr/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete
return future.result()
File "/var/www/html/plugins/klf200/resources/klf200d.py", line 22, in init_pyvlx_connection
await pyvlx.load_nodes()
File "/var/www/html/plugins/klf200/resources/venv/lib/python3.7/site-packages/pyvlx/pyvlx.py", line 78, in load_nodes
await self.nodes.load(node_id)
File "/var/www/html/plugins/klf200/resources/venv/lib/python3.7/site-packages/pyvlx/nodes.py", line 69, in load
await self._load_all_nodes()
File "/var/www/html/plugins/klf200/resources/venv/lib/python3.7/site-packages/pyvlx/nodes.py", line 85, in _load_all_nodes
await get_all_nodes_information.do_api_call()
File "/var/www/html/plugins/klf200/resources/venv/lib/python3.7/site-packages/pyvlx/api/api_event.py", line 21, in do_api_call
await self.send_frame()
File "/var/www/html/plugins/klf200/resources/venv/lib/python3.7/site-packages/pyvlx/api/api_event.py", line 33, in send_frame
await self.pyvlx.send_frame(self.request_frame())
File "/var/www/html/plugins/klf200/resources/venv/lib/python3.7/site-packages/pyvlx/pyvlx.py", line 66, in send_frame
await self.connect()
File "/var/www/html/plugins/klf200/resources/venv/lib/python3.7/site-packages/pyvlx/pyvlx.py", line 43, in connect
await self.connection.connect()
File "/var/www/html/plugins/klf200/resources/venv/lib/python3.7/site-packages/pyvlx/connection.py", line 90, in connect
ssl=self.create_ssl_context(),
File "/usr/lib/python3.7/asyncio/base_events.py", line 959, in create_connection
raise exceptions[0]
File "/usr/lib/python3.7/asyncio/base_events.py", line 946, in create_connection
await self.sock_connect(sock, address)
File "/usr/lib/python3.7/asyncio/selector_events.py", line 464, in sock_connect
return await fut
File "/usr/lib/python3.7/asyncio/selector_events.py", line 494, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
OSError: [Errno 113] Connect call failed ('10.0.0.17', 51200)
[2023-12-17 11:47:09]DEBUG : Send http://localhost:9123/devices
[2023-12-17 11:47:10]DEBUG : Result
[2023-12-17 11:47:51]INFO : Arrêt du service klf200
[2023-12-17 11:47:53]INFO : Lancement démon klf200 : 
OSError: [Errno 113] Connect call failed ('10.0.0.17', 51200)

Mon KLF est bien sur cet IP quand je me connecte sur son wifi pas de soucis

La commande pour redemarré le KLF avait sauté (je ne sais pas pourquoi) j’ai reintegré la prise connectée et maintenant le cron continue de restart en boucle et de shutdown allumé la prise connecté

Merci

Désolé c’est résolu j’avais juste débrancher le câble ethernet du boîtier klf… Au niveau du routeur

Pour brancher le nas le temps de l upgrade du nas…

Le boulet :rofl: j’ai perdu plusieurs heures pour rien