Errors during upgrade to 6

Moderator: crythias

ruzzetto
OTRS wizard
Posts: 147
Joined: 14 Apr 2017, 10:53
OTRS Version?: 5.0.20

Errors during upgrade to 6

Postby ruzzetto » 17 Jan 2018, 16:02

Hi,
I just tried to upgrade my test machine to 6 version from 5.0.24 following the official guide with these steps:
1) Stop services
2) DB and /opt/otrs backups
3) Install new RPM
4) Migrate configuration files under Kernel/Config/Files
5) Run script DBUpdate

Upgrade wasn't fine and I encountered a lot of issues during upgrade package and upgrade DB:

1) Errors during RPM installation:

Code: Select all

 Updating   : otrs-6.0.4-03.noarch                                                                                                                                                                  1/2
warning: /opt/otrs/Kernel/Config.pm created as /opt/otrs/Kernel/Config.pm.rpmnew
Kernel::Config::Files::Znuny4OTRSAttachmentMultiUpload has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1967.
Kernel::Config::Files::Znuny4OTRSAttachmentMultiUpload has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1967.
Kernel::Config::Files::Znuny4OTRSAttachmentMultiUpload has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1967.
[Wed Jan 17 14:35:01 2018] otrs.Console.pl: DBD::mysql::st execute failed: Table 'otrs.sysconfig_deployment_lock' doesn't exist at /opt/otrs/Kernel/System/DB.pm line 694.
ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-82 Perl: 5.16.3 OS: linux Time: Wed Jan 17 14:35:01 2018

 Message: Table 'otrs.sysconfig_deployment_lock' doesn't exist, SQL: '
            SELECT id, exclusive_lock_guid, exclusive_lock_user_id, exclusive_lock_expiry_time
            FROM sysconfig_deployment_lock
            ORDER BY exclusive_lock_expiry_time DESC LIMIT 1'

 Traceback (9863):
   Module: Kernel::System::SysConfig::DB::_DeploymentLockGet Line: 5183
   Module: Kernel::System::SysConfig::DB::DeploymentIsLocked Line: 4905
   Module: Kernel::System::SysConfig::DB::DefaultSettingLock Line: 1591
   Module: Kernel::System::SysConfig::ConfigurationXML2DB Line: 2581
   Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 51
   Module: (eval) Line: 460
   Module: Kernel::System::Console::BaseCommand::Execute Line: 454
   Module: Kernel::System::Console::InterfaceConsole::Run Line: 80
   Module: /opt/otrs/bin/otrs.Console.pl Line: 38

[Wed Jan 17 14:35:01 2018] otrs.Console.pl: DBD::mysql::db do failed: Table 'otrs.sysconfig_default' doesn't exist at /opt/otrs/Kernel/System/DB.pm line 470.
ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-82 Perl: 5.16.3 OS: linux Time: Wed Jan 17 14:35:01 2018

 Message: Table 'otrs.sysconfig_default' doesn't exist, SQL: '
        UPDATE sysconfig_default
        SET
            exclusive_lock_guid = ?,
            exclusive_lock_user_id = ?,
            exclusive_lock_expiry_time = ?
        '

 Traceback (9863):
   Module: Kernel::System::SysConfig::DB::DefaultSettingLock Line: 1676
   Module: Kernel::System::SysConfig::ConfigurationXML2DB Line: 2581
   Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 51
   Module: (eval) Line: 460
   Module: Kernel::System::Console::BaseCommand::Execute Line: 454
   Module: Kernel::System::Console::InterfaceConsole::Run Line: 80
   Module: /opt/otrs/bin/otrs.Console.pl Line: 38

ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-82 Perl: 5.16.3 OS: linux Time: Wed Jan 17 14:35:01 2018

 Message: System was unable to lock Default Settings

 Traceback (9863):
   Module: Kernel::System::SysConfig::ConfigurationXML2DB Line: 2586
   Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 51
   Module: (eval) Line: 460
   Module: Kernel::System::Console::BaseCommand::Execute Line: 454
   Module: Kernel::System::Console::InterfaceConsole::Run Line: 80
   Module: /opt/otrs/bin/otrs.Console.pl Line: 38

