Impossible de lancer le démon sous debian 12

Bonjour,
Je viens de recevoir ma box tahoma switch que j’ai paramétrée en mode développeur et interfacer avec le plugin sur un Jeedom sous debian 11.

Comme je suis en phase de migrer en debian 12, j’ai reproduis les mêmes paramètres sur un autre Jeedom sous debian 12.
Mais dans cette configuration, le démon ne se lance pas et ai des erreurs dans les logs que ce soit en versions stable et beta:

0000|[2026-05-10 14:43:01] ERROR  Erreur sur la fonction deamon_start du plugin : Cannot access offset of type string on string
0001|[2026-05-10 14:45:09] ERROR  Erreur sur la fonction deamon_start du plugin : Cannot access offset of type string on string
0002|[2026-05-10 14:45:22] ERROR  Erreur sur la fonction cron5 du plugin : Unsupported operand types: int - string
0003|[2026-05-10 14:50:09] ERROR  Erreur sur la fonction deamon_start du plugin : Cannot access offset of type string on string
0004|[2026-05-10 14:50:21] ERROR  Erreur sur la fonction cron5 du plugin : Unsupported operand types: int - string
0005|[2026-05-10 14:55:07] ERROR  Erreur sur la fonction deamon_start du plugin : Cannot access offset of type string on string
0006|[2026-05-10 14:55:21] ERROR  Erreur sur la fonction cron5 du plugin : Unsupported operand types: int - string
0007|[2026-05-10 14:57:00] DEBUG  Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=tahomalocalapi function=pre_update callInstallFunction=1
0008|[2026-05-10 14:57:01] DEBUG  Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=tahomalocalapi function=post_plugin_install callInstallFunction=1
0009|[2026-05-10 14:57:01] INFO  Début d'activation du plugin
0010|[2026-05-10 14:57:02] INFO  Info sur le démon : {"log":"tahomalocalapi","state":"nok","launchable":"ok","launchable_message":"Gestion automatique d\u00e9sactiv\u00e9e","auto":"0","last_launch":"2026-05-10 14:55:06"}
0011|[2026-05-10 14:57:02] DEBUG  Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=tahomalocalapi function=update callInstallFunction=1
0012|[2026-05-10 14:57:20] ERROR  Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
0013|[2026-05-10 14:57:21] ERROR  Erreur sur la fonction deamon_start du plugin : Cannot access offset of type string on string
0014|[2026-05-10 15:00:10] ERROR  Erreur sur la fonction cron5 du plugin : Unsupported operand types: int - string
0015|[2026-05-10 15:00:12] ERROR  Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
0016|[2026-05-10 15:00:13] ERROR  Erreur sur la fonction deamon_start du plugin : Cannot access offset of type string on string

En vous remerciant de votre aide :wink:

Si cela peut aider, voici ce que j’ai dans les logs lorsque j’ai relancé l’installation des dépendances :

