Erreur 500 suite mise à jour

Bonjour,
J’ai une erreur 500 lorsque j’essaie de me connecter à l’interface depuis plusieurs jours.
Je n’ai pas accès au rescue (pas de DNS).
J’ai accès à max box en la branchant à un ordi, elle semble bien fonctionner mais je n’ai plus l’interface …
J’ai essayé de faire une restauration mais les seuls backups dispos semblent être des versions en 4.4.3 ce qui ne m’aide donc absolument pas.
Quelqu’un aurait-il une idée svp ?

Bonjour,

Aucun lien entre les deux; le rescue c’est préférable en local de toute façon.
Donc réessayez.

Bonjour,
Merci pour votre réponse.
J’ai réessayé en ligne de commande sans succès malheureusement.
J’ai quand même retenté d’accéder au « rescue » en mettant rexcue=1 mais le message « [Erreur 2] Impossible de trouver votre box, est-elle bien connectée aux réseaux dns ? » apparait …

Bonjour.

Vous avez bien tenté avec votre adresse IP locale ?
Elle répond aux poings cette box ?

Bonjour,
Je n’avais pas fait le test mais le ping répond bien effectivement.

Ce n’est pas en ligne de commande mais via navigateur mais avec l’ip locale

Désolé mais je ne comprends pas très bien ce que vous me conseillez : si je ping ma box avec son IP locals via cmd, le ping est ok. SI je mets l’adresse IP de ma box dans un navigateur, j’obtiens une erreur 500.

J’ai déplacé mes backups afin que restore prenne le plus ancien de ceux que j’ai mais cela ne fonctionne toujours pas … Help please

Reste plus qu’à utiliser le paramètre rescue et vous n’aurez plus l’erreur 500

Bonjour à tous,

Meme soucis suite à une mise à jour j’ai l’erreur 500
Voici les log de la mise à jour

[START UPDATE]
****Update from 4.3.22 (2024-05-03 12:57:40)****
Parameters : {"preUpdate":"0","backup::before":"1","plugins":"1","core":"1","force":"0","update::reapply":""}
Send begin of update event | OK
Check update | OK
Check rights | OK
[START BACKUP]
***************Start of Jeedom backup at 2024-05-03 12:57:49***************
Send begin backup event | OK
Checking files rights | OK
Checking  database | OK
Backing up database | OK
Cache persistence: | OK
Creating archive | OK
Cleaning old backup | OK
Limiting backup size to 500 Mb
Delete: /var/www/html/core/php///backup/backup-DomoSmart-4.3.22-2024-04-30-04h00.tar.gz | OK
Backup name: /var/www/html/core/php///backup/backup-DomoSmart-4.3.22-2024-05-03-12h57.tar.gz
Checking files rights | OK
Send end backup event | OK
Backup operation duration: 968s
***************Jeedom backup end***************
[END BACKUP SUCCESS]
Download url : https://github.com/jeedom/core/archive/V4-stable.zip
Download in progress--2024-05-03 12:13:57--  https://github.com/jeedom/core/archive/V4-stable.zip
Resolving github.com (github.com) 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443 connected.
HTTP request sent, awaiting response 302 Found
Location: https://codeload.github.com/jeedom/core/zip/refs/heads/V4-stable [following]
--2024-05-03 12:13:57--  https://codeload.github.com/jeedom/core/zip/refs/heads/V4-stable
Resolving codeload.github.com (codeload.github.com) 140.82.121.9
Connecting to codeload.github.com (codeload.github.com)|140.82.121.9|:443 connected.
HTTP request sent, awaiting response
200 | OK
Length: 87542081 (83M) [application/zip]
Saving to: '/tmp/jeedom/install/jeedom_update.zip'
0K        3% 21.0M 4s
3072K        7% 35.7M 3s
6144K       10% 31.3M 3s
9216K       14% 31.4M 2s
12288K       17% 35.2M 2s
15360K       21% 34.2M 2s
18432K       25% 33.2M 2s
21504K       28% 32.2M 2s
24576K       32% 31.4M 2s
27648K       35% 34.6M 2s
30720K
39% 31.7M 2s
33792K       43% 35.1M 1s
36864K       46% 36.3M 1s
39936K       50% 32.7M 1s
43008K       53% 27.0M 1s
46080K       57% 34.7M 1s
49152K       61% 34.7M 1s
52224K       64% 31.2M 1s
55296K       68% 31.7M 1s
58368K       71% 30.6M 1s
61440K       75% 33.6M 1s
64512K       79% 34.7M 1s
67584K  .
82% 33.9M 0s
70656K       86% 32.0M 0s
73728K       89% 34.1M 0s
76800K       93% 31.5M 0s
79872K       97% 33.2M 0s
82944K               100% 27.1M=2.6s
2024-05-03 12:14:00 (32.0 MB/s) - '/tmp/jeedom/install/jeedom_update.zip' saved [87542081/87542081] | OK
Cleaning folders | OK
Create temporary folder | OK
Unzip in progress | OK
Clean temporary files (tmp) | OK
Disable all task
kill: (186763): No such process
 | OK
