Bonjour,
mon Jeedom est dans une VM sur une Freebox avec Debian 11 et PHP 8.2
mais je n’arrive pas a faire la MAJ du CORE vers 4.4.9.
et biensur, lorsque la MAJ a planté, le Jeedom est mort, obliger de réinstallé un nouveau jeedom et redescendre la sauvegarde.
Je n’ose meme plus faire les MAJ des plugins.
depuis l’interphace en ligne :
dans le fichier Http.error :
[Tue Aug 13 13:29:59.824935 2024] [php:error] [pid 1188:tid 1188] [client 192.168.1.113:59750] script '/var/www/html/core/api/jeeApi.php' not found or unable to stat
[Tue Aug 13 13:29:59.926537 2024] [php:error] [pid 724:tid 724] [client 192.168.1.113:59764] script '/var/www/html/core/api/jeeApi.php' not found or unable to stat
Dans le Update :
[PROGRESS][50]
Remove temporary files...OK
[PROGRESS][52]
Remove useless files...
Cleaning 3rdparty
Cleaning desktop
Cleaning mobile
Cleaning core
Cleaning docs
Cleaning install
Cleaning script
find: '/var/www/html/install/../script/*': No such file or directory
OK
[PROGRESS][53]
Update composer file...
OK
[PROGRESS][58]
Update jeedom information date...
OK
[PROGRESS][59]
[PROGRESS][60]
Check jeedom consistency...
PHP Fatal error: Uncaught Error: Failed opening required '/var/www/html/install/consistency.php' (include_path='.:/usr/share/php') in /var/www/html/install/update.php:313
Stack trace:
#0 {main}
thrown in /var/www/html/install/update.php on line 313
Apres verification le fichier consistency.php n’existe pas dans /var/www/html/install/
j’arrive a reproduire le pb avec dans une VM avec une Debian 11 ou 12 et la restauration du backup de mon Jeedom
l’OS est full update (APT-get update / Apt-get upgrade)
cela bloque aussi au meme endroit avec un update de Jeedom en ligne de commande
[PROGRESS][60]
Check jeedom consistency...
PHP Fatal error: Uncaught Error: Failed opening required '/var/www/html/install/consistency.php' (include_path='.:/usr/share/php') in /var/www/html/install/update.php:313
Stack trace:
#0 {main}
thrown in /var/www/html/install/update.php on line 313
Si l’un de vous peut m’aider ?
Merci d’avance.
Mips
Août 13, 2024, 11:48
2
Bonjour,
Vous n’êtes pas sensé avoir php8 sur debian 11 et jeedom n’est pas 100% compatible php8.
Comme vous n’êtes pas dans le standard, impossible de vous aider.
Installez une nouvelle machine en respectant les standards (debian 11 et php7) et restaurez un ancien backup.
je ne peux pas repasser sur PHP 7, J’ai deja ouvert un sujet dessu et c’est impossible…
et a ma connaissance Jeedom supporte le PHP 8 depuis la version 4.4.1 !!
nebz
Août 13, 2024, 12:03
4
Bonjour,
C’est donc le second problème qui vous prouve qu’il faut réinstaller un système propre et restaurer une sauvegarde.
Nous ne pourrons pas vous donner d’autre conseil malheureusement… c’est la source de vos problèmes…
Imaginons même que Loïc résolve votre problème, il le fera en alpha pour la prochaine version 4.5 qui sortira à date inconnue
Les changements pour php8 auxquel vous faites référence sont dans changements sans lesquels vous n’auriez même pas pu faire fonctionner jeedom sur php8, ce que vous semblez faire depuis des mois.
Loic
Août 13, 2024, 12:19
5
Y’a pas un soucis de place ou sur le filesystem ? Ce fichier fait partie du core je ne vois pas comment il peut être absent
jpty
Août 13, 2024, 12:50
6
Bonjour,
Pas assez de place dans /tmp/jeedom ?
Libre à 98% sur la page santé. Sans connaitre sa capacité.
~88Mo de zip + ~145Mo installation dézippée
1 « J'aime »
J’ai encore de la place …
Alors, pour être bien clair, Oui, j 'ai fais une bêtise en passant sur du PHP 8, mais je ne peux plus revenir en arrière, je fais avec…
Ensuite, je n’attends pas a avoir un correctif dans la journée,
si je poste c’est pour aider la communauté Jeedom a évoluer et a débuger,
je suis prêt a faire des tests, monter des VM pour aider a mon humble niveau.
j’ai déjà remonté des bugs qui ont été corrigé dans les versions suivantes…
Je rappel que PHP 7 est en fin de support depuis décembre 2022 ! et qu’il faudrait passer sur PHP 8 maintenant. donc si personne ne test, il n’y aura aucune évolution.
Merci pour tous le travail que vous faite, Jeedom est une super solution de domotique, que j’apprécie beaucoup et que je souhaite voir évoluer.
1 « J'aime »
jpty
Août 13, 2024, 1:37
8
J’essaierais quand même d’augmenter la taille du filesystem de /tmp/jeedom
C’est très juste. 252 - 88 - 145 : reste 19Mo
Loic
Août 13, 2024, 1:39
9
Le soucis n’est pas php 8 la, ca le sera surement plus tard car Debian 11 php 8 ca va pas ensemble mais c’est autre chose.
La le soucis c’est comme dit soit un manque de place soit une corruption du filesystem pour ce type d’erreur et depuis les débuts de Jeedom je n’ai jamais eu d’autre cas.
Clairement la quand il décompresse l’archive (il n’y a pas de soucis sur l’archive car pour rappel elle vient directement de GitHub rien ne passe par les serveurs Jeedom) il manque des fichiers a la fin.
Bonjour,
C’est quand même un peu sous estimer la communauté et le nombre de personnes qui testent sous debian 12 et donc php8.
Loic
Août 13, 2024, 1:43
11
J’avoue pour info je tourne en Debian 12 php 8 depuis plus de 1 an et je corrige dès que je vois un soucis ou qu’on me le remonte. Le soucis sera plus Debian 11 php 8.
Alors voici ce que je viens de faie a l’instant :
Installation d’une Debian 12 dans une VM avec 128Go de disque.
su -
apt-get update
apt-get upgrade
wget https://www.jeedom.com/install
chmod +x install
./install
Reboot
Installation OK, Fichier presents
Lancement de la restauration de mon Backup
Je lance l’update manuellement :
su -
cd /root
wget https://github.com/jeedom/core/archive/V4-stable.zip
unzip V4-stable.zip
cp -R core-4-stable/* /var/www/html
cp -R core-4-stable/.[^.]* /var/www/html
php /var/www/html/install/update.php mode=force
Meme probleme :
et le répertoire est vide :
et j’ai encore de la place …
Le Log complet de la MAJ :
root@JeedomD12:~# php /var/www/html/install/update.php mode=force
[START UPDATE]
[PROGRESS][1]
****Update from 4.4.9 (2024-08-13 16:19:42)****
Parameters : {"mode":"force"}
Send begin of update event...OK
Check update...OK
[PROGRESS][5]
Check rights...OK
[PROGRESS][10]
/!\ Force update /!\
[PROGRESS][15]
Download url : https://github.com/jeedom/core/archive/V4-stable.zip
Download in progress...--2024-08-13 16:19:43-- https://github.com/jeedom/core/archive/V4-stable.zip
Résolution de github.com (github.com)… 140.82.121.3
Connexion à github.com (github.com)|140.82.121.3|:443… connecté.
requête HTTP transmise, en attente de la réponse… 302 Found
Emplacement : https://codeload.github.com/jeedom/core/zip/refs/heads/V4-stable [suivant]
--2024-08-13 16:19:43-- https://codeload.github.com/jeedom/core/zip/refs/heads/V4-stable
Résolution de codeload.github.com (codeload.github.com)… 140.82.121.9
Connexion à codeload.github.com (codeload.github.com)|140.82.121.9|:443… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 88173280 (84M) [application/zip]
Sauvegarde en : « /tmp/jeedom/install/jeedom_update.zip »
0K ........ ........ ........ ........ ........ ........ 3% 33,2M 2s
3072K ........ ........ ........ ........ ........ ........ 7% 19,3M 3s
6144K ........ ........ ........ ........ ........ ........ 10% 19,3M 3s
9216K ........ ........ ........ ........ ........ ........ 14% 19,2M 3s
12288K ........ ........ ........ ........ ........ ........ 17% 33,7M 3s
15360K ........ ........ ........ ........ ........ ........ 21% 19,3M 3s
18432K ........ ........ ........ ........ ........ ........ 24% 19,4M 3s
21504K ........ ........ ........ ........ ........ ........ 28% 19,3M 3s
24576K ........ ........ ........ ........ ........ ........ 32% 19,3M 3s
27648K ........ ........ ........ ........ ........ ........ 35% 32,9M 2s
30720K ........ ........ ........ ........ ........ ........ 39% 19,4M 2s
33792K ........ ........ ........ ........ ........ ........ 42% 19,3M 2s
36864K ........ ........ ........ ........ ........ ........ 46% 19,2M 2s
39936K ........ ........ ........ ........ ........ ........ 49% 34,2M 2s
43008K ........ ........ ........ ........ ........ ........ 53% 19,2M 2s
46080K ........ ........ ........ ........ ........ ........ 57% 19,3M 2s
49152K ........ ........ ........ ........ ........ ........ 60% 19,3M 2s
52224K ........ ........ ........ ........ ........ ........ 64% 24,5M 1s
55296K ........ ........ ........ ........ ........ ........ 67% 24,4M 1s
58368K ........ ........ ........ ........ ........ ........ 71% 18,9M 1s
61440K ........ ........ ........ ........ ........ ........ 74% 19,3M 1s
64512K ........ ........ ........ ........ ........ ........ 78% 19,4M 1s
67584K ........ ........ ........ ........ ........ ........ 82% 34,0M 1s
70656K ........ ........ ........ ........ ........ ........ 85% 18,3M 1s
73728K ........ ........ ........ ........ ........ ........ 89% 20,1M 0s
76800K ........ ........ ........ ........ ........ ........ 92% 12,3M 0s
79872K ........ ........ ........ ........ ........ ........ 96% 36,2M 0s
82944K ........ ........ ........ ........ ........ ........ 99% 13,0M 0s
86016K . 100% 122M=4,1s
2024-08-13 16:19:47 (20,8 MB/s) — « /tmp/jeedom/install/jeedom_update.zip » sauvegardé [88173280/88173280]
[PROGRESS][25]
OK
Cleaning folders...OK
[PROGRESS][30]
Create temporary folder...OK
[PROGRESS][35]
Unzip in progress...OK
[PROGRESS][40]
Clean temporary files (tmp)...OK
Disable all taskkill: (27841): Aucun processus de ce type
.kill: (31576): Aucun processus de ce type
..kill: (42342): Aucun processus de ce type
. OK
Disable all scenario.............. OK
[PROGRESS][45]
Moving files...Ignore file /tmp/jeedom_unzip/core-4-stable///docs/de_DE/noteVersion.md because size is 0
Ignore file /tmp/jeedom_unzip/core-4-stable///docs/en_US/noteVersion.md because size is 0
Ignore file /tmp/jeedom_unzip/core-4-stable///docs/es_ES/noteVersion.md because size is 0
Ignore file /tmp/jeedom_unzip/core-4-stable///docs/fr_FR/noteVersion.md because size is 0
Ignore file /tmp/jeedom_unzip/core-4-stable///docs/pt_PT/noteVersion.md because size is 0
OK
[PROGRESS][50]
Remove temporary files...OK
[PROGRESS][52]
Remove useless files...
Cleaning 3rdparty
Cleaning desktop
Cleaning mobile
Cleaning core
Cleaning docs
Cleaning install
Cleaning script
find: ‘/var/www/html/install/../script/*’: Aucun fichier ou dossier de ce type
OK
[PROGRESS][53]
Update composer file...
OK
[PROGRESS][58]
Update jeedom information date...
OK
[PROGRESS][59]
[PROGRESS][60]
Check jeedom consistency...
PHP Fatal error: Uncaught Error: Failed opening required '/var/www/html/install/consistency.php' (include_path='.:/usr/share/php') in /var/www/html/install/update.php:313
Stack trace:
#0 {main}
thrown in /var/www/html/install/update.php on line 313
root@JeedomD12:~#
Loic
Août 13, 2024, 2:29
14
Le seul truc que je vois c’est un soucis de date de fichier pourrais tu avant la commande :
cp -R core-4-stable/* /var/www/html
Me donner le retour de ls -la core-4-stable/install/*
root@JeedomD12:~# cd /var/www/html/
root@JeedomD12:/var/www/html# ls -la core-4-stable/install/*
-rwxrwxr-x 1 www-data www-data 155 13 août 16:29 core-4-stable/install/apache_default
-rwxrwxr-x 1 www-data www-data 68 13 août 16:29 core-4-stable/install/apache_remoteip
-rwxrwxr-x 1 www-data www-data 1075 13 août 16:29 core-4-stable/install/apache_security
-rwxrwxr-x 1 www-data www-data 893 13 août 16:29 core-4-stable/install/apache_security_unsecure
-rwxrwxr-x 1 www-data www-data 8847 13 août 16:29 core-4-stable/install/backup.php
-rwxrwxr-x 1 www-data www-data 3138 13 août 16:29 core-4-stable/install/bashrc
-rwxrwxr-x 1 www-data www-data 7248 13 août 16:29 core-4-stable/install/cleaning.php
-rwxrwxr-x 1 www-data www-data 15013 13 août 16:29 core-4-stable/install/consistency.php
-rwxrwxr-x 1 www-data www-data 54251 13 août 16:29 core-4-stable/install/database.json
-rwxrwxr-x 1 www-data www-data 1113 13 août 16:29 core-4-stable/install/database.php
-rwxrwxr-x 1 www-data www-data 1341 13 août 16:29 core-4-stable/install/fail2ban.jeedom.conf
-rwxrwxr-x 1 www-data www-data 402 13 août 16:29 core-4-stable/install/fix_apache_private_tmp.sh
-rwxrwxr-x 1 www-data www-data 2731 13 août 16:29 core-4-stable/install/install.php
-rwxrwxr-x 1 www-data www-data 17850 13 août 16:29 core-4-stable/install/install.sh
-rwxrwxr-x 1 www-data www-data 405 13 août 16:29 core-4-stable/install/motd
-rwxrwxr-x 1 www-data www-data 2555 13 août 16:29 core-4-stable/install/nginx_default
-rwxrwxr-x 1 www-data www-data 1809 13 août 16:29 core-4-stable/install/packages.json
-rwxrwxr-x 1 www-data www-data 1134 13 août 16:29 core-4-stable/install/packages.php
-rwxrwxr-x 1 www-data www-data 1393 13 août 16:29 core-4-stable/install/reset_password.php
-rwxrwxr-x 1 www-data www-data 7588 13 août 16:29 core-4-stable/install/restore.php
-rwxrwxr-x 1 www-data www-data 10389 13 août 16:29 core-4-stable/install/setup.php
-rwxrwxr-x 1 www-data www-data 12552 13 août 16:29 core-4-stable/install/update.php
core-4-stable/install/OS_specific:
total 24
drwxrwxr-x 5 www-data www-data 4096 13 août 16:29 .
drwxrwxr-x 4 www-data www-data 4096 13 août 16:29 ..
drwxrwxr-x 2 www-data www-data 4096 13 août 16:29 armbian
drwxrwxr-x 2 www-data www-data 4096 13 août 16:29 Docker
-rwxrwxr-x 1 www-data www-data 30 13 août 16:29 .htaccess
drwxrwxr-x 2 www-data www-data 4096 13 août 16:29 rpi
core-4-stable/install/update:
total 104
drwxrwxr-x 2 www-data www-data 4096 13 août 16:29 .
drwxrwxr-x 4 www-data www-data 4096 13 août 16:29 ..
-rwxrwxr-x 1 www-data www-data 301 13 août 16:29 4.0.11.php
-rwxrwxr-x 1 www-data www-data 349 13 août 16:29 4.0.15.php
-rwxrwxr-x 1 www-data www-data 477 13 août 16:29 4.0.1.php
-rwxrwxr-x 1 www-data www-data 119 13 août 16:29 4.0.23.php
-rwxrwxr-x 1 www-data www-data 1007 13 août 16:29 4.0.2.php
-rwxrwxr-x 1 www-data www-data 558 13 août 16:29 4.0.3.php
-rwxrwxr-x 1 www-data www-data 1018 13 août 16:29 4.0.4.php
-rwxrwxr-x 1 www-data www-data 2556 13 août 16:29 4.0.5.php
-rwxrwxr-x 1 www-data www-data 110 13 août 16:29 4.0.6.php
-rwxrwxr-x 1 www-data www-data 460 13 août 16:29 4.1.15.php
-rwxrwxr-x 1 www-data www-data 316 13 août 16:29 4.1.1.php
-rwxrwxr-x 1 www-data www-data 143 13 août 16:29 4.1.2.php
-rwxrwxr-x 1 www-data www-data 1134 13 août 16:29 4.1.3.php
-rwxrwxr-x 1 www-data www-data 269 13 août 16:29 4.1.4.php
-rwxrwxr-x 1 www-data www-data 441 13 août 16:29 4.1.5.php
-rwxrwxr-x 1 www-data www-data 368 13 août 16:29 4.1.7.php
-rwxrwxr-x 1 www-data www-data 129 13 août 16:29 4.2.11.php
-rwxrwxr-x 1 www-data www-data 146 13 août 16:29 4.2.3.php
-rwxrwxr-x 1 www-data www-data 413 13 août 16:29 4.2.4.php
-rwxrwxr-x 1 www-data www-data 522 13 août 16:29 4.3.0.php
-rwxrwxr-x 1 www-data www-data 820 13 août 16:29 4.3.8.php
-rwxrwxr-x 1 www-data www-data 271 13 août 16:29 4.4.1.php
-rwxrwxr-x 1 www-data www-data 1120 13 août 16:29 4.4.2.php
-rwxrwxr-x 1 www-data www-data 30 13 août 16:29 .htaccess
root@JeedomD12:/var/www/html#
Alors la, je veux bien une explication :
Installation Debian 12 avec 128GO en 1 seul partition
Installation Jeedom sans aucun plugins !
Force Update…
=> Plantage !
Aucun lien a mon Backup
Voici les commandes que j’ai faite :
su -
apt-get update
apt-get upgrade
wget https://www.jeedom.com/install
chmod +x install
./install
Reboot
su -
cd /root
wget https://github.com/jeedom/core/archive/V4-stable.zip
unzip V4-stable.zip
cp -R core-4-stable/* /var/www/html
cp -R core-4-stable/.[^.]* /var/www/html
php /var/www/html/install/update.php mode=force
Loic
Août 13, 2024, 3:30
17
J’ai jamais dit que c’était liée a ton backup donc je comprends pas trop la remarque.
Peux tu faire :
wget https://github.com/jeedom/core/archive/V4-stable.zip
unzip V4-stable.zip
cp -R core-4-stable/* /var/www/html
cp -R core-4-stable/.[^.]* /var/www/html
Et me donner le retour de
ls -lah /var/www/html/install
en faite j’étais persuadé que c’étais liée a quelques chose dans ma sauvegarde…
Et je suis encore plus curieux de comprendre ce qui ne vas pas.
Loic
Août 13, 2024, 6:19
20
Ok la c’est bon et si tu lances update tu as quoi ? Je peux avoir la log et la même commande ?