je ne suis pas utilisateur du plugin mais j’ai vu que ce problème est arrivé à un autre utilisateur (qui n’a pas eu la bonne idée de répondre aux questions du dev du plugin).
Je vous suggère de publier les informations demandées par le dev afin de vous faire gagner du temps.
Je rappelle que je n’ai pas le plugin ni les compétances, juste le souvenir d’avoir vu passé ce problème.
Bonjour et merci pour votre retour.
En tant que nouveau utilisateur je ne peux pas joindre de fichier, comment faire pour activer cette fonction (pour que j’envoie les informations).
Merci
Les logs par copié collé en utilisant le bon formatage. Le mieux étant de vider le log puis de provoquer le défaut, pour éviter d’avoir des logs avec des parties plus anciennes.
Et il y a l’option pour charger un fichier en bas à droite lors de l’écriture d’un post sur tel, et dans la barre des options au milieu sur un ordi (icône d’upload). Mais c’est possible qu’on ait pas tous l’option. Aucune idée.
S’il n’y rien de plus dans le log MyTado, je pencherais pour une erreur qui remonterait dans le http.error, pourriez vous me le mettre aussi svp?
En tout cas pas de problème d’installation de dépendances.
Merci pour vos retours (désolé je ne suis pas très réactif), voici le log http.error
0000|[Sat Oct 15 08:53:59.825495 2022] [access_compat:error] [pid 17699] [client 172.17.0.1:55816] AH01797: client denied by server configuration: /var/www/html/Lien vers une video, referer: http://192.168.1.59:9080/index.php?v=d&p=plugin
0001|[Tue Jun 17 09:45:45.675024 2025] [php7:error] [pid 30337] [client 172.17.0.1:49474] PHP Fatal error: Uncaught Error: Call to undefined function date_default_timezone_set() in /var/www/html/core/php/core.inc.php:18\nStack trace:\n#0 /var/www/html/core/ajax/config.ajax.php(20): require_once()\n#1 {main}\n thrown in /var/www/html/core/php/core.inc.php on line 18
0002|[17-Jun-2025 09:46:06 UTC] PHP Fatal error: Uncaught Error: Call to undefined function file_exists() in /var/www/html/index.php:20
0003|Stack trace:
0004|#0 {main}
0005|thrown in /var/www/html/index.php on line 20
0006|[17-Jun-2025 09:50:35 UTC] PHP Fatal error: Uncaught Error: Call to undefined function file_exists() in /var/www/html/index.php:20
0007|Stack trace:
0008|#0 {main}
0009|thrown in /var/www/html/index.php on line 20
0010|[Tue Jun 17 09:51:16.735270 2025] [php7:error] [pid 30337] [client 172.17.0.1:49554] PHP Fatal error: Uncaught Error: Call to undefined function date_default_timezone_set() in /var/www/html/core/php/core.inc.php:18\nStack trace:\n#0 /var/www/html/core/ajax/config.ajax.php(20): require_once()\n#1 {main}\n thrown in /var/www/html/core/php/core.inc.php on line 18
0011|[Tue Jun 17 09:51:31.911899 2025] [php7:error] [pid 30337] [client 172.17.0.1:49570] PHP Fatal error: Uncaught Error: Call to undefined function date_default_timezone_set() in /var/www/html/core/php/core.inc.php:18\nStack trace:\n#0 /var/www/html/core/ajax/config.ajax.php(20): require_once()\n#1 {main}\n thrown in /var/www/html/core/php/core.inc.php on line 18
0012|[Tue Jun 17 09:52:00.388545 2025] [php7:error] [pid 30337] [client 172.17.0.1:49598] PHP Fatal error: Uncaught Error: Call to undefined function date_default_timezone_set() in /var/www/html/core/php/core.inc.php:18\nStack trace:\n#0 /var/www/html/core/ajax/config.ajax.php(20): require_once()\n#1 {main}\n thrown in /var/www/html/core/php/core.inc.php on line 18
0013|[Tue Jun 17 09:53:16.914069 2025] [php7:error] [pid 30549] [client 172.17.0.1:49628] PHP Parse error: syntax error, unexpected 'bool' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /var/www/html/plugins/MyTado/core/class/MyTado.class.php on line 50, referer: http://192.168.1.60:9080/index.php?v=d&m=MyTado&p=MyTado
0014|[Tue Jun 17 09:54:37.814874 2025] [php7:error] [pid 542] [client 172.17.0.1:49646] PHP Parse error: syntax error, unexpected 'bool' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /var/www/html/plugins/MyTado/core/class/MyTado.class.php on line 50, referer: http://192.168.1.60:9080/index.php?v=d&m=MyTado&p=MyTado&id=MyTado
0015|[Tue Jun 17 09:57:03.241933 2025] [php7:error] [pid 31553] [client 172.17.0.1:49698] PHP Parse error: syntax error, unexpected 'bool' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /var/www/html/plugins/MyTado/core/class/MyTado.class.php on line 50, referer: http://192.168.1.60:9080/index.php?v=d&m=MyTado&p=MyTado
0016|[Tue Jun 17 10:01:04.355214 2025] [php7:error] [pid 30336] [client 172.17.0.1:49780] PHP Parse error: syntax error, unexpected 'bool' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /var/www/html/plugins/MyTado/core/class/MyTado.class.php on line 50, referer: http://192.168.1.60:9080/index.php?v=d&m=MyTado&p=MyTado
0017|[Tue Jun 17 10:02:11.451835 2025] [php7:error] [pid 32005] [client 172.17.0.1:49806] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function __(), 1 passed in /var/www/html/plugins/tado/core/ajax/tado.ajax.php on line 226 and at least 2 expected in /var/www/html/core/class/translate.class.php:219\nStack trace:\n#0 /var/www/html/plugins/tado/core/ajax/tado.ajax.php(226): __('Utilisateur ou ...')\n#1 {main}\n thrown in /var/www/html/core/class/translate.class.php on line 219, referer: http://192.168.1.60:9080/index.php?v=d&m=tado&p=tado&id=tado
0018|[Tue Jun 17 10:13:01.633818 2025] [php7:error] [pid 558] [client 172.17.0.1:49940] PHP Parse error: syntax error, unexpected 'bool' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /var/www/html/plugins/MyTado/core/class/MyTado.class.php on line 50, referer: http://192.168.1.60:9080/index.php?v=d&m=MyTado&p=MyTado
0019|[Wed Jun 18 20:01:10.430921 2025] [php7:error] [pid 7259] [client 172.17.0.1:40850] PHP Parse error: syntax error, unexpected 'bool' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /var/www/html/plugins/MyTado/core/class/MyTado.class.php on line 50, referer: http://192.168.1.60:9080/index.php?v=d&m=MyTado&p=MyTado
0020|[Wed Jun 18 20:01:45.551283 2025] [php7:error] [pid 7477] [client 172.17.0.1:40860] PHP Parse error: syntax error, unexpected 'bool' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /var/www/html/plugins/MyTado/core/class/MyTado.class.php on line 50, referer: http://192.168.1.60:9080/index.php?v=d&m=MyTado&p=MyTado
0021|[Thu Jul 03 14:07:55.957337 2025] [php7:error] [pid 545] [client 172.17.0.1:59630] PHP Parse error: syntax error, unexpected 'bool' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /var/www/html/plugins/MyTado/core/class/MyTado.class.php on line 50, referer: http://192.168.1.60:9080/index.php?v=d&m=MyTado&p=MyTado
Cette erreur est surprenante. Cela ne devrait pas arriver avec PHP 7.4+.
Pourriez-vous vérifier quelle version PHP est installée sur votre docker?
Non seulement mon plugin mais aussi le core 4.4.19 attendent du PHP 7.4+ (et certainement d’autres plugins).
sudo pip3 install --upgrade pip
Requirement already satisfied: pip in /usr/local/lib/python3.7/dist-packages (24.0)
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: 12. Virtual Environments and Packages — Python 3.13.5 documentation
echo 5
sudo python3 -m pip install --force-reinstall --upgrade typing
Collecting typing
Downloading typing-3.7.4.3.tar.gz (78 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.6/78.6 kB 2.4 MB/s eta 0:00:00
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status ‹ done ›
Building wheels for collected packages: typing
Building wheel for typing (setup.py): started
Building wheel for typing (setup.py): finished with status ‹ done ›
Created wheel for typing: filename=typing-3.7.4.3-py3-none-any.whl size=26311 sha256=6088d9d7147cced9ceeb4e7fa2cf24286d44848e183a65bd9468b9a51971e564
Stored in directory: /root/.cache/pip/wheels/35/f3/15/01aa6571f0a72ee6ae7b827c1491c37a1f72d686fd22b43b0e
Successfully built typing
Installing collected packages: typing
Successfully installed typing-3.7.4.3
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: 12. Virtual Environments and Packages — Python 3.13.5 documentation
echo 6
sudo python3 -m pip install --force-reinstall --upgrade jeedomdaemon
Collecting jeedomdaemon
Downloading jeedomdaemon-1.2.0-py3-none-any.whl.metadata (5.2 kB)
Collecting aiohttp (from jeedomdaemon)
Downloading aiohttp-3.8.6.tar.gz (7.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.4/7.4 MB 7.1 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status ‹ done ›
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status ‹ done ›
Installing backend dependencies: started
Installing backend dependencies: finished with status ‹ done ›
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status ‹ done ›
Collecting attrs>=17.3.0 (from aiohttp->jeedomdaemon)
Downloading attrs-24.2.0-py3-none-any.whl.metadata (11 kB)
Collecting charset-normalizer<4.0,>=2.0 (from aiohttp->jeedomdaemon)
Downloading charset_normalizer-3.4.2-py3-none-any.whl.metadata (35 kB)
Collecting multidict<7.0,>=4.5 (from aiohttp->jeedomdaemon)
Downloading multidict-6.0.5-py3-none-any.whl.metadata (4.2 kB)
Collecting async-timeout<5.0,>=4.0.0a3 (from aiohttp->jeedomdaemon)
Downloading async_timeout-4.0.3-py3-none-any.whl.metadata (4.2 kB)
Collecting yarl<2.0,>=1.0 (from aiohttp->jeedomdaemon)
Downloading yarl-1.9.4-py3-none-any.whl.metadata (31 kB)
Collecting frozenlist>=1.1.1 (from aiohttp->jeedomdaemon)
Downloading frozenlist-1.3.3.tar.gz (66 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.6/66.6 kB 2.6 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status ‹ done ›
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status ‹ done ›
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status ‹ done ›
Collecting aiosignal>=1.1.2 (from aiohttp->jeedomdaemon)
Downloading aiosignal-1.3.1-py3-none-any.whl.metadata (4.0 kB)
Collecting asynctest==0.13.0 (from aiohttp->jeedomdaemon)
Downloading asynctest-0.13.0-py3-none-any.whl.metadata (5.4 kB)
Collecting typing-extensions>=3.7.4 (from aiohttp->jeedomdaemon)
Downloading typing_extensions-4.7.1-py3-none-any.whl.metadata (3.1 kB)
Collecting importlib-metadata (from attrs>=17.3.0->aiohttp->jeedomdaemon)
Downloading importlib_metadata-6.7.0-py3-none-any.whl.metadata (4.9 kB)
Collecting idna>=2.0 (from yarl<2.0,>=1.0->aiohttp->jeedomdaemon)
Downloading idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting zipp>=0.5 (from importlib-metadata->attrs>=17.3.0->aiohttp->jeedomdaemon)
Downloading zipp-3.15.0-py3-none-any.whl.metadata (3.7 kB)
Downloading jeedomdaemon-1.2.0-py3-none-any.whl (13 kB)
Downloading asynctest-0.13.0-py3-none-any.whl (26 kB)
Downloading aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Downloading async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
Downloading attrs-24.2.0-py3-none-any.whl (63 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.0/63.0 kB 2.3 MB/s eta 0:00:00
Downloading charset_normalizer-3.4.2-py3-none-any.whl (52 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.6/52.6 kB 2.0 MB/s eta 0:00:00
Downloading multidict-6.0.5-py3-none-any.whl (9.7 kB)
Downloading typing_extensions-4.7.1-py3-none-any.whl (33 kB)
Downloading yarl-1.9.4-py3-none-any.whl (31 kB)
Downloading idna-3.10-py3-none-any.whl (70 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.4/70.4 kB 2.2 MB/s eta 0:00:00
Downloading importlib_metadata-6.7.0-py3-none-any.whl (22 kB)
Downloading zipp-3.15.0-py3-none-any.whl (6.8 kB)
Building wheels for collected packages: aiohttp, frozenlist
Building wheel for aiohttp (pyproject.toml): started
Building wheel for aiohttp (pyproject.toml): still running…
Building wheel for aiohttp (pyproject.toml): still running…
Building wheel for aiohttp (pyproject.toml): finished with status ‹ done ›
Created wheel for aiohttp: filename=aiohttp-3.8.6-cp37-cp37m-linux_armv7l.whl size=506185 sha256=4cfe9234d192673758a2c9b6a26723abe22c146f45730a9d3ad2d89952a1eba5
Stored in directory: /root/.cache/pip/wheels/d8/a7/b6/9ec7c604a729e337be5c2641be2b9d38ce5a5a82c470f3bcb3
Building wheel for frozenlist (pyproject.toml): started
Building wheel for frozenlist (pyproject.toml): finished with status ‹ done ›
Created wheel for frozenlist: filename=frozenlist-1.3.3-cp37-cp37m-linux_armv7l.whl size=66082 sha256=1c4141c1ecbb831732b5b4ff1a47b0754d501848c6c3ce0e4f6eaf22c968882a
Stored in directory: /root/.cache/pip/wheels/bc/32/f8/c782debf83e03e0de60433ecc763748c578172d36c1235f8c8
Successfully built aiohttp frozenlist
Installing collected packages: zipp, typing-extensions, multidict, idna, frozenlist, charset-normalizer, asynctest, yarl, importlib-metadata, async-timeout, aiosignal, attrs, aiohttp, jeedomdaemon
Attempting uninstall: typing-extensions
Found existing installation: typing-extensions 3.7.4.3
Uninstalling typing-extensions-3.7.4.3:
Successfully uninstalled typing-extensions-3.7.4.3
Attempting uninstall: multidict
Found existing installation: multidict 5.1.0
Uninstalling multidict-5.1.0:
Successfully uninstalled multidict-5.1.0
Attempting uninstall: idna
Found existing installation: idna 2.6
Uninstalling idna-2.6:
Successfully uninstalled idna-2.6
Attempting uninstall: yarl
Found existing installation: yarl 1.6.3
Uninstalling yarl-1.6.3:
Successfully uninstalled yarl-1.6.3
Attempting uninstall: async-timeout
Found existing installation: async-timeout 3.0.1
Uninstalling async-timeout-3.0.1:
Successfully uninstalled async-timeout-3.0.1
Attempting uninstall: attrs
Found existing installation: attrs 20.3.0
Uninstalling attrs-20.3.0:
Successfully uninstalled attrs-20.3.0
Attempting uninstall: aiohttp
Found existing installation: aiohttp 3.7.4.post0
Uninstalling aiohttp-3.7.4.post0:
Successfully uninstalled aiohttp-3.7.4.post0
Successfully installed aiohttp-3.8.6 aiosignal-1.3.1 async-timeout-4.0.3 asynctest-0.13.0 attrs-24.2.0 charset-normalizer-3.4.2 frozenlist-1.3.3 idna-3.10 importlib-metadata-6.7.0 jeedomdaemon-1.2.0 multidict-6.0.5 typing-extensions-4.7.1 yarl-1.9.4 zipp-3.15.0
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: 12. Virtual Environments and Packages — Python 3.13.5 documentation
Le plugin NUT est en erreur car la mise à jour n’est pas possible en debian 10. Mais à moins que Debian 10 soit le problème pour le plugin MyTado, ça ne devrait pas influancer.
Debian 10 est obsolète depuis un an. Idéalement il faudrait passer votre box à debian 11. Mais un pi3b est maintenant limite en terme de ses capacités.