Hi,
I am upgrading from znuny otrs 6.0.33 to 6.3.3, but I was only able to complete the process to 6.3.1.
When I want to upgrade to 6.3.2 or 6.3.3 the command bin/otrs.Console.pl Admin::Package::UpgradeAll throws the following error:
Error: Can't locate object method "ConfiguredRepositoryListGet" via package "Kernel::System::Package" at /opt/znuny-6.3.3/Kernel/System/Console/Command/Admin/Package/UpgradeAll.pm line 68.
The application works correctly but the "Package Manager" cannot be accessed.
How can I resolve this error?
Thanks in advance
Carlos
Error: Can't locate object method "ConfiguredRepositoryListGet"
Moderator: crythias
Re: Error: Can't locate object method "ConfiguredRepositoryListGet"
Hi, I found the problem.
I leave the solution in the forum in case someone helps you in the future.
The Znuny4OTRS-Repo package that existed in the old installation installs a copy of Package.pm in /opt/otrs/Custom/Kernel/System that is incompatible with versions 6.3.2 or higher.
Simply removing the /opt/otrs/Custom/Kernel/System/Package.pm resolved this error.
Regards
Carlos
I leave the solution in the forum in case someone helps you in the future.
The Znuny4OTRS-Repo package that existed in the old installation installs a copy of Package.pm in /opt/otrs/Custom/Kernel/System that is incompatible with versions 6.3.2 or higher.
Simply removing the /opt/otrs/Custom/Kernel/System/Package.pm resolved this error.
Regards
Carlos
-
- Administrator
- Posts: 3960
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Error: Can't locate object method "ConfiguredRepositoryListGet"
Hi,carlose71 wrote: ↑11 May 2022, 16:23 Hi, I found the problem.
I leave the solution in the forum in case someone helps you in the future.
The Znuny4OTRS-Repo package that existed in the old installation installs a copy of Package.pm in /opt/otrs/Custom/Kernel/System that is incompatible with versions 6.3.2 or higher.
Simply removing the /opt/otrs/Custom/Kernel/System/Package.pm resolved this error.
Regards
Carlos
It's not incompatible it still not exist for this version. Since Znuny 6.1 the functionality of this package is part of Znuny. Still having this file is just the result of not following the upgrade instructions properly.
- 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 ?