AH01797: client denied by server configuration: /var/www/html/currentsetting.htm

Bonjour à tous , j’ai fait back up rpi4 Raspbian GNU/Linux 10 (buster) 32bits (armv7l) et installé sur fresh install rpi5 rasbian 12 , je n’arrive pas à me connecté à ma mon rpi5 aprés le back up :

# Cette page ne fonctionne pas

Impossible de traiter cette demande via **192.168.1.247** à l'heure actuelle.

HTTP ERROR 500

le log HTTP est :

[Fri Jan 31 10:28:07.400498 2025] [php:error] [pid 106299:tid 106299] [client 192.168.1.154:54253] PHP Fatal error:  Uncaught Error: Class "ajax" not found in /var/www/html/core/ajax/log.ajax.php:68
Stack trace:
#0 {main}
  thrown in /var/www/html/core/ajax/log.ajax.php on line 68
[Fri Jan 31 10:28:07.400498 2025] [php:error] [pid 105531:tid 105531] [client 192.168.1.154:54282] PHP Fatal error:  Uncaught Error: Class "ajax" not found in /var/www/html/core/ajax/event.ajax.php:36
Stack trace:
#0 {main}
  thrown in /var/www/html/core/ajax/event.ajax.php on line 36
[Fri Jan 31 10:28:08.391904 2025] [php:error] [pid 3231953:tid 3231953] [client 192.168.1.154:54289] PHP Fatal error:  Uncaught Error: Class "ajax" not found in /var/www/html/core/ajax/log.ajax.php:68
Stack trace:
#0 {main}
  thrown in /var/www/html/core/ajax/log.ajax.php on line 68
[Fri Jan 31 10:28:08.391946 2025] [php:error] [pid 106302:tid 106302] [client 192.168.1.154:54290] PHP Fatal error:  Uncaught Error: Class "ajax" not found in /var/www/html/core/ajax/event.ajax.php:36
Stack trace:
#0 {main}
  thrown in /var/www/html/core/ajax/event.ajax.php on line 36
[Fri Jan 31 10:28:09.416336 2025] [php:error] [pid 106282:tid 106282] [client 192.168.1.154:54291] PHP Fatal error:  Uncaught Error: Class "ajax" not found in /var/www/html/core/ajax/log.ajax.php:68
Stack trace:
#0 {main}
  thrown in /var/www/html/core/ajax/log.ajax.php on line 68
[Fri Jan 31 10:28:09.416583 2025] [php:error] [pid 1913699:tid 1913699] [client 192.168.1.154:54292] PHP Fatal error:  Uncaught Error: Class "ajax" not found in /var/www/html/core/ajax/event.ajax.php:36
Stack trace:
#0 {main}
  thrown in /var/www/html/core/ajax/event.ajax.php on line 36
[Fri Jan 31 10:28:43.691997 2025] [php:warn] [pid 106299:tid 106299] [client 192.168.1.154:54301] PHP Warning:  Undefined variable $productName in /var/www/html/desktop/php/administration.php on line 618
[Fri Jan 31 10:29:51.831457 2025] [php:error] [pid 1533334:tid 1533334] [client 192.168.1.154:54317] PHP Fatal error:  Uncaught TypeError: array_multisort(): Argument #1 ($array) must be an array or a sort flag in /var/www/html/desktop/php/index.php:92
Stack trace:
#0 /var/www/html/desktop/php/index.php(92): array_multisort()
#1 /var/www/html/core/php/utils.inc.php(79): require_once('...')
#2 /var/www/html/index.php(100): include_file()
#3 {main}
  thrown in /var/www/html/desktop/php/index.php on line 92, referer: http://192.168.1.247/index.php?v=d&p=administration
[Fri Jan 31 10:30:20.577167 2025] [php:error] [pid 3250089:tid 3250089] [client 192.168.1.154:54326] PHP Fatal error:  Uncaught TypeError: array_multisort(): Argument #1 ($array) must be an array or a sort flag in /var/www/html/desktop/php/index.php:92
Stack trace:
#0 /var/www/html/desktop/php/index.php(92): array_multisort()
#1 /var/www/html/core/php/utils.inc.php(79): require_once('...')
#2 /var/www/html/index.php(100): include_file()
#3 {main}
  thrown in /var/www/html/desktop/php/index.php on line 92
