OTRS 5.0.37 upgrade to 6.0.16 funktioniert nicht

Hilfe zu OTRS Problemen aller Art
Post Reply
sfesslitseasy
Znuny newbie
Posts: 2
Joined: 24 Sep 2019, 17:08
Znuny Version: 5.22
Real Name: Sebastian Fessl
Company: IT is easy GmbH

OTRS 5.0.37 upgrade to 6.0.16 funktioniert nicht

Post by sfesslitseasy »

Hallo

ich spiele mich mittlerweile mit mehreren Anleitungen allerdings komme ich nicht zum gewünschten Ergebnis.
Aktuell habe ich OTRS 5.0.37 installiert und würde diese gerne auf die aktuelle Version bringen.

ich habe im Internet diese Anleitung gefunden: https://www.yobihat.com/update-otrs-fro ... n-centos7/

mein Server OS ist Centos 7.7

folgende Fehlermeldung erhalte ich:

Code: Select all

root@ser1-dc1-help1 otrs]# su -c "scripts/DBUpdate-to-6.pl" -s /bin/bash otrs

 Migration started ...

 Checking requirements ...

    Requirement check for: Check framework version ...
    Requirement check for: Check required Perl version ...
    Requirement check for: Check required database version ...
    Requirement check for: Check database charset ...
    Requirement check for: Check required Perl modules ...
    Requirement check for: Check if database has been backed up ...

        Did you backup the database? [Y]es/[N]o: Y

    Requirement check for: Upgrade database structure ...
    Requirement check for: Migrating time zone configuration ...


        The currently configured time offset is 2 hours, these are the suggestions for a corresponding OTRS time zone:

        Africa/Cairo
        Africa/Ceuta
        Africa/Johannesburg
        Africa/Khartoum
        Africa/Maputo
        Africa/Tripoli
        Africa/Windhoek
        Antarctica/Troll
        CET
        Europe/Amsterdam
        Europe/Andorra
        Europe/Belgrade
        Europe/Berlin
        Europe/Brussels
        Europe/Budapest
        Europe/Copenhagen
        Europe/Gibraltar
        Europe/Kaliningrad
        Europe/Luxembourg
        Europe/Madrid
        Europe/Malta
        Europe/Monaco
        Europe/Oslo
        Europe/Paris
        Europe/Prague
        Europe/Rome
        Europe/Stockholm
        Europe/Tirane
        Europe/Vienna
        Europe/Warsaw
        Europe/Zurich
        MET


        It seems that Europe/Vienna should be the correct time zone to set for your OTRS.

        Enter the time zone to use for OTRSTimeZone (leave empty to show a list of all available time zones): Europe/Vienna

        Enter the time zone to use for UserDefaultTimeZone (leave empty to show a list of all available time zones): Europe/Vienna

        Enter the time zone to use for TimeZone::Calendar1 (leave empty to show a list of all available time zones): Europe/Vienna

        Enter the time zone to use for TimeZone::Calendar2 (leave empty to show a list of all available time zones): Europe/Vienna

        Enter the time zone to use for TimeZone::Calendar3 (leave empty to show a list of all available time zones): Europe/Vienna

        Enter the time zone to use for TimeZone::Calendar4 (leave empty to show a list of all available time zones): Europe/Vienna

        Enter the time zone to use for TimeZone::Calendar5 (leave empty to show a list of all available time zones): Europe/Vienna

        Enter the time zone to use for TimeZone::Calendar6 (leave empty to show a list of all available time zones): Europe/Vienna

        Enter the time zone to use for TimeZone::Calendar7 (leave empty to show a list of all available time zones): Europe/Vienna

        Enter the time zone to use for TimeZone::Calendar8 (leave empty to show a list of all available time zones): Europe/Vienna

        Enter the time zone to use for TimeZone::Calendar9 (leave empty to show a list of all available time zones): Europe/Vienna

    Requirement check for: Update calendar appointment future tasks ...
    Requirement check for: Migrate GenericAgent jobs configuration ...
    Requirement check for: Migrate TicketAppointment rules configuration ...
    Requirement check for: Create entries in new article table ...
    Requirement check for: Migrate ArticleType in ProcessManagement Data ...
    Requirement check for: Migrate ArticleType in PostMaster filters ...

 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 ...
[Tue Sep 24 20:37:03 2019] DBUpdate-to-6.pl: Use of uninitialized value $DefaultSetting{"Name"} in concatenation (.) or string at /opt/otrs/Kernel/System/SysConfig/DB.pm line 1700.
ERROR: OTRS-otrs.Console.pl-Maint::Database::Check-17 Perl: 5.16.3 OS: linux Time: Tue Sep 24 20:37:03 2019

 Message: Setting Ticket::Article::Backend::MIMEBase::ArticleStorage does not exists!

 Traceback (40743):
   Module: Kernel::System::SysConfig::SettingUpdate Line: 454
   Module: scripts::DBUpdateTo6::Base::SettingUpdate Line: 664
   Module: scripts::DBUpdateTo6::MigrateTicketStorageModule::Run Line: 51
   Module: scripts::DBUpdateTo6::_ExecuteComponent Line: 157
   Module: scripts::DBUpdateTo6::Run Line: 69
   Module: scripts/DBUpdate-to-6.pl Line: 87


    Error:Unable to migrate Ticket::StorageModule.




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

ich bitte euch daher um Hilfe...

mit freundlichen Grüßen
Sebastian
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS 5.0.37 upgrade to 6.0.16 funktioniert nicht

Post by jojo »

Bitte benutze die offizielle Anleitung + die letzte Version der ((OTRS)) Community Edition
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
sfesslitseasy
Znuny newbie
Posts: 2
Joined: 24 Sep 2019, 17:08
Znuny Version: 5.22
Real Name: Sebastian Fessl
Company: IT is easy GmbH

Re: OTRS 5.0.37 upgrade to 6.0.16 funktioniert nicht

Post by sfesslitseasy »

Hallo nochmal

ich denke das Problem ist behoben ich habe die selbe Anleitung mit der 6.0.21 gemacht und dies lief problemlos!

diese Anleitung funtktioniert nur "halb" da die XMLs nicht umgeschrieben werden. Steht auch nur in einem Link drinnen.

meine Empfehlung ist daher folgende:

https://doc.otrs.com/doc/manual/admin/6 ... ating.html
mit der anderen: https://www.yobihat.com/update-otrs-fro ... n-centos7/

zu kombinieren.
Danke trotzdem

LG
Sebastian
Post Reply