[SOLVED] Session invalid since upgrade

Moderator: crythias

Locked
ianatschool
Znuny newbie
Posts: 26
Joined: 20 Feb 2012, 13:39
Znuny Version: 3x1x1

[SOLVED] Session invalid since upgrade

Post by ianatschool »

I was running 3.1.18 and have just upgraded to 3.2.16. I followed the upgrade instructions. I ran the database migration script and rebuilt the config. I can get to the login screen but it just says that the session is invalid, even if I try logging in with the root account.

Looking at the logs, it says

Code: Select all

[Fri Jul 25 15:23:01 2014][Notice][Kernel::System::Auth::DB::Auth] User: [*username] authentication ok (REMOTE_ADDR: [*ip address]).
[Fri Jul 25 15:23:01 2014][Error][Kernel::System::AuthSession::DB::CreateSessionID][226] , SQL: '
                SELECT session_id, data_key, data_value
                FROM sessions
                WHERE data_key = 'UserType'
                    OR data_key = 'UserLastRequest'
                ORDER BY id ASC'
[Fri Jul 25 15:23:01 2014][Error][Kernel::System::AuthSession::DB::CreateSessionID][328] , SQL: 'INSERT INTO sessions (session_id, data_key, data_value, serialized) VALUES (?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?)'
[Fri Jul 25 15:23:02 2014][Error][Kernel::System::AuthSession::DB::GetSessionIDData][159] , SQL: '
            SELECT id, data_key, data_value, serialized
            FROM sessions
            WHERE session_id = ?
            ORDER BY id ASC'
[Fri Jul 25 15:23:02 2014][Notice][Kernel::System::AuthSession::DB::CheckSessionID] SessionID: '10480aba7437de89dc1b1c07712b81238b' is invalid!!!
I use DB auth for agents and LDAP auth for customers.

Never had this problem before. Any ideas? Is there a step missing in the upgrade?
Last edited by ianatschool on 28 Jul 2014, 11:23, edited 1 time in total.
OTRS 3.1.18 running on Windows Server 2008 R2
ianatschool
Znuny newbie
Posts: 26
Joined: 20 Feb 2012, 13:39
Znuny Version: 3x1x1

Re: Session invalid since upgrade

Post by ianatschool »

looking at other posts would this be a problem with the MyISAM engine being used instead of InnoDB?

I have never purposely changed any of these settings so assume I am OK to just run the otrs.MySQLInnoDBSwitch.pl?? Not really sure what it does!!
OTRS 3.1.18 running on Windows Server 2008 R2
Locked