Error: There was a problem writing XML to DB.
Rebuilding the system configuration...
Kernel::Config::Files::Znuny4OTRSAttachmentMultiUpload has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1967.
Deleting cache...
Done.


2) Error during DBUpdate script:

Code: Select all

Step 8 of 38: Migrate configuration ...
Kernel::Config::Files::Znuny4OTRSAttachmentMultiUpload has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1967.
Kernel::Config::Files::Znuny4OTRSAttachmentMultiUpload has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1967.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
ERROR: OTRS-otrs.Console.pl-Maint::Database::Check-82 Perl: 5.16.3 OS: linux Time: Wed Jan 17 14:41:55 2018

 Message: 'Down' not found in select!

 Traceback (9937):
   Module: Kernel::System::SysConfig::ValueType::Select::EffectiveValueGet Line: 171
   Module: Kernel::System::SysConfig::SettingEffectiveValueGet Line: 966
   Module: Kernel::System::SysConfig::_DefaultSettingAddBulk Line: 6160
   Module: Kernel::System::SysConfig::ConfigurationXML2DB Line: 2600
   Module: scripts::DBUpdateTo6::Base::RebuildConfig Line: 53
   Module: scripts::DBUpdateTo6::MigrateConfigEffectiveValues::Run Line: 48
   Module: scripts::DBUpdateTo6::_ExecuteComponent Line: 157
   Module: scripts::DBUpdateTo6::Run Line: 69
   Module: ./DBUpdate-to-6.pl Line: 89

