I've been trying to upgrade my OTRS 5.0.38 (upgraded from 4.0.5 previously) to version 6.0.23. Every time I try to run DBUpdate-to-6.pl I get the following error:
Code: Select all
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 1602.
Here's what I've tried doing:
Attempted to install an older version from otrs-6.0.1.tar.gz.
Same error.
I tried copying both ZZZAuto.pm and ZZZAAuto.pm from OTRS 5.
Same error.
I noticed that running the script seems to delete ZZZAuto.pm before throwing the error. So I modified /opt/otrs/Kernel/System/SysConfig/Migration.pm and removed the code which deletes ZZZAuto.pm.
I got the following error instead:
Code: Select all
Message: Can't write '/opt/otrs/Kernel/Config/Backups/ZZZAutoOTRS5.pm':
Got an error about being unable to write the file.
I tried following this guide instead of the official: https://www.yobihat.com/update-otrs-fro ... n-centos7/
Same error.
I'm not sure what to do. Help, please?