When I change to night mode (and vice versa), it logs me out of the centreon
Before logging out, I see this message at the bottom of the page
When I change to night mode (and vice versa), it logs me out of the centreon
Before logging out, I see this message at the bottom of the page
Hi
You may have some information in log files :
/var/log/php-fpm/centreon-error.log
/var/log/centreon/sql-error.log
Strangely, this problem no longer occurs today.
I am attaching the logs from yesterday
"root@c2110 ~]# tail -f /var/log/php-fpm/centreon-error.log -n 300
/15-Jun-2022 17:32:52 UTC] PHP Warning: Undefined array key "finish" in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 52
/15-Jun-2022 17:32:52 UTC] PHP Warning: Attempt to read property "value" on null in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 52
/15-Jun-2022 17:32:52 UTC] PHP Warning: Undefined array key "finish" in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 69
/15-Jun-2022 17:32:52 UTC] PHP Warning: Attempt to read property "value" on null in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 69
/15-Jun-2022 17:32:55 UTC] PHP Warning: Undefined array key "finish" in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 52
/15-Jun-2022 17:32:55 UTC] PHP Warning: Attempt to read property "value" on null in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 52
/15-Jun-2022 17:32:55 UTC] PHP Warning: Undefined array key "finish" in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 69
/15-Jun-2022 17:32:55 UTC] PHP Warning: Attempt to read property "value" on null in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 69
/15-Jun-2022 17:32:56 UTC] PHP Warning: Undefined array key "finish" in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 52
/15-Jun-2022 17:32:56 UTC] PHP Warning: Attempt to read property "value" on null in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 52
/15-Jun-2022 17:32:56 UTC] PHP Warning: Undefined array key "finish" in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 69
/15-Jun-2022 17:32:56 UTC] PHP Warning: Attempt to read property "value" on null in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 69
/15-Jun-2022 17:32:59 UTC] PHP Warning: Undefined array key "finish" in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 52
/15-Jun-2022 17:32:59 UTC] PHP Warning: Attempt to read property "value" on null in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 52
/15-Jun-2022 17:32:59 UTC] PHP Warning: Undefined array key "finish" in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 69
/15-Jun-2022 17:32:59 UTC] PHP Warning: Attempt to read property "value" on null in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 69
/15-Jun-2022 17:33:02 UTC] PHP Warning: Undefined array key "finish" in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 52
/15-Jun-2022 17:33:02 UTC] PHP Warning: Attempt to read property "value" on null in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 52
/15-Jun-2022 17:33:02 UTC] PHP Warning: Undefined array key "finish" in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 69
/15-Jun-2022 17:33:02 UTC] PHP Warning: Attempt to read property "value" on null in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 69
/15-Jun-2022 17:33:25 UTC] PHP Warning: Undefined array key "finish" in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 52
/15-Jun-2022 17:33:25 UTC] PHP Warning: Attempt to read property "value" on null in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 52
/15-Jun-2022 17:33:25 UTC] PHP Warning: Undefined array key "finish" in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 69
/15-Jun-2022 17:33:25 UTC] PHP Warning: Attempt to read property "value" on null in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 69
/15-Jun-2022 17:35:05 UTC] PHP Warning: Undefined array key "finish" in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 52
/15-Jun-2022 17:35:05 UTC] PHP Warning: Attempt to read property "value" on null in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 52
/15-Jun-2022 17:35:05 UTC] PHP Warning: Undefined array key "finish" in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 69
/15-Jun-2022 17:35:05 UTC] PHP Warning: Attempt to read property "value" on null in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 69
/15-Jun-2022 17:35:10 UTC] PHP Warning: Undefined array key "finish" in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 52
/15-Jun-2022 17:35:10 UTC] PHP Warning: Attempt to read property "value" on null in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 52
/15-Jun-2022 17:35:10 UTC] PHP Warning: Undefined array key "finish" in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 69
/15-Jun-2022 17:35:10 UTC] PHP Warning: Attempt to read property "value" on null in /usr/share/centreon/GPL_LIB/SmartyCache/compile/125385fbb8b540b3c9d02e855c9719402720bed7_0.file.content.tpl.php on line 69
/15-Jun-2022 17:47:24 UTC] CRITICAL: SQLSTATET42S02]: Base table or view not found: 1146 Table 'centreon.contact_password' doesn't exist {"context":":object] (PDOException(code: 42S02): SQLSTATET42S02]: Base table or view not found: 1146 Table 'centreon.contact_password' doesn't exist at /usr/share/centreon/www/class/centreonDBStatement.class.php:129)"}
/15-Jun-2022 17:47:24 UTC] CRITICAL: Uncaught Error: Symfony\Component\HttpFoundation\Response::__construct(): Argument #2 ($status) must be of type int, string given, called in /usr/share/centreon/src/EventSubscriber/CentreonEventSubscriber.php on line 421 {"exception":":object] (TypeError(code: 0): Symfony\\Component\\HttpFoundation\\Response::__construct(): Argument #2 ($status) must be of type int, string given, called in /usr/share/centreon/src/EventSubscriber/CentreonEventSubscriber.php on line 421 at /usr/share/centreon/vendor/symfony/http-foundation/Response.php:215)"}
/15-Jun-2022 17:47:24 UTC] CRITICAL: Symfony\Component\HttpFoundation\Response::__construct(): Argument #2 ($status) must be of type int, string given, called in /usr/share/centreon/src/EventSubscriber/CentreonEventSubscriber.php on line 421 {"context":":object] (TypeError(code: 0): Symfony\\Component\\HttpFoundation\\Response::__construct(): Argument #2 ($status) must be of type int, string given, called in /usr/share/centreon/src/EventSubscriber/CentreonEventSubscriber.php on line 421 at /usr/share/centreon/vendor/symfony/http-foundation/Response.php:215)"}
/15-Jun-2022 17:47:24 UTC] CRITICAL: SQLSTATET42S02]: Base table or view not found: 1146 Table 'centreon.contact_password' doesn't exist {"context":":object] (PDOException(code: 42S02): SQLSTATET42S02]: Base table or view not found: 1146 Table 'centreon.contact_password' doesn't exist at /usr/share/centreon/src/Centreon/Infrastructure/Contact/ContactRepositoryRDB.php:166)"}
/15-Jun-2022 17:47:39 UTC] CRITICAL: SQLSTATET42S02]: Base table or view not found: 1146 Table 'centreon.contact_password' doesn't exist {"context":":object] (PDOException(code: 42S02): SQLSTATET42S02]: Base table or view not found: 1146 Table 'centreon.contact_password' doesn't exist at /usr/share/centreon/src/Centreon/Infrastructure/Contact/ContactRepositoryRDB.php:166)"}
/15-Jun-2022 17:47:55 UTC] CRITICAL: SQLSTATET42S02]: Base table or view not found: 1146 Table 'centreon.contact_password' doesn't exist {"context":":object] (PDOException(code: 42S02): SQLSTATET42S02]: Base table or view not found: 1146 Table 'centreon.contact_password' doesn't exist at /usr/share/centreon/src/Centreon/Infrastructure/Contact/ContactRepositoryRDB.php:166)"}
/15-Jun-2022 17:48:10 UTC] CRITICAL: SQLSTATET42S02]: Base table or view not found: 1146 Table 'centreon.contact_password' doesn't exist {"context":":object] (PDOException(code: 42S02): SQLSTATET42S02]: Base table or view not found: 1146 Table 'centreon.contact_password' doesn't exist at /usr/share/centreon/src/Centreon/Infrastructure/Contact/ContactRepositoryRDB.php:166)"}
/15-Jun-2022 17:48:17 UTC] CRITICAL: SQLSTATET42S02]: Base table or view not found: 1146 Table 'centreon.contact_password' doesn't exist {"context":":object] (PDOException(code: 42S02): SQLSTATET42S02]: Base table or view not found: 1146 Table 'centreon.contact_password' doesn't exist at /usr/share/centreon/src/Centreon/Infrastructure/Contact/ContactRepositoryRDB.php:166)"}
/15-Jun-2022 17:48:17 UTC] PHP Warning: Undefined array key "finish" in /usr/share/centreon/GPL_LIB/SmartyCache/compile/ac81e1f21d5b4453f8a41890089d1cc1725bf0e6_0.file.content.tpl.php on line 49
/15-Jun-2022 17:48:17 UTC] PHP Warning: Attempt to read property "value" on null in /usr/share/centreon/GPL_LIB/SmartyCache/compile/ac81e1f21d5b4453f8a41890089d1cc1725bf0e6_0.file.content.tpl.php on line 49
/15-Jun-2022 17:48:17 UTC] PHP Warning: Undefined array key "finish" in /usr/share/centreon/GPL_LIB/SmartyCache/compile/ac81e1f21d5b4453f8a41890089d1cc1725bf0e6_0.file.content.tpl.php on line 68
/15-Jun-2022 17:48:17 UTC] PHP Warning: Attempt to read property "value" on null in /usr/share/centreon/GPL_LIB/SmartyCache/compile/ac81e1f21d5b4453f8a41890089d1cc1725bf0e6_0.file.content.tpl.php on line 68
/15-Jun-2022 17:48:21 UTC] PHP Warning: Undefined array key "finish" in /usr/share/centreon/GPL_LIB/SmartyCache/compile/ac81e1f21d5b4453f8a41890089d1cc1725bf0e6_0.file.content.tpl.php on line 49
/15-Jun-2022 17:48:21 UTC] PHP Warning: Attempt to read property "value" on null in /usr/share/centreon/GPL_LIB/SmartyCache/compile/ac81e1f21d5b4453f8a41890089d1cc1725bf0e6_0.file.content.tpl.php on line 49
/15-Jun-2022 17:48:21 UTC] PHP Warning: Undefined array key "blockPreview" in /usr/share/centreon/GPL_LIB/SmartyCache/compile/ac81e1f21d5b4453f8a41890089d1cc1725bf0e6_0.file.content.tpl.php on line 61
/15-Jun-2022 17:48:21 UTC] PHP Warning: Attempt to read property "value" on null in /usr/share/centreon/GPL_LIB/SmartyCache/compile/ac81e1f21d5b4453f8a41890089d1cc1725bf0e6_0.file.content.tpl.php on line 61
/15-Jun-2022 17:48:21 UTC] PHP Warning: Undefined array key "finish" in /usr/share/centreon/GPL_LIB/SmartyCache/compile/ac81e1f21d5b4453f8a41890089d1cc1725bf0e6_0.file.content.tpl.php on line 68
/15-Jun-2022 17:48:21 UTC] PHP Warning: Attempt to read property "value" on null in /usr/share/centreon/GPL_LIB/SmartyCache/compile/ac81e1f21d5b4453f8a41890089d1cc1725bf0e6_0.file.content.tpl.php on line 68
/15-Jun-2022 17:48:23 UTC] PHP Warning: Undefined array key "finish" in /usr/share/centreon/GPL_LIB/SmartyCache/compile/ac81e1f21d5b4453f8a41890089d1cc1725bf0e6_0.file.content.tpl.php on line 49
/15-Jun-2022 17:48:23 UTC] PHP Warning: Attempt to read property "value" on null in /usr/share/centreon/GPL_LIB/SmartyCache/compile/ac81e1f21d5b4453f8a41890089d1cc1725bf0e6_0.file.content.tpl.php on line 49
/15-Jun-2022 17:48:23 UTC] PHP Warning: Undefined array key "finish" in /usr/share/centreon/GPL_LIB/SmartyCache/compile/ac81e1f21d5b4453f8a41890089d1cc1725bf0e6_0.file.content.tpl.php on line 68
/15-Jun-2022 17:48:23 UTC] PHP Warning: Attempt to read property "value" on null in /usr/share/centreon/GPL_LIB/SmartyCache/compile/ac81e1f21d5b4453f8a41890089d1cc1725bf0e6_0.file.content.tpl.php on line 68
/15-Jun-2022 17:48:24 UTC] CRITICAL: SQLSTATET42S02]: Base table or view not found: 1146 Table 'centreon.contact_password' doesn't exist {"context":":object] (PDOException(code: 42S02): SQLSTATET42S02]: Base table or view not found: 1146 Table 'centreon.contact_password' doesn't exist at /usr/share/centreon/www/class/centreonDBStatement.class.php:129)"}
/15-Jun-2022 17:48:24 UTC] CRITICAL: Uncaught Error: Symfony\Component\HttpFoundation\Response::__construct(): Argument #2 ($status) must be of type int, string given, called in /usr/share/centreon/src/EventSubscriber/CentreonEventSubscriber.php on line 421 {"exception":":object] (TypeError(code: 0): Symfony\\Component\\HttpFoundation\\Response::__construct(): Argument #2 ($status) must be of type int, string given, called in /usr/share/centreon/src/EventSubscriber/CentreonEventSubscriber.php on line 421 at /usr/share/centreon/vendor/symfony/http-foundation/Response.php:215)"}
/15-Jun-2022 17:48:24 UTC] CRITICAL: Symfony\Component\HttpFoundation\Response::__construct(): Argument #2 ($status) must be of type int, string given, called in /usr/share/centreon/src/EventSubscriber/CentreonEventSubscriber.php on line 421 {"context":":object] (TypeError(code: 0): Symfony\\Component\\HttpFoundation\\Response::__construct(): Argument #2 ($status) must be of type int, string given, called in /usr/share/centreon/src/EventSubscriber/CentreonEventSubscriber.php on line 421 at /usr/share/centreon/vendor/symfony/http-foundation/Response.php:215)"}
/15-Jun-2022 17:48:26 UTC] PHP Warning: Undefined array key "finish" in /usr/share/centreon/GPL_LIB/SmartyCache/compile/ac81e1f21d5b4453f8a41890089d1cc1725bf0e6_0.file.content.tpl.php on line 49
/15-Jun-2022 17:48:26 UTC] PHP Warning: Attempt to read property "value" on null in /usr/share/centreon/GPL_LIB/SmartyCache/compile/ac81e1f21d5b4453f8a41890089d1cc1725bf0e6_0.file.content.tpl.php on line 49
/15-Jun-2022 17:48:26 UTC] PHP Warning: Undefined array key "finish" in /usr/share/centreon/GPL_LIB/SmartyCache/compile/ac81e1f21d5b4453f8a41890089d1cc1725bf0e6_0.file.content.tpl.php on line 68
/15-Jun-2022 17:48:26 UTC] PHP Warning: Attempt to read property "value" on null in /usr/share/centreon/GPL_LIB/SmartyCache/compile/ac81e1f21d5b4453f8a41890089d1cc1725bf0e6_0.file.content.tpl.php on line 68
/15-Jun-2022 19:08:02 UTC] WARNING: Warning: Undefined array key "centreon" {"exception":":object] (ErrorException(code: 0): Warning: Undefined array key \"centreon\" at /usr/share/centreon/src/Core/Infrastructure/Common/Repository/SystemReadSessionRepository.php:45)"}
/15-Jun-2022 19:08:05 UTC] CRITICAL: You are not authorized to access this resource {"context":":object] (Symfony\\Component\\Security\\Core\\Exception\\AccessDeniedException(code: 403): You are not authorized to access this resource at /usr/share/centreon/vendor/symfony/framework-bundle/Controller/AbstractController.php:358)"}
/15-Jun-2022 19:08:05 UTC] CRITICAL: You are not authorized to access this resource {"context":":object] (Symfony\\Component\\Security\\Core\\Exception\\AccessDeniedException(code: 403): You are not authorized to access this resource at /usr/share/centreon/vendor/symfony/framework-bundle/Controller/AbstractController.php:358)"}
/15-Jun-2022 19:08:57 UTC] WARNING: Warning: Undefined array key "centreon" {"exception":":object] (ErrorException(code: 0): Warning: Undefined array key \"centreon\" at /usr/share/centreon/src/Core/Infrastructure/Common/Repository/SystemReadSessionRepository.php:45)"}
/15-Jun-2022 19:09:04 UTC] CRITICAL: You are not authorized to access this resource {"context":":object] (Symfony\\Component\\Security\\Core\\Exception\\AccessDeniedException(code: 403): You are not authorized to access this resource at /usr/share/centreon/vendor/symfony/framework-bundle/Controller/AbstractController.php:358)"}
/15-Jun-2022 19:09:25 UTC] WARNING: Warning: Undefined array key "centreon" {"exception":":object] (ErrorException(code: 0): Warning: Undefined array key \"centreon\" at /usr/share/centreon/src/Core/Infrastructure/Common/Repository/SystemReadSessionRepository.php:45)"}
/15-Jun-2022 19:09:47 UTC] WARNING: Warning: Undefined array key "centreon" {"exception":":object] (ErrorException(code: 0): Warning: Undefined array key \"centreon\" at /usr/share/centreon/src/Core/Infrastructure/Common/Repository/SystemReadSessionRepository.php:45)"}
/15-Jun-2022 19:11:53 UTC] WARNING: Warning: Undefined array key "centreon" {"exception":":object] (ErrorException(code: 0): Warning: Undefined array key \"centreon\" at /usr/share/centreon/src/Core/Infrastructure/Common/Repository/SystemReadSessionRepository.php:45)"}
/15-Jun-2022 19:12:15 UTC] WARNING: Warning: Undefined array key "centreon" {"exception":":object] (ErrorException(code: 0): Warning: Undefined array key \"centreon\" at /usr/share/centreon/src/Core/Infrastructure/Common/Repository/SystemReadSessionRepository.php:45)"}
/15-Jun-2022 19:18:05 UTC] WARNING: Warning: Undefined array key "centreon" {"exception":":object] (ErrorException(code: 0): Warning: Undefined array key \"centreon\" at /usr/share/centreon/src/Core/Infrastructure/Common/Repository/SystemReadSessionRepository.php:45)"}
/15-Jun-2022 19:18:34 UTC] WARNING: Warning: Undefined array key "centreon" {"exception":":object] (ErrorException(code: 0): Warning: Undefined array key \"centreon\" at /usr/share/centreon/src/Core/Infrastructure/Common/Repository/SystemReadSessionRepository.php:45)"}
sroot@c2110 ~]# tail -f /var/log/centreon/sql-error.log -n 300
2022-06-15 17:47|0|0|SQLSTATET42S02]: Base table or view not found: 1146 Table 'centreon.contact_password' doesn't exist QUERY : SELECT contact.\\*, contact_password.password AS contact_passwd FROM contact
LEFT JOIN contact_password ON contact_password.contact_id = contact.contact_id
WHERE contact_alias = :contactAlias
AND contact_activate = '1' AND contact_register = '1'
ORDER BY contact_password.creation_date DESC LIMIT 1, null
2022-06-15 17:47|0|0|SQLSTATET42S02]: Base table or view not found: 1146 Table 'centreon.contact_password' doesn't exist QUERY : SELECT creation_date
FROM contact_password
WHERE contact_id = :contactId
ORDER BY creation_date DESC LIMIT 1, null
2022-06-15 17:48|0|0|SQLSTATET42S02]: Base table or view not found: 1146 Table 'centreon.contact_password' doesn't exist QUERY : SELECT contact.\\*, contact_password.password AS contact_passwd FROM contact
LEFT JOIN contact_password ON contact_password.contact_id = contact.contact_id
WHERE contact_alias = :contactAlias
AND contact_activate = '1' AND contact_register = '1'
ORDER BY contact_password.creation_date DESC LIMIT 1, null
It’s weird.. it seems you have finished the upgrade from web ui at 17:32, but you still don’t have contact_password
table at 17:48…
If you have this table now, I think the problem will not happen anymore
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.