bin gerade bei einem Testupgrade auf folgendes Problem gestossen.
Ein Anmelden am System ist nicht mehr möglich, da ständig die Fehlermeldung "Session ungültig. Bitte neu anmelden" angezeigt wird.
Habe mich streng nach dieser Vorgabe gehalten -> http://doc.otrs.org/3.3/en/html/upgrading.html.
Das upgrade selbst lief ohne Problem ab, bis auf eine Fehlermeldung beim Punkt 7 im migrations-script
Code: Select all
Step 7 of 13: Updating Queue Standard Template relations table...
Cleaning queue_standard_template table
Creating new Foreign Keys for queue_standard_template table
--- Note: ---
If you have already run this script before then the Foreign Keys are already set and you might see errors regarding 'duplicate key' or 'constrain already exists', that's fine, no need to worry!
---
ALTER TABLE queue_standard_template ADD CONSTRAINT FK_queue_standard_template_standard_template_id_id FOREIGN KEY (standard_template_id) REFERENCES standard_template (id)
DBD::mysql::db do failed: Can't create table 'otrs.#sql-352c_83' (errno: 121) at /opt/otrs/Kernel/System/DB.pm line 499.
ERROR: OTRS-DBUpdate-to-3.3-10 Perl: 5.10.1 OS: linux Time: Wed Feb 19 15:22:20 2014
Message: Can't create table 'otrs.#sql-352c_83' (errno: 121), SQL: 'ALTER TABLE queue_standard_template ADD CONSTRAINT FK_queue_standard_template_standard_template_id_id FOREIGN KEY (standard_template_id) REFERENCES standard_template (id)'
Traceback (14809):
Module: main::_AddQueueStandardTemplateForeignKeys (unknown version) Line: 557
Module: scripts/DBUpdate-to-3.3.pl (unknown version) Line: 133
ERROR: OTRS-DBUpdate-to-3.3-10 Perl: 5.10.1 OS: linux Time: Wed Feb 19 15:22:20 2014
Message: Error during execution of 'ALTER TABLE queue_standard_template ADD CONSTRAINT FK_queue_standard_template_standard_template_id_id FOREIGN KEY (standard_template_id) REFERENCES standard_template (id)'!
Traceback (14809):
Module: main::_AddQueueStandardTemplateForeignKeys (unknown version) Line: 559
Module: scripts/DBUpdate-to-3.3.pl (unknown version) Line: 133
done.
Sehe aber im apache error-logfile etliche Fehlermedung in dieser Art "Message: Unknown column 'id' in 'field list', SQL: '"
Code: Select all
RemoteAddress: 192.168.1.69
RequestURI: /otrs/index.pl?OTRSAgentInterface=ATMp9KjlXVa7oavHUGZ5yGqK2Dxc4Vof
Traceback (14495):
Module: Kernel::System::AuthSession::DB::GetSessionIDData (OTRS 3.3.4) Line: 159
Module: Kernel::System::AuthSession::DB::CheckSessionID (OTRS 3.3.4) Line: 58
Module: Kernel::System::AuthSession::CheckSessionID (OTRS 3.3.4) Line: 114
Module: Kernel::System::Web::InterfaceAgent::Run (OTRS 3.3.4) Line: 643
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 41
Module: (eval) (v1.99) Line: 204
Module: ModPerl::RegistryCooker::run (v1.99) Line: 204
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 170
Module: ModPerl::Registry::handler (v1.99) Line: 31
[Wed Feb 19 15:36:16 2014] -e: DBD::mysql::st fetchrow_array failed: fetch() without execute() at /opt/otrs//Kernel/System/DB.pm line 706.
[Wed Feb 19 15:59:01 2014] -e: DBD::mysql::st execute failed: Unknown column 'data_key' in 'field list' at /opt/otrs//Kernel/System/DB.pm line 639.
ERROR: OTRS-CGI-10 Perl: 5.10.1 OS: linux Time: Wed Feb 19 15:59:01 2014
Message: Unknown column 'data_key' in 'field list', SQL: '
SELECT session_id, data_key, data_value
FROM sessions
WHERE data_key = 'UserType'
OR data_key = 'UserLastRequest'
ORDER BY id ASC'
RemoteAddress: 192.168.1.69
RequestURI: /otrs/index.pl
Traceback (14490):
Module: Kernel::System::AuthSession::DB::CreateSessionID (OTRS 3.3.4) Line: 226
Module: Kernel::System::AuthSession::CreateSessionID (OTRS 3.3.4) Line: 172
Module: Kernel::System::Web::InterfaceAgent::Run (OTRS 3.3.4) Line: 275
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 41
Module: (eval) (v1.99) Line: 204
Module: ModPerl::RegistryCooker::run (v1.99) Line: 204
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 170
Module: ModPerl::Registry::handler (v1.99) Line: 31
[Wed Feb 19 15:59:01 2014] -e: DBD::mysql::st fetchrow_array failed: fetch() without execute() at /opt/otrs//Kernel/System/DB.pm line 706.
[Wed Feb 19 15:59:01 2014] -e: DBD::mysql::db do failed: Unknown column 'data_key' in 'field list' at /opt/otrs//Kernel/System/DB.pm line 499.
ERROR: OTRS-CGI-10 Perl: 5.10.1 OS: linux Time: Wed Feb 19 15:59:01 2014
Message: Unknown column 'data_key' in 'field list', SQL: 'INSERT INTO sessions (session_id, data_key, data_value, serialized) VALUES (?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?),(?,?,?,?)'
RemoteAddress: 192.168.1.69
RequestURI: /otrs/index.pl
Traceback (14490):
Module: Kernel::System::AuthSession::DB::CreateSessionID (OTRS 3.3.4) Line: 326
Module: Kernel::System::AuthSession::CreateSessionID (OTRS 3.3.4) Line: 172
Module: Kernel::System::Web::InterfaceAgent::Run (OTRS 3.3.4) Line: 275
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 41
Module: (eval) (v1.99) Line: 204
Module: ModPerl::RegistryCooker::run (v1.99) Line: 204
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 170
Module: ModPerl::Registry::handler (v1.99) Line: 31
[Wed Feb 19 15:59:02 2014] -e: DBD::mysql::st execute failed: Unknown column 'id' in 'field list' at /opt/otrs//Kernel/System/DB.pm line 639.
ERROR: OTRS-CGI-10 Perl: 5.10.1 OS: linux Time: Wed Feb 19 15:59:02 2014
Message: Unknown column 'id' in 'field list', SQL: '
SELECT id, data_key, data_value, serialized
FROM sessions
WHERE session_id = ?
ORDER BY id ASC'
RemoteAddress: 192.168.1.69
RequestURI: /otrs/index.pl?;&OTRSAgentInterface=0nD3UiK5oR0uhhwcnFsxyl4HYyVqkwqS
Traceback (14492):
Module: Kernel::System::AuthSession::DB::GetSessionIDData (OTRS 3.3.4) Line: 159
Module: Kernel::System::AuthSession::DB::CheckSessionID (OTRS 3.3.4) Line: 58
Module: Kernel::System::AuthSession::CheckSessionID (OTRS 3.3.4) Line: 114
Module: Kernel::System::Web::InterfaceAgent::Run (OTRS 3.3.4) Line: 643
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 41
Module: (eval) (v1.99) Line: 204
Module: ModPerl::RegistryCooker::run (v1.99) Line: 204
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 170
Module: ModPerl::Registry::handler (v1.99) Line: 31
[Wed Feb 19 15:59:02 2014] -e: DBD::mysql::st fetchrow_array failed: fetch() without execute() at /opt/otrs//Kernel/System/DB.pm line 706.
Danke für jede Hilfe
Stefan