Error migration version 5 to 6
Moderator: crythias
-
- Znuny newbie
- Posts: 2
- Joined: 26 Sep 2017, 18:03
- Znuny Version: version 5
- Real Name: Sergio Dutra
- Company: Hitos
Error migration version 5 to 6
Hello dear,
i am having problems with migration otrs 5 to 6.
Enter the time zone to use for UserDefaultTimeZone (leave empty to show a list of all available time zones): America/Montevideo
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 33: Check framework version ...
Step 2 of 33: Check required Perl version ...
Step 3 of 33: Check required database version. ...
Step 4 of 33: Check required Perl modules ...
Step 5 of 33: Upgrade database structure ...
Step 6 of 33: Migrate configuration ...
Can't locate object method "Load" via package "Kernel::Config::Backups::ZZZAutoOTRS5" (perhaps you forgot to load "Kernel::Config::Backups::ZZZAutoOTRS5"?) at /opt/otrs/Kernel/System/SysConfig/Migration.pm line 1429.
i am having problems with migration otrs 5 to 6.
Enter the time zone to use for UserDefaultTimeZone (leave empty to show a list of all available time zones): America/Montevideo
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 33: Check framework version ...
Step 2 of 33: Check required Perl version ...
Step 3 of 33: Check required database version. ...
Step 4 of 33: Check required Perl modules ...
Step 5 of 33: Upgrade database structure ...
Step 6 of 33: Migrate configuration ...
Can't locate object method "Load" via package "Kernel::Config::Backups::ZZZAutoOTRS5" (perhaps you forgot to load "Kernel::Config::Backups::ZZZAutoOTRS5"?) at /opt/otrs/Kernel/System/SysConfig/Migration.pm line 1429.
-
- Administrator
- Posts: 3968
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Error migration version 5 to 6
HI,
I hope you did not upgraded a production system.
Maybe this is a bug? Did you check the bugtracker?
- Roy
I hope you did not upgraded a production system.
Maybe this is a bug? Did you check the bugtracker?
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Znuny newbie
- Posts: 2
- Joined: 26 Sep 2017, 18:03
- Znuny Version: version 5
- Real Name: Sergio Dutra
- Company: Hitos
Re: Error migration version 5 to 6
Thanks for your answer, it's a production clone. on the official page there is a tutorial to do the update
http://doc.otrs.com/doc/manual/admin/6. ... ading.html
http://doc.otrs.com/doc/manual/admin/6. ... ading.html
-
- Administrator
- Posts: 3968
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Error migration version 5 to 6
If you followed the manual the I consider it a bug.sdutra wrote:Thanks for your answer, it's a production clone. on the official page there is a tutorial to do the update
http://doc.otrs.com/doc/manual/admin/6. ... ading.html
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Re: Error migration version 5 to 6
please create a bug report
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 4
- Joined: 18 Sep 2019, 14:10
- Znuny Version: 6.0-22
- Real Name: Nick van Hoesel
Re: Error migration version 5 to 6
Bump this post please.
I have the same issue and there seems to be no solution
things i have tried:
-tried editing migration.pm but no luck there.
-tried upgrading to the latest 5.x and then to latest 6.x
-tried updating to latest 5.x and then to 6.01
-tried updating to latest 5.x and then to 6.10
-trief updating directly from my otrs 5.22 to latest 6.x
I have the same issue and there seems to be no solution
things i have tried:
-tried editing migration.pm but no luck there.
-tried upgrading to the latest 5.x and then to latest 6.x
-tried updating to latest 5.x and then to 6.01
-tried updating to latest 5.x and then to 6.10
-trief updating directly from my otrs 5.22 to latest 6.x
-
- Znuny newbie
- Posts: 4
- Joined: 18 Sep 2019, 14:10
- Znuny Version: 6.0-22
- Real Name: Nick van Hoesel
Re: Error migration version 5 to 6
Btw i got the error reduce to just Can't locate object method "Load" via package "Kernel::Config::Backups::ZZZAutoOTRS5" at /opt/otrs/Kernel/System/SysConfig/Migration.pm line 1605. by adding the package to Migration.pm
Re: Error migration version 5 to 6
We also experienced huge problems getting the Update to work. We have tried following the official installation Instructions to no success. After a lot of trial and error this is the step by step that worked for us.
-Update to latest 5.X
# opt/otrs/script/backup.pl -t fullbackup -d /opt/otrs-backup
# service cron postfix apache2 stop
# get "http://ftp.otrs.org/pub/otrs/otrs-x6.0.1.tar.gz"
# tar -xzf otrs-6.0.1.tar.gz otrs-6.0.1/
# mv otrs/ /opt/otrs-old/
# mv otrs-6.0.1/ /opt/otrs/
-Backup old files:
# cp /opt/otrs-old/Kernel/Config.pm /opt/otrs/Kernel/
# cp /opt/otrs-old/Kernel/Config/Files/ZZZ* /opt/otrs/Kernel/Config/Files"
# cp /opt/otrs-old/var/stats/*.installed /opt/otrs/var/stats
# cp -rfv /opt/otrs-old/var/* /opt/otrs/var
-Set Permissions:
# sudo /opt/bin/otrs.SetPermissions.pl --web-group=web-data
-DBUpdate
# /opt/otrs/scripts/DBUpdate-to-6.pl
# /opt/otrs/bin/otrs.Console.pl Maint::Config::Rebuild
So for some kind of reason the command /opt/otrs/bin/otrs.Console.pl Dev::Tools::Migrate::ConfigXMLStructure would not work for us.
-Update to latest 5.X
# opt/otrs/script/backup.pl -t fullbackup -d /opt/otrs-backup
# service cron postfix apache2 stop
# get "http://ftp.otrs.org/pub/otrs/otrs-x6.0.1.tar.gz"
# tar -xzf otrs-6.0.1.tar.gz otrs-6.0.1/
# mv otrs/ /opt/otrs-old/
# mv otrs-6.0.1/ /opt/otrs/
-Backup old files:
# cp /opt/otrs-old/Kernel/Config.pm /opt/otrs/Kernel/
# cp /opt/otrs-old/Kernel/Config/Files/ZZZ* /opt/otrs/Kernel/Config/Files"
# cp /opt/otrs-old/var/stats/*.installed /opt/otrs/var/stats
# cp -rfv /opt/otrs-old/var/* /opt/otrs/var
-Set Permissions:
# sudo /opt/bin/otrs.SetPermissions.pl --web-group=web-data
-DBUpdate
# /opt/otrs/scripts/DBUpdate-to-6.pl
# /opt/otrs/bin/otrs.Console.pl Maint::Config::Rebuild
So for some kind of reason the command /opt/otrs/bin/otrs.Console.pl Dev::Tools::Migrate::ConfigXMLStructure would not work for us.
Re: Error migration version 5 to 6
please take always latest patchlevel for a migration
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 4
- Joined: 18 Sep 2019, 14:10
- Znuny Version: 6.0-22
- Real Name: Nick van Hoesel
Re: Error migration version 5 to 6
will try this only thing i havent done is set the permissions before running the dbupdate scriptmjmj wrote: ↑19 Sep 2019, 15:12 We also experienced huge problems getting the Update to work. We have tried following the official installation Instructions to no success. After a lot of trial and error this is the step by step that worked for us.
-Update to latest 5.X
# opt/otrs/script/backup.pl -t fullbackup -d /opt/otrs-backup
# service cron postfix apache2 stop
# get "http://ftp.otrs.org/pub/otrs/otrs-x6.0.1.tar.gz"
# tar -xzf otrs-6.0.1.tar.gz otrs-6.0.1/
# mv otrs/ /opt/otrs-old/
# mv otrs-6.0.1/ /opt/otrs/
-Backup old files:
# cp /opt/otrs-old/Kernel/Config.pm /opt/otrs/Kernel/
# cp /opt/otrs-old/Kernel/Config/Files/ZZZ* /opt/otrs/Kernel/Config/Files"
# cp /opt/otrs-old/var/stats/*.installed /opt/otrs/var/stats
# cp -rfv /opt/otrs-old/var/* /opt/otrs/var
-Set Permissions:
# sudo /opt/bin/otrs.SetPermissions.pl --web-group=web-data
-DBUpdate
# /opt/otrs/scripts/DBUpdate-to-6.pl
# /opt/otrs/bin/otrs.Console.pl Maint::Config::Rebuild
So for some kind of reason the command /opt/otrs/bin/otrs.Console.pl Dev::Tools::Migrate::ConfigXMLStructure would not work for us.