[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
ERROR: OTRS-otrs.Console.pl-Maint::Database::Check-82 Perl: 5.16.3 OS: linux Time: Wed Jan 17 14:41:55 2018

 Message: 'FAQID' not found in select!

 Traceback (9937):
   Module: Kernel::System::SysConfig::ValueType::Select::EffectiveValueGet Line: 171
   Module: Kernel::System::SysConfig::SettingEffectiveValueGet Line: 966
   Module: Kernel::System::SysConfig::_DefaultSettingAddBulk Line: 6160
   Module: Kernel::System::SysConfig::ConfigurationXML2DB Line: 2600
   Module: scripts::DBUpdateTo6::Base::RebuildConfig Line: 53
   Module: scripts::DBUpdateTo6::MigrateConfigEffectiveValues::Run Line: 48
   Module: scripts::DBUpdateTo6::_ExecuteComponent Line: 157
   Module: scripts::DBUpdateTo6::Run Line: 69
   Module: ./DBUpdate-to-6.pl Line: 89

[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
ERROR: OTRS-otrs.Console.pl-Maint::Database::Check-82 Perl: 5.16.3 OS: linux Time: Wed Jan 17 14:41:55 2018

 Message: 'Down' not found in select!

 Traceback (9937):
   Module: Kernel::System::SysConfig::ValueType::Select::EffectiveValueGet Line: 171
   Module: Kernel::System::SysConfig::SettingEffectiveValueGet Line: 966
   Module: Kernel::System::SysConfig::_DefaultSettingAddBulk Line: 6160
   Module: Kernel::System::SysConfig::ConfigurationXML2DB Line: 2600
   Module: scripts::DBUpdateTo6::Base::RebuildConfig Line: 53
   Module: scripts::DBUpdateTo6::MigrateConfigEffectiveValues::Run Line: 48
   Module: scripts::DBUpdateTo6::_ExecuteComponent Line: 157
   Module: scripts::DBUpdateTo6::Run Line: 69
   Module: ./DBUpdate-to-6.pl Line: 89

[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
ERROR: OTRS-otrs.Console.pl-Maint::Database::Check-82 Perl: 5.16.3 OS: linux Time: Wed Jan 17 14:41:55 2018

 Message: 'FAQID' not found in select!

 Traceback (9937):
   Module: Kernel::System::SysConfig::ValueType::Select::EffectiveValueGet Line: 171
   Module: Kernel::System::SysConfig::SettingEffectiveValueGet Line: 966
   Module: Kernel::System::SysConfig::_DefaultSettingAddBulk Line: 6160
   Module: Kernel::System::SysConfig::ConfigurationXML2DB Line: 2600
   Module: scripts::DBUpdateTo6::Base::RebuildConfig Line: 53
   Module: scripts::DBUpdateTo6::MigrateConfigEffectiveValues::Run Line: 48
   Module: scripts::DBUpdateTo6::_ExecuteComponent Line: 157
   Module: scripts::DBUpdateTo6::Run Line: 69
   Module: ./DBUpdate-to-6.pl Line: 89

[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
ERROR: OTRS-otrs.Console.pl-Maint::Database::Check-82 Perl: 5.16.3 OS: linux Time: Wed Jan 17 14:41:55 2018

 Message: 'Down' not found in select!

 Traceback (9937):
   Module: Kernel::System::SysConfig::ValueType::Select::EffectiveValueGet Line: 171
   Module: Kernel::System::SysConfig::SettingEffectiveValueGet Line: 966
   Module: Kernel::System::SysConfig::_DefaultSettingAddBulk Line: 6160
   Module: Kernel::System::SysConfig::ConfigurationXML2DB Line: 2600
   Module: scripts::DBUpdateTo6::Base::RebuildConfig Line: 53
   Module: scripts::DBUpdateTo6::MigrateConfigEffectiveValues::Run Line: 48
   Module: scripts::DBUpdateTo6::_ExecuteComponent Line: 157
   Module: scripts::DBUpdateTo6::Run Line: 69
   Module: ./DBUpdate-to-6.pl Line: 89

[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
ERROR: OTRS-otrs.Console.pl-Maint::Database::Check-82 Perl: 5.16.3 OS: linux Time: Wed Jan 17 14:41:55 2018

 Message: 'FAQID' not found in select!

 Traceback (9937):
   Module: Kernel::System::SysConfig::ValueType::Select::EffectiveValueGet Line: 171
   Module: Kernel::System::SysConfig::SettingEffectiveValueGet Line: 966
   Module: Kernel::System::SysConfig::_DefaultSettingAddBulk Line: 6160
   Module: Kernel::System::SysConfig::ConfigurationXML2DB Line: 2600
   Module: scripts::DBUpdateTo6::Base::RebuildConfig Line: 53
   Module: scripts::DBUpdateTo6::MigrateConfigEffectiveValues::Run Line: 48
   Module: scripts::DBUpdateTo6::_ExecuteComponent Line: 157
   Module: scripts::DBUpdateTo6::Run Line: 69
   Module: ./DBUpdate-to-6.pl Line: 89

[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
ERROR: OTRS-otrs.Console.pl-Maint::Database::Check-82 Perl: 5.16.3 OS: linux Time: Wed Jan 17 14:41:55 2018

 Message: 'Down' not found in select!

 Traceback (9937):
   Module: Kernel::System::SysConfig::ValueType::Select::EffectiveValueGet Line: 171
   Module: Kernel::System::SysConfig::SettingEffectiveValueGet Line: 966
   Module: Kernel::System::SysConfig::_DefaultSettingAddBulk Line: 6160
   Module: Kernel::System::SysConfig::ConfigurationXML2DB Line: 2600
   Module: scripts::DBUpdateTo6::Base::RebuildConfig Line: 53
   Module: scripts::DBUpdateTo6::MigrateConfigEffectiveValues::Run Line: 48
   Module: scripts::DBUpdateTo6::_ExecuteComponent Line: 157
   Module: scripts::DBUpdateTo6::Run Line: 69
   Module: ./DBUpdate-to-6.pl Line: 89

[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
ERROR: OTRS-otrs.Console.pl-Maint::Database::Check-82 Perl: 5.16.3 OS: linux Time: Wed Jan 17 14:41:55 2018

 Message: 'FAQID' not found in select!

 Traceback (9937):
   Module: Kernel::System::SysConfig::ValueType::Select::EffectiveValueGet Line: 171
   Module: Kernel::System::SysConfig::SettingEffectiveValueGet Line: 966
   Module: Kernel::System::SysConfig::_DefaultSettingAddBulk Line: 6160
   Module: Kernel::System::SysConfig::ConfigurationXML2DB Line: 2600
   Module: scripts::DBUpdateTo6::Base::RebuildConfig Line: 53
   Module: scripts::DBUpdateTo6::MigrateConfigEffectiveValues::Run Line: 48
   Module: scripts::DBUpdateTo6::_ExecuteComponent Line: 157
   Module: scripts::DBUpdateTo6::Run Line: 69
   Module: ./DBUpdate-to-6.pl Line: 89

[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
ERROR: OTRS-otrs.Console.pl-Maint::Database::Check-82 Perl: 5.16.3 OS: linux Time: Wed Jan 17 14:41:55 2018

 Message: 'Down' not found in select!

 Traceback (9937):
   Module: Kernel::System::SysConfig::ValueType::Select::EffectiveValueGet Line: 171
   Module: Kernel::System::SysConfig::SettingEffectiveValueGet Line: 966
   Module: Kernel::System::SysConfig::_DefaultSettingAddBulk Line: 6160
   Module: Kernel::System::SysConfig::ConfigurationXML2DB Line: 2600
   Module: scripts::DBUpdateTo6::Base::RebuildConfig Line: 53
   Module: scripts::DBUpdateTo6::MigrateConfigEffectiveValues::Run Line: 48
   Module: scripts::DBUpdateTo6::_ExecuteComponent Line: 157
   Module: scripts::DBUpdateTo6::Run Line: 69
   Module: ./DBUpdate-to-6.pl Line: 89

[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
ERROR: OTRS-otrs.Console.pl-Maint::Database::Check-82 Perl: 5.16.3 OS: linux Time: Wed Jan 17 14:41:55 2018

 Message: 'FAQID' not found in select!

 Traceback (9937):
   Module: Kernel::System::SysConfig::ValueType::Select::EffectiveValueGet Line: 171
   Module: Kernel::System::SysConfig::SettingEffectiveValueGet Line: 966
   Module: Kernel::System::SysConfig::_DefaultSettingAddBulk Line: 6160
   Module: Kernel::System::SysConfig::ConfigurationXML2DB Line: 2600
   Module: scripts::DBUpdateTo6::Base::RebuildConfig Line: 53
   Module: scripts::DBUpdateTo6::MigrateConfigEffectiveValues::Run Line: 48
   Module: scripts::DBUpdateTo6::_ExecuteComponent Line: 157
   Module: scripts::DBUpdateTo6::Run Line: 69
   Module: ./DBUpdate-to-6.pl Line: 89

[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
ERROR: OTRS-otrs.Console.pl-Maint::Database::Check-82 Perl: 5.16.3 OS: linux Time: Wed Jan 17 14:41:55 2018

 Message: 'Down' not found in select!

 Traceback (9937):
   Module: Kernel::System::SysConfig::ValueType::Select::EffectiveValueGet Line: 171
   Module: Kernel::System::SysConfig::SettingEffectiveValueGet Line: 966
   Module: Kernel::System::SysConfig::_DefaultSettingAddBulk Line: 6160
   Module: Kernel::System::SysConfig::ConfigurationXML2DB Line: 2600
   Module: scripts::DBUpdateTo6::Base::RebuildConfig Line: 53
   Module: scripts::DBUpdateTo6::MigrateConfigEffectiveValues::Run Line: 48
   Module: scripts::DBUpdateTo6::_ExecuteComponent Line: 157
   Module: scripts::DBUpdateTo6::Run Line: 69
   Module: ./DBUpdate-to-6.pl Line: 89

[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
ERROR: OTRS-otrs.Console.pl-Maint::Database::Check-82 Perl: 5.16.3 OS: linux Time: Wed Jan 17 14:41:55 2018

 Message: 'FAQID' not found in select!

 Traceback (9937):
   Module: Kernel::System::SysConfig::ValueType::Select::EffectiveValueGet Line: 171
   Module: Kernel::System::SysConfig::SettingEffectiveValueGet Line: 966
   Module: Kernel::System::SysConfig::_DefaultSettingAddBulk Line: 6160
   Module: Kernel::System::SysConfig::ConfigurationXML2DB Line: 2600
   Module: scripts::DBUpdateTo6::Base::RebuildConfig Line: 53
   Module: scripts::DBUpdateTo6::MigrateConfigEffectiveValues::Run Line: 48
   Module: scripts::DBUpdateTo6::_ExecuteComponent Line: 157
   Module: scripts::DBUpdateTo6::Run Line: 69
   Module: ./DBUpdate-to-6.pl Line: 89

[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
[Wed Jan 17 14:41:55 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 165.
ERROR: OTRS-otrs.Console.pl-Maint::Database::Check-82 Perl: 5.16.3 OS: linux Time: Wed Jan 17 14:41:55 2018

 Message: 'Full' not found in select!

 Traceback (9937):
   Module: Kernel::System::SysConfig::ValueType::Select::EffectiveValueGet Line: 171
   Module: Kernel::System::SysConfig::SettingEffectiveValueGet Line: 966
   Module: Kernel::System::SysConfig::_DefaultSettingAddBulk Line: 6160
   Module: Kernel::System::SysConfig::ConfigurationXML2DB Line: 2600
   Module: scripts::DBUpdateTo6::Base::RebuildConfig Line: 53
   Module: scripts::DBUpdateTo6::MigrateConfigEffectiveValues::Run Line: 48
   Module: scripts::DBUpdateTo6::_ExecuteComponent Line: 157
   Module: scripts::DBUpdateTo6::Run Line: 69
   Module: ./DBUpdate-to-6.pl Line: 89

ERROR: OTRS-otrs.Console.pl-Maint::Database::Check-82 Perl: 5.16.3 OS: linux Time: Wed Jan 17 14:41:55 2018

 Message: 'TemplateID' not found in select!

 Traceback (9937):
   Module: Kernel::System::SysConfig::ValueType::Select::EffectiveValueGet Line: 171
   Module: Kernel::System::SysConfig::SettingEffectiveValueGet Line: 966
   Module: Kernel::System::SysConfig::_DefaultSettingAddBulk Line: 6160
   Module: Kernel::System::SysConfig::ConfigurationXML2DB Line: 2600
   Module: scripts::DBUpdateTo6::Base::RebuildConfig Line: 53
   Module: scripts::DBUpdateTo6::MigrateConfigEffectiveValues::Run Line: 48
   Module: scripts::DBUpdateTo6::_ExecuteComponent Line: 157
   Module: scripts::DBUpdateTo6::Run Line: 69
   Module: ./DBUpdate-to-6.pl Line: 89

Kernel::Config::Files::Znuny4OTRSAttachmentMultiUpload has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1967.
Kernel::Config::Files::Znuny4OTRSAttachmentMultiUpload has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1967.
Kernel::Config::Files::Znuny4OTRSAttachmentMultiUpload has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1967.
    Step 9 of 38: Refresh configuration cache after migration of OTRS 5 settings ...
    Step 10 of 38: Migrating ticket storage configuration ...
Kernel::Config::Files::Znuny4OTRSAttachmentMultiUpload has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1967.
Kernel::Config::Files::Znuny4OTRSAttachmentMultiUpload has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1967.
Kernel::Config::Files::Znuny4OTRSAttachmentMultiUpload has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1967.


and

Code: Select all

Step 38 of 38: Check SysConfig consistency ...
Kernel::Config::Files::Znuny4OTRSAttachmentMultiUpload has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1967.
Kernel::Config::Files::Znuny4OTRSAttachmentMultiUpload has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1967.
Kernel::Config::Files::Znuny4OTRSAttachmentMultiUpload has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1967.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.
[Wed Jan 17 14:43:01 2018] DBUpdate-to-6.pl: Use of uninitialized value in string eq at /opt/otrs/Kernel/System/SysConfig/ValueType/Select.pm line 125.


    Inconsistent SysConfig settings detected, please update them manually:

    Customer::AuthModule
    FAQ::Frontend::AgentFAQExplorer###Order::Default
    FAQ::Frontend::AgentFAQExplorer###SortBy::Default
    FAQ::Frontend::AgentFAQSearch###Order::Default
    FAQ::Frontend::AgentFAQSearch###SortBy::Default
    FAQ::Frontend::CustomerFAQExplorer###Order::Default
    FAQ::Frontend::CustomerFAQExplorer###SortBy::Default
    FAQ::Frontend::CustomerFAQSearch###Order::Default
    FAQ::Frontend::CustomerFAQSearch###SortBy::Default
    FAQ::Frontend::PublicFAQExplorer###Order::Default
    FAQ::Frontend::PublicFAQExplorer###SortBy::Default
    FAQ::Frontend::PublicFAQSearch###Order::Default
    FAQ::Frontend::PublicFAQSearch###SortBy::Default
    FAQ::TicketCompose###InsertMethod
    Frontend::Module###AgentFAQHistory
    Frontend::Module###AgentFAQJournal
    Frontend::Module###AgentFAQSearch
    Frontend::Module###AgentFAQSearchSmall
    ITSMChange::Frontend::AgentITSMTemplateOverview###SortBy::Default


 Migration completed!


Anyone encountered same issues?
Thanks a lot!
Last edited by crythias on 22 Jan 2018, 17:03, edited 1 time in total.
Reason: change quote to code for compression

jojo
Moderator
Posts: 14088
Joined: 26 Jan 2007, 14:50
OTRS Version?: Git Master
Contact:

Re: Errors during upgrade to 6

Postby jojo » 17 Jan 2018, 16:35

remove all 3rd party modules before migration. Also check your database if all tables from OTRS5 are existing
"Production": OTRS Business Solution™ 6, STORM powered by OTRS
"Testing": OTRS git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com :: Share your ideas

ruzzetto
OTRS wizard
Posts: 147
Joined: 14 Apr 2017, 10:53
OTRS Version?: 5.0.20

Re: Errors during upgrade to 6

Postby ruzzetto » 17 Jan 2018, 16:56

jojo wrote:remove all 3rd party modules before migration. Also check your database if all tables from OTRS5 are existing

@jojo I removed 3rd party before upgrade via package manager but It seems something still remain on the system....is there a way to perform a full removal? About DB I don't know how to check because otrs 5 is working well before upgrade
thanks

davidkrotil
OTRS newbie
Posts: 24
Joined: 10 Feb 2015, 17:15
OTRS Version?: 5.0.17
Real Name: David

Re: Errors during upgrade to 6

Postby davidkrotil » 17 Feb 2018, 02:37

I got same problem with RPM upgrade from 5.0.26 to 6.0.5 . I looked on the OTRS 5 tables and there isn´t any otrs.sysconfig_deployment_lock table.

Looks like this is a bug.
OTRS 5.0.x (private/testing/public) on Linux with MySQL database


Return to “Help”

Who is online

Users browsing this forum: No registered users and 3 guests