Solved

Unable to connect after upgrading to 22.04


Badge +1

After upgrading my platform, i’m unable to connect :

Can someone help me ?

icon

Best answer by Jérémy Jaouen 25 May 2022, 10:03

View original

5 replies

Userlevel 5
Badge +16

Hello @batcox ,

 

Any logs in /var/log/php-fpm/centreon-error.log ?

What did you get in the web console of your browser ?

Badge +3

there seem to be several bug with upgrade with 22.04 :(

It looks like it hasn't been tested enough.

Badge +1

@Kriko 

Logs in /var/log/php-fpm/centreon-error.log :

[25-May-2022 08:53:50 Europe/Paris] CRITICAL: Missing Login Attribute {"context":"[object] (InvalidArgumentException(code: 0): Missing Login Attribute at /usr/share/centreon/src/EventSubscriber/WebSSOEventSubscriber.php:210)"}

In web console :

 

Userlevel 5
Badge +16

Thank you Batcox.

have you done this step: https://docs.centreon.com/docs/releases/centreon-core/#breaking-changes ?

Did you try with local admin to connect too ?

Userlevel 3
Badge +4

Hello Batcox, it seems your web-sso connection is enable.

 

If you need to connect with web sso you should follow the breaking changes documentation linked by Kriko. Otherwise, you could deactivate it with the following SQL Request

UPDATE provider_configuration SET is_active = 0 WHERE name=”web-sso”;

You will be able to reach the login page.

Also if you have previously a web sso configuration, can you give me the Login Attribute from headers ? 

Reply