Hello,
Most of the Centreon web menu pages appear blank since the update. I've cleared my browser cache, tested in incognito mode, and cleared the Symfony cache. Nothing works.I checked the logs in /var/log/apache2/error.log and found this, but it might be unrelated:
[Thu May 14 12:46:32.281519 2026] [proxy_fcgi:error] [pid 774:tid 774] [client 82.66.247.24:65357] AH01071: Got error 'PHP message: PHP Warning: Undefined variable $sessionKeyFreeze in /usr/share/centreon/www/include/Administration/parameters/general/form.php on line 279; PHP message: PHP Warning: touch(): Utime failed: Syst\xc3\xa8me de fichiers accessible en lecture seulement in /usr/share/centreon/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php on line 178; PHP message: PHP Warning: touch(): Utime failed: Syst\xc3\xa8me de fichiers accessible en lecture seulement in /usr/share/centreon/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php on line 188', referer: http://xxxxxxxxxxxxxxxxxxxx/centreon/main.php?p=50110&o=general
(xxxxxxxxxxxxxx : is the server of my centreon)
I attempted the upgrade to version 25.10, and when I finalize the upgrade by accessing the web page (http://xxxxxxxxxxxxxxx/centreon/install/upgrade.php), I get a gray page.
I now have this and the issue with smarty_template_compiled.php is still being raised.
[2026-05-14T12:46:24+02:00] CRITICAL : An error occurred while displaying the error template : unable to create directory /usr/share/centreon/www/templates_c | {"custom":{"error_message":"unable to create directory /usr/share/centreon/www/templates_c"},"exception":{"exceptions":[{"type":"SmartyException","message":"unable to create directory /usr/share/centreon/www/templates_c","file":"/usr/share/centreon/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_writefile.php","line":45,"code":0,"class":"Smarty_Internal_Runtime_WriteFile","method":"writeFile"}],"traces":[{"file":"/usr/share/centreon/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php","line":209,"function":"writeFile","class":"Smarty_Internal_Runtime_WriteFile","type":"->"},{"file":"/usr/share/centreon/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php","line":184,"function":"write","class":"Smarty_Template_Compiled","type":"->"},{"file":"/usr/share/centreon/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php","line":141,"function":"compileTemplateSource","class":"Smarty_Template_Compiled","type":"->"},{"file":"/usr/share/centreon/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php","line":105,"function":"process","class":"Smarty_Template_Compiled","type":"->"},{"file":"/usr/share/centreon/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php","line":217,"function":"render","class":"Smarty_Template_Compiled","type":"->"},{"file":"/usr/share/centreon/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php","line":238,"function":"render","class":"Smarty_Internal_Template","type":"->"},{"file":"/usr/share/centreon/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php","line":134,"function":"_execute","class":"Smarty_Internal_TemplateBase","type":"->"},{"file":"/usr/share/centreon/GPL_LIB/smarty-plugins/SmartyBC.php","line":569,"function":"display","class":"Smarty_Internal_TemplateBase","type":"->"},{"file":"/usr/share/centreon/www/include/home/customViews/index.php","line":346,"function":"display","class":"SmartyBC","type":"->"},{"file":"/usr/share/centreon/www/main.get.php","line":292,"args":["/usr/share/centreon/www/include/home/customViews/index.php"],"function":"include_once"}]},"default":{"request_infos":{"uri":"/centreon/main.get.php?p=103","http_method":"GET","server":"xxxxxxxxxxxxxxxxxxxx"}}}
I tried creating the templates_c directory with centreon:centreon permissions and chmod 775, but then the errors continue: it is not possible to create files in this directory.
Best regards