0000|+ echo '*******************Begin of package installation******************'
0001|*******************Begin of package installation******************
0002|+ touch /tmp/jeedom_install_in_progress_tahomalocalapi
0003|+ echo 1
0004|+ echo 2
0005|+ sudo apt update
0006|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0007|Hit:1 http://deb.debian.org/debian bookworm InRelease
0008|Get:2 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
0009|Get:3 http://archive.raspberrypi.com/debian bookworm InRelease [55.0 kB]
0010|Get:4 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
0011|Hit:5 https://deb.nodesource.com/node_22.x nodistro InRelease
0012|Get:6 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages [299 kB]
0013|Get:7 http://deb.debian.org/debian-security bookworm-security/main armhf Packages [284 kB]
0014|Get:8 http://deb.debian.org/debian-security bookworm-security/main Translation-en [186 kB]
0015|Get:9 http://archive.raspberrypi.com/debian bookworm/main armhf Packages [566 kB]
0016|Get:10 http://archive.raspberrypi.com/debian bookworm/main arm64 Packages [566 kB]
0017|Fetched 2059 kB in 2s (926 kB/s)
0018|Reading package lists...
0019|Building dependency tree...
0020|Reading state information...
0021|207 packages can be upgraded. Run 'apt list --upgradable' to see them.
0022|+ sudo apt-get install -y python3 python3-pip python3-dev python3-venv
0023|Reading package lists...
0024|Building dependency tree...
0025|Reading state information...
0026|python3 is already the newest version (3.11.2-1+b1).
0027|python3-pip is already the newest version (23.0.1+dfsg-1+rpt1).
0028|python3-dev is already the newest version (3.11.2-1+b1).
0029|python3-venv is already the newest version (3.11.2-1+b1).
0030|0 upgraded, 0 newly installed, 0 to remove and 207 not upgraded.
0031|+ echo 3
0032|+ sudo python3 -m venv --upgrade-deps /var/www/html/core/class/../../plugins/tahomalocalapi/resources/python_venv
0033|+ echo 4
0034|+ sudo /var/www/html/core/class/../../plugins/tahomalocalapi/resources/python_venv/bin/python3 -m pip install --upgrade pip wheel
0035|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0036|Requirement already satisfied: pip in /var/www/html/plugins/tahomalocalapi/resources/python_venv/lib/python3.11/site-packages (26.1.1)
0037|Requirement already satisfied: wheel in /var/www/html/plugins/tahomalocalapi/resources/python_venv/lib/python3.11/site-packages (0.46.3)
0038|Collecting wheel
0039|Using cached wheel-0.47.0-py3-none-any.whl (32 kB)
0040|Requirement already satisfied: packaging>=24.0 in /var/www/html/plugins/tahomalocalapi/resources/python_venv/lib/python3.11/site-packages (from wheel) (26.0)
0041|Installing collected packages: wheel
0042|Attempting uninstall: wheel
0043|Found existing installation: wheel 0.46.3
0044|Uninstalling wheel-0.46.3:
0045|Successfully uninstalled wheel-0.46.3
0046|Successfully installed wheel-0.47.0
0047|+ echo 5
0048|+ sudo /var/www/html/core/class/../../plugins/tahomalocalapi/resources/python_venv/bin/python3 -m pip install --force-reinstall --upgrade pyserial
0049|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0050|Collecting pyserial
0051|Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
0052|Installing collected packages: pyserial
0053|Attempting uninstall: pyserial
0054|Found existing installation: pyserial 3.5
0055|Uninstalling pyserial-3.5:
0056|Successfully uninstalled pyserial-3.5
0057|Successfully installed pyserial-3.5
0058|+ echo 6
0059|+ sudo /var/www/html/core/class/../../plugins/tahomalocalapi/resources/python_venv/bin/python3 -m pip install --force-reinstall --upgrade requests
0060|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0061|Collecting requests
0062|Downloading requests-2.33.1-py3-none-any.whl (64 kB)
0063|Collecting charset_normalizer<4,>=2 (from requests)
0064|WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError("HTTPSConnection(host='files.pythonhosted.org', port=443): Failed to establish a new connection: [Errno 101] Network is unreachable")': /packages/5a/53/58c29116c340e5456724ecd2fff4196d236b98f3da97b404bc5e51ac3493/charset_normalizer-3.4.7-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.metadata
0065|WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError("HTTPSConnection(host='files.pythonhosted.org', port=443): Failed to establish a new connection: [Errno 101] Network is unreachable")': /packages/5a/53/58c29116c340e5456724ecd2fff4196d236b98f3da97b404bc5e51ac3493/charset_normalizer-3.4.7-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.metadata
0066|WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError("HTTPSConnection(host='files.pythonhosted.org', port=443): Failed to establish a new connection: [Errno 101] Network is unreachable")': /packages/5a/53/58c29116c340e5456724ecd2fff4196d236b98f3da97b404bc5e51ac3493/charset_normalizer-3.4.7-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.metadata
0067|WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError("HTTPSConnection(host='files.pythonhosted.org', port=443): Failed to establish a new connection: [Errno 101] Network is unreachable")': /packages/5a/53/58c29116c340e5456724ecd2fff4196d236b98f3da97b404bc5e51ac3493/charset_normalizer-3.4.7-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.metadata
0068|WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError("HTTPSConnection(host='files.pythonhosted.org', port=443): Failed to establish a new connection: [Errno 101] Network is unreachable")': /packages/5a/53/58c29116c340e5456724ecd2fff4196d236b98f3da97b404bc5e51ac3493/charset_normalizer-3.4.7-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.metadata
0069|ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/5a/53/58c29116c340e5456724ecd2fff4196d236b98f3da97b404bc5e51ac3493/charset_normalizer-3.4.7-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.metadata (Caused by NewConnectionError("HTTPSConnection(host='files.pythonhosted.org', port=443): Failed to establish a new connection: [Errno 101] Network is unreachable"))
0070|+ echo 7
0071|+ sudo /var/www/html/core/class/../../plugins/tahomalocalapi/resources/python_venv/bin/python3 -m pip install --force-reinstall --upgrade pyudev
0072|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0073|Collecting pyudev
0074|Using cached pyudev-0.24.4-py3-none-any.whl (62 kB)
0075|Installing collected packages: pyudev
0076|Attempting uninstall: pyudev
0077|Found existing installation: pyudev 0.24.4
0078|Uninstalling pyudev-0.24.4:
0079|Successfully uninstalled pyudev-0.24.4
0080|Successfully installed pyudev-0.24.4
0081|+ echo 8
0082|+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end tahomalocalapi
0083|+ echo 9
0084|+ rm /tmp/jeedom_install_in_progress_tahomalocalapi
0085|+ echo '*******************End of package installation******************'
0086|*******************End of package installation******************

Lignes 64 à 69…

Bonjour,

Il y a une version spécifique Debian 12, voir ici et ici

1 « J'aime »

Bonjour,

Merci @choupfamily63 pour ces liens que j’avais vu :blush:
Mais comme ils datent de 2024, je pensais qu’il y avait eu une mise à jour du plugin ‹ Market › depuis :wink:

J’ai donc chargé la version Gitub et çà ne fonctionnait pas pour 2 raisons:

  1. Le port du démon était à priori déjà utilisé. J’en ai mis un au hasard :upside_down_face:
  2. Et dans cette version feat-debian12, le mot de passe du compte n’accepte pas le $ (et peut être d’autres caractères spéciaux) contrairement à la version ‹ Market › sous debian 11. Y aura-t-il une correction ?

Il ne me reste plus qu’à attendre l’installation prochaines des équipements Somfy pour tester le plugin :hourglass_flowing_sand:

Encore merci @choupfamily63 :blush:

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.