Migrate otrs 5 to 6

Moderator: crythias

Post Reply
spinaldf
Znuny newbie
Posts: 48
Joined: 29 Apr 2019, 16:29
Znuny Version: 6community
Real Name: Luiz Guilherme

Migrate otrs 5 to 6

Post by spinaldf »

Hi

I did upgrade otrs 5 to otrs 6, but when I execute this command for rebuild this configuration, but unfortunately I did not succeed.
I don't have idea how fix this error.

Any suggestion?

su -c "/opt/otrs/bin/otrs.Console.pl Maint::Config::Rebuild --cleanup" -s /bin/bash otrs
Kernel::Config::Files::Znuny4OTRSRepo has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1978.
Rebuilding the system configuration...
Kernel::Config::Files::Znuny4OTRSRepo has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1978.
Kernel::Config::Files::Znuny4OTRSRepo has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1978.
Kernel::Config::Files::Znuny4OTRSRepo has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1978.
ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-3 Perl: 5.16.3 OS: linux Time: Mon Aug 10 10:12:55 2020

Message: Setting Frontend::Module###AgentCIClassSearch Effective value is not correct: FrontendRegistration must define NavBarName!

Traceback (120301):
Module: Kernel::System::SysConfig::ConfigurationDeploy Line: 3485
Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 137
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: 36

Error: There was a problem writing ZZZAAuto.pm.
zzz
Znuny superhero
Posts: 889
Joined: 15 Dec 2016, 15:13
Znuny Version: All
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: Migrate otrs 5 to 6

Post by zzz »

Hello,

Did you execute step 5 of the official update doc?
If that doesn't help, you can try to reset the setting

Code: Select all

su -c "/opt/otrs/bin/otrs.Console.pl Admin::Config::Update --setting-name 'Frontend::Module###AgentCIClassSearch' --reset" -s /bin/bash otrs
— Emin
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/

Free and premium add-ons: German | English
root
Administrator
Posts: 3968
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Migrate otrs 5 to 6

Post by root »

Hi,

I guess you use RPM. Delete the file Kernel/Config/Files/ZZZZZZnuny4OTRSRepo.pm first, it's not needed during the migration.

- 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 ?
spinaldf
Znuny newbie
Posts: 48
Joined: 29 Apr 2019, 16:29
Znuny Version: 6community
Real Name: Luiz Guilherme

Re: Migrate otrs 5 to 6

Post by spinaldf »

zzz wrote: 10 Aug 2020, 15:29 Hello,

Did you execute step 5 of the official update doc?
If that doesn't help, you can try to reset the setting

Code: Select all

su -c "/opt/otrs/bin/otrs.Console.pl Admin::Config::Update --setting-name 'Frontend::Module###AgentCIClassSearch' --reset" -s /bin/bash otrs
— Emin
Well, I Use this Official Doc.

su -c "/opt/otrs/bin/otrs.Console.pl Admin::Config::Update --setting-name 'Frontend::Module###AgentCIClassSear
ch' --reset" -s /bin/bash otrs
Kernel::Config::Files::Znuny4OTRSRepo has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1978.
Kernel::Config::Files::Znuny4OTRSRepo has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1978.
Kernel::Config::Files::Znuny4OTRSRepo has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1978.
Resetting setting value...

Kernel::Config::Files::Znuny4OTRSRepo has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1978.
ERROR: OTRS-otrs.Console.pl-Admin::Config::Update-3 Perl: 5.16.3 OS: linux Time: Mon Aug 10 11:20:16 2020

Message: Setting Frontend::Module###AgentCIClassSearch Effective value is not correct: FrontendRegistration must define NavBarName!

Traceback (120556):
Module: Kernel::System::SysConfig::ConfigurationDeploy Line: 3485
Module: Kernel::System::Console::Command::Admin::Config::Update::Run Line: 233
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: 36

Error: Deployment failed!
spinaldf
Znuny newbie
Posts: 48
Joined: 29 Apr 2019, 16:29
Znuny Version: 6community
Real Name: Luiz Guilherme

Re: Migrate otrs 5 to 6

Post by spinaldf »

root wrote: 10 Aug 2020, 15:30 Hi,

I guess you use RPM. Delete the file Kernel/Config/Files/ZZZZZZnuny4OTRSRepo.pm first, it's not needed during the migration.

- Roy
Well, I use rpm for update otrs 5 to otrs6, but I removed all packages of old installation.
root
Administrator
Posts: 3968
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Migrate otrs 5 to 6

Post by root »

spinaldf wrote: 10 Aug 2020, 16:30
Well, I use rpm for update otrs 5 to otrs6, but I removed all packages of old installation.
This can be a risk and lead to data loss if a package e.g. removes tabvlees during uninstallation. I never uninstall add-ons for an update.

- 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 ?
spinaldf
Znuny newbie
Posts: 48
Joined: 29 Apr 2019, 16:29
Znuny Version: 6community
Real Name: Luiz Guilherme

Re: Migrate otrs 5 to 6

Post by spinaldf »

root wrote: 10 Aug 2020, 16:35
spinaldf wrote: 10 Aug 2020, 16:30
Well, I use rpm for update otrs 5 to otrs6, but I removed all packages of old installation.
This can be a risk and lead to data loss if a package e.g. removes tabvlees during uninstallation. I never uninstall add-ons for an update.

- Roy
I think to remove third party packages. Anyway thanks
Post Reply