We got the following error in going from znuny 6.1.2 to 6.2.2 instead of as documented that is 6.2 to 6.3.
When we ran reinstall all cmd, we got version mismatch error that is package of 6.2 cant be installed on 6.1 etc.
when we ran we got
Can't locate Kernel/System/Stats/Dynamic/ITSMTicketFirstLevelSolutionRate.pm in @INC (you may need to install the Kernel::System::Stats::Dynamic::ITSMTicketFirstLevelSolutionRate module) (@INC contains: /opt/znuny-6.2.2/Custom /opt/znuny-6.2.2/Kernel/cpan-lib /opt/znuny-6.2.2 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.34.0 /usr/local/share/perl/5.34.0 /usr/lib/x86_64-linux-gnu/perl5/5.34 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.34 /usr/share/perl/5.34 /usr/local/lib/site_perl) at /opt/znuny-6.2.2/Kernel/System/Main.pm line 86.
But then we ram upgradeall cmd and it went well.
Can you suggest if our approch is right
Dynamic statistic error while upgrade
Moderator: crythias
-
- Znuny newbie
- Posts: 68
- Joined: 20 Sep 2022, 13:59
- Znuny Version: Znuny 6.5 LTS
- Real Name: BP Singh
Dynamic statistic error while upgrade
You do not have the required permissions to view the files attached to this post.
Last edited by beingbaban on 06 Mar 2025, 06:25, edited 1 time in total.
-
- Administrator
- Posts: 4232
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Missing Dynamic Field Objects
Hi,
This is not a dynamic field object (=please fix the subject). It is a dynamic statistic. You can solve this by updating GeneralCatalog, ITSMCore and ITSMServiceLevelManagement. And I strongly recommends doing this via command line:
- Roy
This is not a dynamic field object (=please fix the subject). It is a dynamic statistic. You can solve this by updating GeneralCatalog, ITSMCore and ITSMServiceLevelManagement. And I strongly recommends doing this via command line:
Code: Select all
bin/otrs.Console.pl Admin::Package::Upgrade https://download.znuny.org/releases/itsm/packages6x/:GeneralCatalog
bin/otrs.Console.pl Admin::Package::Upgrade https://download.znuny.org/releases/itsm/packages6x/:ITSMCore
bin/otrs.Console.pl Admin::Package::Upgrade https://download.znuny.org/releases/itsm/packages6x/:ITSMServiceLevelManagemenT
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: 68
- Joined: 20 Sep 2022, 13:59
- Znuny Version: Znuny 6.5 LTS
- Real Name: BP Singh
Re: Missing Dynamic Field Objects
root wrote: ↑04 Mar 2025, 13:04 Hi,
This is not a dynamic field object (=please fix the subject). It is a dynamic statistic. You can solve this by updating GeneralCatalog, ITSMCore and ITSMServiceLevelManagement. And I strongly recommends doing this via command line:
- RoyCode: Select all
bin/otrs.Console.pl Admin::Package::Upgrade https://download.znuny.org/releases/itsm/packages6x/:GeneralCatalog bin/otrs.Console.pl Admin::Package::Upgrade https://download.znuny.org/releases/itsm/packages6x/:ITSMCore bin/otrs.Console.pl Admin::Package::Upgrade https://download.znuny.org/releases/itsm/packages6x/:ITSMServiceLevelManagemenT
Thanks Roy,
I got this error when upgrading and then it displayed migration completed.
Shall I update packages via cmdline and then rerun migration script?
-
- Moderator
- Posts: 425
- Joined: 30 Jan 2008, 02:26
- Znuny Version: All of them ^^
- Real Name: Hannes
- Company: Znuny|OTTERHUB
Re: Dynamic statistic error while upgrade
Yes. Install / update the packages and re run the script.

