Update from OTRS 6.0.30 CE to Znuny 6.1 fails

Moderator: crythias

Post Reply
alek12z
Znuny newbie
Posts: 10
Joined: 16 Feb 2021, 11:46
Znuny Version: 6.0.28
Real Name: Aleksandar

Update from OTRS 6.0.30 CE to Znuny 6.1 fails

Post by alek12z »

Hi All,

I need to update OTRS from current CE 6.0.30, to Znuny latest one, since i need to move on OAuth 2.0 for fetching/sending mails:

Here is brief from environment:

**OTRS**:
PRODUCT = OTRS
VERSION = 6.0.30
BUILDDATE = Tue Sep 29 15:59:13 CEST 2020
BUILDHOST = otrsbuild.otrs.com
COMMIT_ID = 4dee1dafd8c9a5a26788480c2d9287d81ede079c


**OS**:
Upgraded from Ubuntu 18.04 LTS to 20.04.5 LTS, then to 22.04 LTS


Prior proceeding to Update of OTRS to 6.1 znuny edition, in attach all current packages (
001.jpg
snip 001)


**OTRS Upgrade**

Followed instructions here: https://doc.znuny.org/manual/releases/i ... e-6.1.html

At to following step from the instructions:

Execute the migration script
su - otrs
scripts/MigrateToZnuny6_1.pl

I'm getting following errors :

Traceback (3620):
Module: Kernel::System::Stats::GetObjectName Line: 1089
Module: Kernel::System::Stats::StatsGet Line: 286
Module: Kernel::System::Stats::StatsListGet Line: 747
Module: Kernel::System::Stats::GetStatsList Line: 808
Module: Kernel::System::Stats::StatsInstall Line: 1935
Module: var::packagesetup::FAQ::CodeUpgrade Line: 157
Module: (eval) Line: 6
Module: Kernel::System::Package::_Code Line: 3682
Module: Kernel::System::Package::PackageUpgrade Line: 1177
Module: Kernel::System::Package::PackageUpgradeAll Line: 3320
Module: (eval) Line: 140
Module: Kernel::System::Console::Command::Admin::Package::UpgradeAll::Run Line: 132
Module: (eval) Line: 461
Module: Kernel::System::Console::BaseCommand::Execute Line: 455
Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
Module: bin/otrs.Console.pl Line: 37

ERROR: OTRS-otrs.Console.pl-Admin::Package::UpgradeAll-26 Perl: 5.34.0 OS: linux Time: Sat Dec 31 20:21:03 2022

Message: Static object FAQAccess doesn't exist or static object already in use!

Traceback (3620):
Module: Kernel::System::Stats::ObjectModuleCheck Line: 1219
Module: Kernel::System::Stats::Import Line: 1401
Module: Kernel::System::Stats::StatsInstall Line: 1963
Module: var::packagesetup::FAQ::CodeUpgrade Line: 157
Module: (eval) Line: 6
Module: Kernel::System::Package::_Code Line: 3682
Module: Kernel::System::Package::PackageUpgrade Line: 1177
Module: Kernel::System::Package::PackageUpgradeAll Line: 3320
Module: (eval) Line: 140
Module: Kernel::System::Console::Command::Admin::Package::UpgradeAll::Run Line: 132
Module: (eval) Line: 461
Module: Kernel::System::Console::BaseCommand::Execute Line: 455
Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
Module: bin/otrs.Console.pl Line: 37

The following packages were updated...
FAQ
The following packages could not be found in the on-line repositories...
GeneralCatalog
ITSMChangeManagement
ITSMCore
ITSMIncidentProblemManagement
ITSMServiceLevelManagement
QuickOwnerChange
ResponseDefaultState
TimeAccounting



Then OTRS is completely broken.

Any idea or points how to resolve this?

Thank you.
You do not have the required permissions to view the files attached to this post.
root
Administrator
Posts: 3954
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Update from OTRS 6.0.30 CE to Znuny 6.1 fails

Post by root »

Happy New Year,

Please run the migration script again; the error indicates that the parts of the FAQ package might be needed.

- 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 ?
Johannes
Moderator
Posts: 391
Joined: 30 Jan 2008, 02:26
Znuny Version: All of them ^^
Real Name: Hannes
Company: Znuny|OTTERHUB

Re: Update from OTRS 6.0.30 CE to Znuny 6.1 fails

Post by Johannes »

Hi,

another question:
does the migration finish or does it crash?

The error you get is from the faq reporting, which would make sense, because the FAQ is not installed yet. To be more precise, the files are not there yet.
"All you need to do" is to update your packages.
But I suggest you directly move to 6.4. and update them then.

Regards
Johannes
Post Reply