Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

HTTP ERROR 500 après update 2.12.3 [closed]

Bonjour,

Je viens de faire la mise à jour de la version 2.12.1 à 2.12.3,

Et depuis plus rien ne fonctionne, j'ai un Error 500.

Voici les erreurs que j'ai dans les log apache:

[Wed Dec 04 11:09:46.723523 2024] [core:notice] [pid 2539] AH00094: Command line: '/usr/sbin/apache2'
[Wed Dec 04 11:09:52.672787 2024] [php:warn] [pid 2542] [client 10.10.15.71:51737] PHP Warning:  require(require/fichierConf.class.php): Failed to open stream: Permission denied in /usr/share/ocsinventory-reports/ocsreports/index.php on line 29, referer: https://ocsinventory/
[Wed Dec 04 11:09:52.672893 2024] [php:error] [pid 2542] [client 10.10.15.71:51737] PHP Fatal error:  Uncaught Error: Failed opening required 'require/fichierConf.class.php' (include_path='.:/usr/share/php') in /usr/share/ocsinventory-reports/ocsreports/index.php:29\nStack trace:\n#0 {main}\n  thrown in /usr/share/ocsinventory-reports/ocsreports/index.php on line 29, referer: https://ocsinventory/
[Wed Dec 04 11:09:54.785277 2024] [php:warn] [pid 2541] [client 10.10.15.71:51742] PHP Warning:  require(require/fichierConf.class.php): Failed to open stream: Permission denied in /usr/share/ocsinventory-reports/ocsreports/index.php on line 29
[Wed Dec 04 11:09:54.785401 2024] [php:error] [pid 2541] [client 10.10.15.71:51742] PHP Fatal error:  Uncaught Error: Failed opening required 'require/fichierConf.class.php' (include_path='.:/usr/share/php') in /usr/share/ocsinventory-reports/ocsreports/index.php:29\nStack trace:\n#0 {main}\n  thrown in /usr/share/ocsinventory-reports/ocsreports/index.php on line 29
[Wed Dec 04 11:09:55.964408 2024] [php:warn] [pid 2545] [client 10.10.15.71:51747] PHP Warning:  require(require/fichierConf.class.php): Failed to open stream: Permission denied in /usr/share/ocsinventory-reports/ocsreports/index.php on line 29
[Wed Dec 04 11:09:55.964532 2024] [php:error] [pid 2545] [client 10.10.15.71:51747] PHP Fatal error:  Uncaught Error: Failed opening required 'require/fichierConf.class.php' (include_path='.:/usr/share/php') in /usr/share/ocsinventory-reports/ocsreports/index.php:29\nStack trace:\n#0 {main}\n  thrown in /usr/share/ocsinventory-reports/ocsreports/index.php on line 29

Une idée du probleme ?

Merci

Cirvent
closed with the note: Problème résolu
in OCS Inventory NG server for Unix by (850 points)
closed by

1 Answer

0 votes
 
Best answer
Bonjour,

J'ai trouvé et corrigé le problème,

Les droits sur le dossier : /usr/share/ocsinventory-reports/ocsreports n'étaient pas bons,

Pour corrigé:

chown -r www-data:www-data /usr/share/ocsinventory-reports/ocsreports

Cirvent
by (850 points)
 
Powered by Question2Answer
...