Skip to main content
Solved

centreon 24.04 web access stuck in centreon is loading

  • May 20, 2024
  • 8 replies
  • 1404 views

Forum|alt.badge.img+5

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:

 

[proxy_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 

Best answer by m.lazar

Resolve it by using this command : 

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

8 replies

Forum|alt.badge.img+5
  • Author
  • Steward **
  • 12 replies
  • Answer
  • May 21, 2024

Resolve it by using this command : 

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


Forum|alt.badge.img+7
  • Steward ***
  • 26 replies
  • May 29, 2024

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


Forum|alt.badge.img+7
  • Steward ***
  • 26 replies
  • May 31, 2024

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


lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • 1121 replies
  • May 31, 2024

Hi we are solving this packaging issue.


Forum|alt.badge.img
  • Steward *
  • 2 replies
  • August 24, 2025

Hello,

I have had the same issue since updating to version 24.10. However, I have followed your discussions closely and I have the same rights mentioned above. I have cleared the cache of the supervisor as well as the browser (Firefox or Chromium).

 


lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • 1121 replies
  • August 25, 2025

Hi ​@cedben12 are you talking about your browser cache because you put symphony cache screenshot of the Centreon central server?


Forum|alt.badge.img
  • Steward *
  • 2 replies
  • August 25, 2025

Hi,

In fact, even after clearing the server cache, when I try to connect to the Centreon UI, the page displays “Centreon is loading.”


lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • 1121 replies
  • August 25, 2025

@cedben12 you need to clear your browser cache on your desktop too.