Bonjour à tous,
Jusqu’à pas très longtemps, j’étais encore sous Jessie avec un jeedom V3 qui tournait pas trop mal (mais étant novice, j’avais peur de refaire une install propre).
Je me suis enfin décider à me mettre à la page en mettant à jour mon OS sur mon RPI 3+ (car j’avais régulièrement des kernel panic sans comprendre d’où cela pouvait provenir).
→ Je suis maintenant sous Buster + jeedom V4.
Après 2 jours (j’ai migré le 25/01 au soir), j’ai quelques messages d’erreurs et constats qui m’inquiètent :
- Dans mon rapport « Jeedom Watcher » que je reçoit (qui n’apparait plus d’ailleurs dans le Market, je pense qu’il n’est plus compatible V4), j’ai ce message d’erreur « Attention le répertoire tmp n’est en mémoire »
- Au niveau de ma page Santé, j’ai la ligne « mémoire disponible » qui baisse rapidement (ici 39%)
- Mon historique de la mémoire confirme que j’ai un soucis depuis l’installation
- Dans le log cron_execution, je vois ces messages générés lors de l’installation
2021-01-25 20:47:03 starting Jeedommkdir: cannot create directory ‘/tmp/jeedom/cache’: File exists
Enable scenario : OK
Enable task : OK
[Erreur] scenario::check() : [MySQL] Error code : 42S02 (1146). Table 'jeedom.scenario' doesn't exist : SELECT `id`, `name`, `isActive`, `group`, `mode`, `schedule`, `scenarioElement`, `trigger`, `timeout`, `object_id`, `isVisible`, `display`, `order`, `description`, `configuration`, `type`
FROM scenario
WHERE `mode` != "provoke"
AND `mode` != ""
AND `schedule` != ""
AND isActive=1
PHP Fatal error: Uncaught InvalidArgumentException: The directory "/tmp/jeedom/cache" is not writable. in /var/www/html/vendor/doctrine/cache/lib/Doctrine/Common/Cache/FileCache.php:92
Stack trace:
#0 /var/www/html/vendor/doctrine/cache/lib/Doctrine/Common/Cache/FilesystemCache.php(37): Doctrine\Common\Cache\FileCache->__construct('/tmp/jeedom/cac...', '.doctrinecache....', 2)
#1 /var/www/html/core/class/cache.class.php(116): Doctrine\Common\Cache\FilesystemCache->__construct('/tmp/jeedom/cac...')
#2 /var/www/html/core/class/cache.class.php(146): cache::getCache()
#3 /var/www/html/core/class/cron.class.php(575): cache::byKey('cronCacheAttr32...')
#4 /var/www/html/core/class/cron.class.php(490): cron->setCache('state', 'error')
#5 /var/www/html/core/php/jeeCron.php(148): cron->setState('error')
#6 {main}
thrown in /var/www/html/vendor/doctrine/cache/lib/Doctrine/Common/Cache/FileCache.php on line 92
PHP Fatal error: Uncaught InvalidArgumentException: The directory "/tmp/jeedom/cache" is not writable. in /var/www/html/vendor/doctrine/cache/lib/Doctrine/Common/Cache/FileCache.php:92
Stack trace:
#0 /var/www/html/vendor/doctrine/cache/lib/Doctrine/Common/Cache/FilesystemCache.php(37): Doctrine\Common\Cache\FileCache->__construct('/tmp/jeedom/cac...', '.doctrinecache....', 2)
#1 /var/www/html/core/class/cache.class.php(116): Doctrine\Common\Cache\FilesystemCache->__construct('/tmp/jeedom/cac...')
#2 /var/www/html/core/class/cache.class.php(146): cache::getCache()
#3 /var/www/html/core/class/cron.class.php(575): cache::byKey('cronCacheAttr32...')
#4 /var/www/html/core/class/cron.class.php(490): cron->setCache('state', 'error')
#5 /var/www/html/core/php/jeeCron.php(148): cron->setState('error')
#6 {main}
thrown in /var/www/html/vendor/doctrine/cache/lib/Doctrine/Common/Cache/FileCache.php on line 92
warning: commands will be executed using /bin/sh
job 1 at Mon Jan 25 19:58:00 2021
/var/www/html/plugins/googlecast/core/class/../../resources/install_check.sh: line 24: echo: write error: Broken pipe
warning: commands will be executed using /bin/sh
job 2 at Mon Jan 25 20:00:00 2021
warning: commands will be executed using /bin/sh
job 3 at Mon Jan 25 20:00:00 2021
warning: commands will be executed using /bin/sh
job 4 at Mon Jan 25 20:05:00 2021
warning: commands will be executed using /bin/sh
job 5 at Mon Jan 25 20:05:00 2021
2021-01-25 21:07:03 starting Jeedom
Enable scenario : OK
Enable task : OK
warning: commands will be executed using /bin/sh
job 6 at Mon Jan 25 20:08:00 2021
2021-01-25 23:32:03 starting Jeedom Enable scenario : OK
Enable task : OK
sh: 1: cannot create /var/www/html/core/class/../../log/cloudsyncpro.#5070: Permission denied
sh: 1: cannot create /var/www/html/core/class/../../log/cloudsyncpro.#5071: Permission denied
sh: 1: cannot create /var/www/html/core/class/../../log/scenarioLog/scenario164.log: Permission denied
J’ai pourtant suivi le manuel d’installation Jeedom en repartant d’une installation vierge et je n’avais pas ce pb avant.
Voici ce que j’ai fait :
- Utilisation de Raspberry PI Imager pour installer l’OS sur une carte SD neuve et sur un SSD
- Modification du fichier config.txt pour permettre de booter sur le SSD
- Retrait de la carte SD et boot sur le SSD (avant je bootais sur la SD et j’avais jeedom sur un SSD)
- Installation de jeedom V4 (sur le SSD donc) en suivant les instructions jeedom (j’aurais dû peut-être installer Jeedom V3 vu l’étape d’après, je n’y ai pas pensé sur le coup)
- Restauration de ma sauvegarde Jeedom faite en V3
- Mise à jour de jeedom pour repasser en V4
→ Depuis donc j’ai tout retrouvé (en plus beau …
Ce message de pb d’écriture sur le « /tmp/jeedom/cache » est sûrement une piste mais je ne comprends pas ce que j’ai fait de mal ou ce que j’ai oublié de faire.
Avez-vous déjà eu ce type de pb ? Auriez-vous une piste ?
Merci à tous par avance !