[Fri Jan 31 10:31:59.994402 2025] [php:error] [pid 106299:tid 106299] [client 192.168.1.154:54345] PHP Fatal error:  Uncaught TypeError: array_multisort(): Argument #1 ($array) must be an array or a sort flag in /var/www/html/desktop/php/index.php:92
Stack trace:
#0 /var/www/html/desktop/php/index.php(92): array_multisort()
#1 /var/www/html/core/php/utils.inc.php(79): require_once('...')
#2 /var/www/html/index.php(100): include_file()
#3 {main}
  thrown in /var/www/html/desktop/php/index.php on line 92
[Fri Jan 31 10:32:51.434779 2025] [php:warn] [pid 106301:tid 106301] [client 192.168.1.154:54346] PHP Warning:  Undefined array key "extension" in /var/www/html/core/php/downloadFile.php on line 95, referer: http://192.168.1.247/index.php?v=d&p=log&rescue=1
[Fri Jan 31 10:34:47.236826 2025] [access_compat:error] [pid 1913699:tid 1913699] [client 192.168.1.207:62478] AH01797: client denied by server configuration: /var/www/html/currentsetting.htm
sh: 1: cannot create /etc/resolv.conf: Permission denied
[Fri Jan 31 10:52:49.221571 2025] [access_compat:error] [pid 1913699:tid 1913699] [client 192.168.1.207:64926] AH01797: client denied by server configuration: /var/www/html/currentsetting.htm

je ne vois pas d’ou vient l’erreur , j’avais désactivé tout les pluggin avant le backup pour pouvoir garder ma pagination sur le RPI5 , j’aimerai bien retrouvé ma config sur mon rpi5.

Merci à tout ceux qui pourrons me venir en aide

Bonjour,

Quelle version de jeedom ?

Jeedom v4.3.23 sorry

Pour debian 12 faudrait etre en v4.4 avant

j’ai installé jeedom en V4.4 sur mon RPI5 et fait un restaurer de ma version ( RPI4 ) que je voudrai garder en v4.3.23

donc ca ne sera pas possible, n’oubliez pas que debian 12 n’est pas la version recommandée et que tout les plugins ne fonctionneront pas forcément.

Il se pourrait que même dans le core on découvre encore des problèmes même si c’est de moins en moins probable.

dans tous les cas, pas de v4.3 sur deb12/php8

1 « J'aime »

Si je met à jour mon RPI4 Raspbian GNU/Linux 10 (buster) 32bits (armv7l) vers V4.4 et que je backup vers mon RPI5 n’y a t il pas de contre indication non plus ?

c’est-à-dire que perso je ne peux pas non plus conseiller de mettre à jour quoi que ce soit (ni jeedom, ni plugin) sur un debian 10 vue que cet OS est obsolète et qu’on ne peut plus garantir que tout va correctement s’installer.

le scénario idéal serait d’installer un debian 11, restaurer le backup v4.3, mettre à jour en v4.4

Donc sous un Desbian 12 on ne peut pas installer un Jeedom V4.4 ?

Je ne comprends pas cette question:

  • jamais je n’ai dis cela
  • vous l’avez fait donc vous savez que c’est possible

Mais si vous restaurez une v4.3 ce n’est plus une v4.4

alors y a un truc que je pige pas

Votre backup inclu jeedom et donc sa version.

Donc vous installez deb12 et jeedom v4.4, tout va bien.
Vous restaurez votre backup qui en v4.3… ca ne va pas marcher par magie, ca reste une 4.3.
Le fait qu’avant il y avait une 4.4 ne change rien, tout est supprimé

Vous devez passez votre sauvegarde actuelle en v4.4.19.
Si pas possible car debian 10, il faut faire une étape intermédiaire avec debian 11 sur votre pi4. Sur ce debian 11, vous passez en v4.

Pour les mises à jours, il ne faut pas se precipiter, ni trop attendre :face_with_peeking_eye:

Antoine

Ok j essai ça demain alors merci je revient vers vous assez vite pour marqué comme résolu

Bullseye en cours d’installation debuit Buster 10.13 …

je ne sais pas ce que va veut dire: est-ce « depuis » ?
alors laissez tomber… on le répète assez je pense: pas d’upgrade debian.

c’est pas la peine de sortir une doc debian… si vous savez mieux pourquoi venir demander?

mais faites comme vous voulez, bonne continuation.

Sorry , je ne voulais pas vous froisser , je n’avais pas lu que la mise à jour Buster n’était pas recommander

Voila mise à jour vers la version 4.4.12 sur le RPI4 et backup sauvegardé

RESOLU , voila Backup RPI4 chargé sur RPI5 et testé ok , merci à @Mips et a @Tonio16 pour ses précieuses infos