Cannot login after failed upgrade (staging server)


(Nic Hubbard) #1

We are testing an upgrade from 5.2.3.0 to 5.4.2.3 on our staging server. During the upgrade we did get some various errors, but it completed. Now I am not able to login, and the login screen does not show errors and just seems to refresh. Looking in the logs I see:

[2017-10-06 11:29:02][7:Public User][512:matrix warning][R] (/core/include/asset.inc:3806) - Attribute "invalid_login_count" not found for Asset "Default Authentication" (#42) [SYS0092]
[2017-10-06 11:29:02][7:Public User][2:php warning][R] (/core/assets/system/authentication/authentication_types/authentication_default/authentication_default.inc:261) - array_key_exists() expects parameter 2 to be array, null given
[2017-10-06 11:29:02][7:Public User][512:matrix warning][R] (/core/include/asset.inc:3691) - Attribute "invalid_login_count" not found for Asset of type "authentication_default" [SYS0093]
[2017-10-06 11:29:02][48:Nicholas Hubbard][512:matrix warning][R] (/core/include/asset_manager.inc:1670) - System asset name "root_user_group" not installed or not known [SYS0209]
[2017-10-06 11:29:02][48:Nicholas Hubbard][512:matrix warning][R] (/core/include/asset.inc:3806) - Attribute "invalid_login_count" not found for Asset "Default Authentication" (#42) [SYS0092]
[2017-10-06 11:29:02][48:Nicholas Hubbard][2:php warning][R] (/core/assets/system/authentication/authentication_types/authentication_default/authentication_default.inc:261) - array_key_exists() expects parameter 2 to be array, null given
[2017-10-06 11:29:02][48:Nicholas Hubbard][512:matrix warning][R] (/core/include/asset.inc:3691) - Attribute "invalid_login_count" not found for Asset of type "authentication_default" [SYS0093]
[2017-10-06 11:29:02][48:Nicholas Hubbard][2:php warning][R] (/fudge/general/security.inc:581) - Cannot modify header information - headers already sent by (output started at /core/include/general.inc:272)
[2017-10-06 11:29:02][48:Nicholas Hubbard][2:php warning][R] (/fudge/general/security.inc:589) - Cannot modify header information - headers already sent by (output started at /core/include/general.inc:272)
[2017-10-06 11:29:02][48:Nicholas Hubbard][2:php warning][R] (/fudge/general/security.inc:589) - Cannot modify header information - headers already sent by (output started at /core/include/general.inc:272)
[2017-10-06 11:29:02][48:Nicholas Hubbard][2:php warning][R] (/fudge/general/security.inc:549) - session_regenerate_id(): Cannot regenerate session id - headers already sent
[2017-10-06 11:29:50][7:Public User][512:matrix warning][R] (/core/include/asset.inc:3806) - Attribute "invalid_login_count" not found for Asset "Default Authentication" (#42) [SYS0092]
[2017-10-06 11:29:50][7:Public User][2:php warning][R] (/core/assets/system/authentication/authentication_types/authentication_default/authentication_default.inc:261) - array_key_exists() expects parameter 2 to be array, null given
[2017-10-06 11:29:50][7:Public User][512:matrix warning][R] (/core/include/asset.inc:3691) - Attribute "invalid_login_count" not found for Asset of type "authentication_default" [SYS0093]
[2017-10-06 11:29:50][48:Nicholas Hubbard][512:matrix warning][R] (/core/include/asset_manager.inc:1670) - System asset name "root_user_group" not installed or not known [SYS0209]
[2017-10-06 11:29:50][48:Nicholas Hubbard][512:matrix warning][R] (/core/include/asset.inc:3806) - Attribute "invalid_login_count" not found for Asset "Default Authentication" (#42) [SYS0092]
[2017-10-06 11:29:50][48:Nicholas Hubbard][2:php warning][R] (/core/assets/system/authentication/authentication_types/authentication_default/authentication_default.inc:261) - array_key_exists() expects parameter 2 to be array, null given
[2017-10-06 11:29:50][48:Nicholas Hubbard][512:matrix warning][R] (/core/include/asset.inc:3691) - Attribute "invalid_login_count" not found for Asset of type "authentication_default" [SYS0093]
[2017-10-06 11:29:50][48:Nicholas Hubbard][2:php warning][R] (/fudge/general/security.inc:581) - Cannot modify header information - headers already sent by (output started at /core/include/general.inc:272)
[2017-10-06 11:29:50][48:Nicholas Hubbard][2:php warning][R] (/fudge/general/security.inc:589) - Cannot modify header information - headers already sent by (output started at /core/include/general.inc:272)
[2017-10-06 11:29:50][48:Nicholas Hubbard][2:php warning][R] (/fudge/general/security.inc:589) - Cannot modify header information - headers already sent by (output started at /core/include/general.inc:272)
[2017-10-06 11:29:50][48:Nicholas Hubbard][2:php warning][R] (/fudge/general/security.inc:549) - session_regenerate_id(): Cannot regenerate session id - headers already sent

I am assuming we have a failed upgrade?


(Marcus Fong) #2

I’ve checked and it looks like that attribute was introduced in 5.2.10.0 and 5.3.3.0, so if it’s not there then something went wrong with the upgrade.

Installing new assets and attributes occurs in step_03, so it’d probably be best to start by looking at the errors you got during that step (which you mentioned in your other post).