Skip to main content
Solved

centreon 24.04 web access stuck in centreon is loading

  • 20 May 2024
  • 4 replies
  • 434 views

Hello,

 

I am trying to set up Centreon 24.04 on Debian 12. When I access the Centreon GUI, I encounter a loading issue. Checking the Apache2 logs reveals the following error:

 

eproxy_fcgi:error] ]pid 29198] ]client 192.168.1.33:61829] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught RuntimeException: Unable to create the "cache" directory (/var/cache/centreon/symfony). in /usr/share/centreon/vendor/symfony/http-kernel/Kernel.php:598 Stack trace: #0 /usr/share/centreon/vendor/symfony/http-kernel/Kernel.php(505): Symfony\Component\HttpKernel\Kernel->buildContainer() #1 /usr/share/centreon/vendor/symfony/http-kernel/Kernel.php(763): Symfony\Component\HttpKernel\Kernel->initializeContainer() #2 /usr/share/centreon/vendor/symfony/http-kernel/Kernel.php(185): Symfony\Component\HttpKernel\Kernel->preBoot() #3 /usr/share/centreon/api/index.php(47): Symfony\Component\HttpKernel\Kernel->handle() #4 {main} thrown in /usr/share/centreon/vendor/symfony/http-kernel/Kernel.php on line 598', referer: http://192.168.1.2/centreon/

Steps to Reproduce:

  1. Install Centreon 24.04 on Debian 12.
  2. Access the Centreon GUI via a web browser.
  3. Observe the loading issue and check the Apache2 logs.

Additional Information:

  • OS: Debian 12
  • Centreon Version: 24.04
  • Apache Version: 2.4.59
  • PHP Version: 8.1.28 
  • mariadb Version : 15.1 Distrib 10.11.6-MariaDB

Troubleshooting Steps Taken:

  • Verified that the /var/cache/centreon/symfony directory not exists.

 

 

Thank you 

4 replies

Badge +5

Resolve it by using this command : 

sudo mkdir -p /var/cache/centreon/symfony && sudo chown www-data:www-data /var/cache/centreon/symfony

Userlevel 1
Badge +6

I had exactly the same thing on Debian 12, it's not normal that it’s not managed during installation!

Userlevel 1
Badge +6

More precisely, you must give the rights following

chmod 755 to the "centreon" folder in /var/cache/,

then after installing the centreon packets you must modify this folder again to put centreon as owner on this folder

chown centreon:centreon centreon

Userlevel 6
Badge +20

Hi we are solving this packaging issue.

Reply