Disable all scenario
 | OK
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
Remove temporary files | OK
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
Cleaning vendor
Update system into : 4.4.1 | OK
Update system into : 4.4.2 | OK
Check jeedom consistency
[START CONSISTENCY]
[START CHECK AND FIX DB]
Fix : ALTER TABLE `cmd` DROP INDEX `unique`;
Fix : ALTER TABLE `cmd` DROP INDEX `isHistorized`;
Fix : ALTER TABLE `cmd` DROP INDEX `type`;
Fix : ALTER TABLE `cmd` DROP INDEX `name`;
Fix : ALTER TABLE `cmd` DROP INDEX `subtype`;
Fix : ALTER TABLE `cmd` DROP INDEX `eqLogic_id`;
Fix : ALTER TABLE `cmd` DROP INDEX `value`;
Fix : ALTER TABLE `cmd` DROP INDEX `order`;
Fix : ALTER TABLE `cmd` DROP INDEX `logicalID`;
Fix : ALTER TABLE `cmd` MODIFY COLUMN `logicalId`  varchar(1023) NULL
Fix :
CREATE UNIQUE INDEX `unique` ON `cmd` (`eqLogic_id` ASC,`name` ASC)
Fix :
CREATE INDEX `isHistorized` ON `cmd` (`isHistorized` ASC)
Fix :
CREATE INDEX `type` ON `cmd` (`type` ASC)
Fix :
CREATE INDEX `name` ON `cmd` (`name` ASC)
Fix :
CREATE INDEX `subtype` ON `cmd` (`subType` ASC)
Fix :
CREATE INDEX `eqLogic_id` ON `cmd` (`eqLogic_id` ASC)
Fix :
CREATE INDEX `value` ON `cmd` (`value` ASC)
Fix :
CREATE INDEX `order` ON `cmd` (`order` ASC)
Fix :
CREATE INDEX `logicalID` ON `cmd` (`logicalId` ASC)[END CHECK AND FIX DB]
Check jeedom package | OK
Check jeedom database
Fix : ALTER TABLE `cmd` DROP INDEX `logicalID`;
Fix :
CREATE INDEX `logicalID` ON `cmd` (`logicalId` ASC) | OK
Check crons
Check filesystem right | OK
Flush cache widget

Le mode « rescue » fonctionne bien
je joint les log http.error ci dessous

