Erro ao atualizar versão do OTRS 5.0.8 para 6.0.11

151 views
Skip to first unread message

Leidy Sousa

unread,
Oct 24, 2018, 8:31:47 AM10/24/18
to OTRS Brasil
Caros, bom dia!

Ao tentar executar o script de atualização do OTRS (su -c "/opt/otrs/scripts/DBUpdate-to-6.pl" -s /bin/bash otrs) o seguinte erro ocorre:

 Executing tasks ...

    Step 1 of 42: Check framework version ...
    Step 2 of 42: Check required Perl version ...
    Step 3 of 42: Check required database version ...
    Step 4 of 42: Check database charset ...
    Step 5 of 42: Check required Perl modules ...
    Step 6 of 42: Check if database has been backed up ...
    Step 7 of 42: Upgrade database structure ...
    Step 8 of 42: Migrate configuration ...
    Step 9 of 42: Refresh configuration cache after migration of OTRS 5 settings ...
    Step 10 of 42: Migrating ticket storage configuration ...
    Step 11 of 42: Migrating article search index configuration ...
    Step 12 of 42: Migrating ticket zoom customer information widget configuration ...
    Step 13 of 42: Drop deprecated table gi_object_lock_state ...
    Step 14 of 42: Migrate PossibleNextActions setting ...
    Step 15 of 42: Migrate ZoomExpand setting ...
    Step 16 of 42: Migrating time zone configuration ...
[Wed Oct 24 09:26:40 2018] DBUpdate-to-6.pl: Use of uninitialized value $DefaultSetting{"Name"} in concatenation (.) or string at /opt/otrs/Kernel/System/SysConfig/DB.pm line 1693.
ERROR: OTRS-otrs.Console.pl-Maint::Database::Check-12 Perl: 5.24.1 OS: linux Time: Wed Oct 24 09:26:40 2018

 Message: Setting OTRSTimeZone does not exists!

 Traceback (3602):
   Module: Kernel::System::SysConfig::SettingUpdate Line: 454
   Module: scripts::DBUpdateTo6::Base::SettingUpdate Line: 636
   Module: scripts::DBUpdateTo6::MigrateTimeZoneConfiguration::Run Line: 161
   Module: scripts::DBUpdateTo6::_ExecuteComponent Line: 157
   Module: scripts::DBUpdateTo6::Run Line: 69
   Module: /opt/otrs/scripts/DBUpdate-to-6.pl Line: 87

 Not possible to complete migration, check previous messages for more information.


Já tentei alterar o timezone do sistema, e já procurei em vários arquivos de configuração do OTRS onde configurar esse timezone e não funciona.
Alguém passou por esse problema?

O OTRS está rodando no Debian 9 (Timezone do SO)
$ /opt/otrs/# date
qua out 24 09:30:25 -03 2018

Reply all
Reply to author
Forward
0 new messages