Error: Can't locate object method "ConfiguredRepositoryListGet"

Moderator: crythias

Post Reply
carlose71
Znuny newbie
Posts: 2
Joined: 13 Jun 2014, 21:25
Znuny Version: 6.0.33
Real Name: Carlos

Error: Can't locate object method "ConfiguredRepositoryListGet"

Post by carlose71 »

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
carlose71
Znuny newbie
Posts: 2
Joined: 13 Jun 2014, 21:25
Znuny Version: 6.0.33
Real Name: Carlos

Re: Error: Can't locate object method "ConfiguredRepositoryListGet"

Post by carlose71 »

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
root
Administrator
Posts: 3954
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"

Post by root »

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
Hi,

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 ?
Post Reply