0000|Created directory: /var/lib/snmp/cert_indexes
0001|[Fri May 03 07:46:46.271811 2024] [mpm_prefork:notice] [pid 30799] AH00163: Apache/2.4.59 (Debian) configured -- resuming normal operations
0002|[Fri May 03 07:46:46.272016 2024] [core:notice] [pid 30799] AH00094: Command line: '/usr/sbin/apache2'
0003|[Fri May 03 07:57:07.830988 2024] [php7:error] [pid 35197] [client 109.209.74.202:53094] PHP Fatal error:  Uncaught Exception: [MySQL] Error code : 42S02 (1146). Table 'jeedom.config' doesn't exist  : SELECT `key`,`value`\n\t\tFROM config\n\t\tWHERE `key` IN ('language')\n\t\tAND plugin=:plugin in /var/www/html/core/class/DB.class.php:102\nStack trace:\n#0 /var/www/html/core/class/config.class.php(192): DB::Prepare()\n#1 /var/www/html/core/class/translate.class.php(51): config::byKeys()\n#2 /var/www/html/core/class/translate.class.php(207): translate::getConfig()\n#3 /var/www/html/core/class/translate.class.php(102): translate::getLanguage()\n#4 /var/www/html/core/class/translate.class.php(81): translate::exec()\n#5 /var/www/html/core/class/translate.class.php(220): translate::sentence()\n#6 /var/www/html/core/config/jeedom.config.php(23): __()\n#7 /var/www/html/core/php/utils.inc.php(79): require_once('/var/www/html/c...')\n#8 /var/www/html/core/php/core.inc.php(27): include_file()\n#9 /var/www/html/plugins/JeedomConnect/core/api/JeedomConnect.api.php(21): require_once('/var/www/html/c...')\n#10 {main}\n  thrown in /var/www/html/core/class/DB.class.php on line 102
0004|[Fri May 03 07:57:08.614947 2024] [php7:error] [pid 30804] [client 192.168.1.18:52915] PHP Fatal error:  Uncaught Error: Class 'ajax' not found in /var/www/html/core/ajax/log.ajax.php:68\nStack trace:\n#0 {main}\n  thrown in /var/www/html/core/ajax/log.ajax.php on line 68
0005|[Fri May 03 07:57:08.759564 2024] [php7:error] [pid 35199] [client 192.168.1.18:52920] PHP Fatal error:  Uncaught Error: Class 'ajax' not found in /var/www/html/core/ajax/log.ajax.php:68\nStack trace:\n#0 {main}\n  thrown in /var/www/html/core/ajax/log.ajax.php on line 68
0006|[Fri May 03 07:57:08.895693 2024] [php7:error] [pid 35200] [client 192.168.1.18:52921] PHP Fatal error:  Uncaught Error: Class 'ajax' not found in /var/www/html/core/ajax/log.ajax.php:68\nStack trace:\n#0 {main}\n  thrown in /var/www/html/core/ajax/log.ajax.php on line 68
0007|[Fri May 03 07:57:09.027865 2024] [php7:error] [pid 35201] [client 192.168.1.18:52922] PHP Fatal error:  Uncaught Error: Class 'ajax' not found in /var/www/html/core/ajax/log.ajax.php:68\nStack trace:\n#0 {main}\n  thrown in /var/www/html/core/ajax/log.ajax.php on line 68
0008|[Fri May 03 08:06:48.835940 2024] [php7:error] [pid 45657] [client 127.0.0.1:54388] PHP Fatal error:  Uncaught Exception: [MySQL] Error code : 42S02 (1146). Table 'jeedom.user' doesn't exist  : SELECT `id`, `login`, `profils`, `password`, `options`, `rights`, `enable`, `hash`\n\t\tFROM user WHERE hash=:hash in /var/www/html/core/class/DB.class.php:102\nStack trace:\n#0 /var/www/html/core/class/user.class.php(195): DB::Prepare()\n#1 /var/www/html/core/class/jeedom.class.php(554): user::byHash()\n#2 /var/www/html/plugins/mqtt2/core/php/jeeMqtt2.php(19): jeedom::apiAccess()\n#3 {main}\n  thrown in /var/www/html/core/class/DB.class.php on line 102
0009|[Fri May 03 08:11:21.751546 2024] [php7:error] [pid 46058] [client 127.0.0.1:54892] PHP Fatal error:  Uncaught Exception: [MySQL] Error code : 42S02 (1146). Table 'jeedom.user' doesn't exist  : SELECT `id`, `login`, `profils`, `password`, `options`, `rights`, `enable`, `hash`\n\t\tFROM user WHERE hash=:hash in /var/www/html/core/class/DB.class.php:102\nStack trace:\n#0 /var/www/html/core/class/user.class.php(195): DB::Prepare()\n#1 /var/www/html/core/class/jeedom.class.php(554): user::byHash()\n#2 /var/www/html/plugins/mqtt2/core/php/jeeMqtt2.php(19): jeedom::apiAccess()\n#3 {main}\n  thrown in /var/www/html/core/class/DB.class.php on line 102
0010|[Fri May 03 08:16:22.126323 2024] [php7:error] [pid 46492] [client 127.0.0.1:46208] PHP Fatal error:  Uncaught Exception: [MySQL] Error code : 42S02 (1146). Table 'jeedom.user' doesn't exist  : SELECT `id`, `login`, `profils`, `password`, `options`, `rights`, `enable`, `hash`\n\t\tFROM user WHERE hash=:hash in /var/www/html/core/class/DB.class.php:102\nStack trace:\n#0 /var/www/html/core/class/user.class.php(195): DB::Prepare()\n#1 /var/www/html/core/class/jeedom.class.php(554): user::byHash()\n#2 /var/www/html/plugins/mqtt2/core/php/jeeMqtt2.php(19): jeedom::apiAccess()\n#3 {main}\n  thrown in /var/www/html/core/class/DB.class.php on line 102
0011|[Fri May 03 08:21:22.866077 2024] [php7:error] [pid 46492] [client 127.0.0.1:45458] PHP Fatal error:  Uncaught Exception: [MySQL] Error code : 42S02 (1146). Table 'jeedom.user' doesn't exist  : SELECT `id`, `login`, `profils`, `password`, `options`, `rights`, `enable`, `hash`\n\t\tFROM user WHERE hash=:hash in /var/www/html/core/class/DB.class.php:102\nStack trace:\n#0 /var/www/html/core/class/user.class.php(195): DB::Prepare()\n#1 /var/www/html/core/class/jeedom.class.php(554): user::byHash()\n#2 /var/www/html/plugins/mqtt2/core/php/jeeMqtt2.php(19): jeedom::apiAccess()\n#3 {main}\n  thrown in /var/www/html/core/class/DB.class.php on line 102
0012|sudo: python3.7: command not found
0013|[Fri May 03 08:49:47.976165 2024] [access_compat:error] [pid 84891] [client 192.168.1.18:53927] AH01797: client denied by server configuration: /var/www/html/build, referer: http://192.168.1.92/index.php?v=d&p=dashboard
0014|[Fri May 03 08:57:15.692133 2024] [mpm_prefork:notice] [pid 30799] AH00170: caught SIGWINCH, shutting down gracefully
0015|[Fri May 03 08:57:16.215865 2024] [mpm_prefork:notice] [pid 94957] AH00163: Apache/2.4.59 (Debian) configured -- resuming normal operations
0016|[Fri May 03 08:57:16.216149 2024] [core:notice] [pid 94957] AH00094: Command line: '/usr/sbin/apache2'
0017|[Fri May 03 09:16:33.233313 2024] [access_compat:error] [pid 94998] [client 45.156.128.45:41614] AH01797: client denied by server configuration: /var/www/html/zabbix
0018|sudo: python3.7: command not found
0019|Unknown device "/dev/ttyUSB0": Permission denied
0020|Unknown device "/dev/ttyACM0": Permission denied
0021|Unknown device "/dev/ttyACM1": Permission denied
0022|Unknown device "/dev/ttyACM2": Permission denied
0023|[Fri May 03 09:32:17.623335 2024] [access_compat:error] [pid 118932] [client 192.168.1.18:54649] AH01797: client denied by server configuration: /var/www/html/build, referer: http://192.168.1.92/index.php?v=d&p=dashboard
0024|Unknown device "/dev/ttyUSB0": Permission denied
0025|Unknown device "/dev/ttyACM0": Permission denied
0026|Unknown device "/dev/ttyACM1": Permission denied
0027|Unknown device "/dev/ttyACM2": Permission denied
0028|sudo: python3.7: command not found
0029|Unknown device "/dev/ttyUSB0": Permission denied
0030|Unknown device "/dev/ttyACM0": Permission denied
0031|Unknown device "/dev/ttyACM1": Permission denied
0032|Unknown device "/dev/ttyACM2": Permission denied
0033|sudo: yarn: command not found
0034|sudo: python3.7: command not found
0035|warning: commands will be executed using /bin/sh
0036|job 55 at Fri May  3 09:57:00 2024
0037|[Fri May 03 09:58:15.232298 2024] [access_compat:error] [pid 160339] [client 195.1.144.109:34052] AH01797: client denied by server configuration: /var/www/html/cgi-bin
0038|kill: (63617): No such process
0039|kill: (99116): No such process
0040|[Fri May 03 10:05:20.524584 2024] [php7:error] [pid 160384] [client 192.168.1.18:55209] PHP Fatal error:  Uncaught Error: Class 'ajax' not found in /var/www/html/core/ajax/event.ajax.php:36\nStack trace:\n#0 {main}\n  thrown in /var/www/html/core/ajax/event.ajax.php on line 36, referer: http://192.168.1.92/index.php?v=d&p=reboot
0041|[Fri May 03 10:05:20.531530 2024] [php7:error] [pid 160525] [client 192.168.1.18:55211] PHP Fatal error:  Uncaught Error: Class 'ajax' not found in /var/www/html/core/ajax/event.ajax.php:36\nStack trace:\n#0 {main}\n  thrown in /var/www/html/core/ajax/event.ajax.php on line 36, referer: http://192.168.1.92/index.php?v=d&p=scenario&id=91
0042|[Fri May 03 10:05:20.534521 2024] [php7:error] [pid 118932] [client 192.168.1.18:55210] PHP Fatal error:  Uncaught Error: Class 'ajax' not found in /var/www/html/core/ajax/event.ajax.php:36\nStack trace:\n#0 {main}\n  thrown in /var/www/html/core/ajax/event.ajax.php on line 36
0043|[Fri May 03 10:05:21.134314 2024] [mpm_prefork:notice] [pid 94957] AH00170: caught SIGWINCH, shutting down gracefully
0044|[Fri May 03 10:05:29.727694 2024] [mpm_prefork:notice] [pid 727] AH00163: Apache/2.4.59 (Debian) configured -- resuming normal operations
0045|[Fri May 03 10:05:29.728800 2024] [core:notice] [pid 727] AH00094: Command line: '/usr/sbin/apache2'
0046|[Fri May 03 10:09:43.441350 2024] [access_compat:error] [pid 1427] [client 192.168.1.18:55289] AH01797: client denied by server configuration: /var/www/html/build, referer: http://192.168.1.92/index.php?v=d&p=dashboard
0047|[Fri May 03 10:13:17.083668 2024] [access_compat:error] [pid 1301] [client 192.168.1.18:55349] AH01797: client denied by server configuration: /var/www/html/build, referer: http://192.168.1.92/index.php?v=d&p=dashboard
0048|sudo: python3.7: command not found
0049|warning: commands will be executed using /bin/sh
0050|job 60 at Fri May  3 10:15:00 2024
0051|sudo: python3.7: command not found
0052|sudo: python3.7: command not found
0053|warning: commands will be executed using /bin/sh
0054|job 69 at Fri May  3 10:49:00 2024
0055|sudo: python3.7: command not found
0056|sudo: python3.7: command not found
0057|sudo: python3.7: command not found
0058|Unknown device "/dev/ttyUSB0": Permission denied
0059|Unknown device "/dev/ttyACM0": Permission denied
0060|Unknown device "/dev/ttyACM1": Permission denied
0061|Unknown device "/dev/ttyACM2": Permission denied
0062|warning: commands will be executed using /bin/sh
0063|job 83 at Fri May  3 11:23:00 2024
0064|[Fri May 03 11:45:08.835215 2024] [access_compat:error] [pid 108088] [client 45.56.108.128:62183] AH01797: client denied by server configuration: /var/www/html/systembc
0065|sudo: python3.7: command not found
0066|warning: commands will be executed using /bin/sh
0067|job 89 at Fri May  3 11:57:00 2024
0068|[Fri May 03 12:37:51.859956 2024] [access_compat:error] [pid 108141] [client 192.168.1.18:56983] AH01797: client denied by server configuration: /var/www/html/build, referer: http://192.168.1.92/index.php?v=d&p=dashboard
0069|[Fri May 03 13:32:32.818123 2024] [access_compat:error] [pid 217445] [client 103.245.236.120:37876] AH01797: client denied by server configuration: /var/www/html/cgi-bin
0070|[Fri May 03 13:32:34.026754 2024] [access_compat:error] [pid 217445] [client 103.245.236.120:37876] AH01797: client denied by server configuration: /var/www/html/cgi-bin
0071|[Fri May 03 13:32:34.321930 2024] [access_compat:error] [pid 217445] [client 103.245.236.120:37876] AH01797: client denied by server configuration: /var/www/html/.most
0072|[Fri May 03 16:31:56.338676 2024] [access_compat:error] [pid 301486] [client 27.147.136.161:63529] AH01797: client denied by server configuration: /var/www/html/admin
0073|[Fri May 03 17:12:39.013713 2024] [access_compat:error] [pid 503811] [client 83.97.73.245:47450] AH01797: client denied by server configuration: /var/www/html/actuator
0074|[Fri May 03 17:30:15.285581 2024] [php7:error] [pid 504066] [client 92.184.98.213:62299] PHP Fatal error:  Uncaught Exception: Requ\xc3\xaate invalide. Version JSON-RPC invalide :  in /var/www/html/plugins/JeedomConnect/core/api/JeedomConnect.api.php:43\nStack trace:\n#0 {main}\n  thrown in /var/www/html/plugins/JeedomConnect/core/api/JeedomConnect.api.php on line 43

En SSH j’ai la version python > Python 3.9.2

Merci pour votre aide