Problem in Migration OTRS to Znunny

Moderator: crythias

Post Reply
cfreire
Znuny newbie
Posts: 59
Joined: 24 Aug 2015, 16:40
Znuny Version: 3.3.x
Real Name: Carlos Freire
Company: Palosanto

Problem in Migration OTRS to Znunny

Post by cfreire »

Hi friends, thnaks for reading, I have a Issued, I have migrated my otrs 6.0.16 to Znunny 6.1 because I had the next error when I tried to fetch messages:

CommunicationLog(ID:5125067,AccountType:-,AccountID:-,Direction:Incoming,Transport:Email,ObjectLogType:Connection,ObjectLogID:8296537)::Kernel::System::MailAccount::POP3 => POP3S: Auth for user ped...

The step that failed when I was in the process of upddating was

[root@svrotrs ~]# su - otrs
Last login: Fri Oct 14 15:17:43 -05 2022 on pts/0
[otrs@svrotrs ~]$ bin/otrs.Console.pl Admin::Package::UpgradeAll
ERROR: OTRS-otrs.Console.pl-Admin::Package::UpgradeAll-10 Perl: 5.16.3 OS: linux Time: Fri Oct 14 15:20:22 2022

Message: Can't perform GET on https://download.znuny.org/releases/mis ... sitory.xml: 500 write failed:

Traceback (26389):
Module: Kernel::System::WebUserAgent::Request Line: 246
Module: Kernel::System::Package::_Download Line: 3582
Module: Kernel::System::Package::PackageOnlineRepositories Line: 1340
Module: Kernel::System::Package::_ConfiguredRepositoryDefinitionGet Line: 5246
Module: Kernel::System::Console::Command::Admin::Package::UpgradeAll::Run Line: 70
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

Fetching on-line repositories...

Upgrading installed packages...
ERROR: OTRS-otrs.Console.pl-Admin::Package::UpgradeAll-10 Perl: 5.16.3 OS: linux Time: Fri Oct 14 15:20:27 2022

Message: Can't perform GET on https://download.znuny.org/releases/mis ... sitory.xml: 500 write failed:

Traceback (26389):
Module: Kernel::System::WebUserAgent::Request Line: 246
Module: Kernel::System::Package::_Download Line: 3582
Module: Kernel::System::Package::PackageOnlineRepositories Line: 1340
Module: Kernel::System::Package::_ConfiguredRepositoryDefinitionGet Line: 5246
Module: Kernel::System::Package::_PackageOnlineListGet Line: 5170
Module: Kernel::System::Package::PackageUpgradeAll Line: 3201
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 could not be found in the on-line repositories...
Znuny4OTRS-CustomPriorityColor

Fail.

And in /tmp/otrs.log I get the next errors:



[Fri Oct 14 15:22:22 2022][Error][Kernel::System::Daemon::DaemonModules::BaseTaskWorker::_HandleError][50] There was an error executing ConfigurationDeploySync: Loaded DateTime::TimeZone::America::Guayaquil, which is from an older version (2018i) of the Olson database than this installation of DateTime::TimeZone (2017b).

[Fri Oct 14 15:22:22 2022][Error][Kernel::System::ObjectManager::_DieWithError][628] Kernel::System::Email could not be loaded: Errno architecture (x86_64-linux-thread-multi-3.10.0-957.1.3.el7.x86_64) does not match executable architecture (x86_64-linux-thread-multi-3.10.0-693.17.1.el7.x86_64) at /usr/lib64/perl5/Errno.pm line 11.
Compilation failed in require at /usr/share/perl5/vendor_perl/File/Temp.pm line 16.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/File/Temp.pm line 16.
Compilation failed in require at /opt/znuny-6.1.2/Kernel/cpan-lib/MIME/Tools.pm line 14.
BEGIN failed--compilation aborted at /opt/znuny-6.1.2/Kernel/cpan-lib/MIME/Tools.pm line 14.
Compilation failed in require at /opt/znuny-6.1.2/Kernel/cpan-lib/MIME/Entity.pm line 243.
BEGIN failed--compilation aborted at /opt/znuny-6.1.2/Kernel/cpan-lib/MIME/Entity.pm line 243.
Compilation failed in require at /opt/znuny-6.1.2/Kernel/System/Email.pm line 17.
BEGIN failed--compilation aborted at /opt/znuny-6.1.2/Kernel/System/Email.pm line 17.
Compilation failed in require at /opt/znuny-6.1.2/Kernel/System/ObjectManager.pm line 255.

Anyone that can to help me please?
skullz
Znuny superhero
Posts: 624
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: Problem in Migration OTRS to Znunny

Post by skullz »

1. Check viewtopic.php?p=173136#p173136

2. Run bin/otrs.CheckModule.pl, check what missing or need update
cfreire
Znuny newbie
Posts: 59
Joined: 24 Aug 2015, 16:40
Znuny Version: 3.3.x
Real Name: Carlos Freire
Company: Palosanto

Re: Problem in Migration OTRS to Znunny

Post by cfreire »

Hi friend thanks for your reply, I have ran that you say to me and later get again:


[otrs@svrotrs ~]$ bin/otrs.Console.pl Admin::Package::UpgradeAll
Fetching online repositories...

Freebie Features... Done
Znuny Open Source Add-ons... Done

Upgrading installed packages...
The following packages could not be found in the online repositories...
Znuny4OTRS-CustomPriorityColor

Fail.
Is thete any way to avoid or delete the Znuny4OTRS-CustomPriorityColor module?

Additional with /opt/otrs/bin/otrs.CheckModules.pl --all
i Get
o Net::SMTP........................ok (v2.31)
Please consider updating to version 3.11 or higher: This version fixes email sending (bug#14357).

May you to say me how can I update this module please?

Thanks for your attention.
root
Administrator
Posts: 3968
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Problem in Migration OTRS to Znunny

Post by root »

cfreire wrote: 17 Oct 2022, 17:42 Upgrading installed packages...
The following packages could not be found in the online repositories...
Znuny4OTRS-CustomPriorityColor
Hi,

This package can't be found because it's renamed to Znuny-CustomPriorittColor and the framework package manager does not find the replacement.

You install the version for 6.4 with this command;

bin/otrs.Console.pl Admin::Package::Install https://addons.znuny.com/api/addon_repo ... 88/:latest

it might be that you need to adjust the related system configuration settings, I recommend saving the before the upgrade.

- 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 ?
cfreire
Znuny newbie
Posts: 59
Joined: 24 Aug 2015, 16:40
Znuny Version: 3.3.x
Real Name: Carlos Freire
Company: Palosanto

Re: Problem in Migration OTRS to Znunny

Post by cfreire »

Hi , thanks for your help....
I have run the command and get the next:


[otrs@svrotrs ~]$ bin/otrs.Console.pl Admin::Package::Install https://addons.znuny.com/api/addon_repo ... 88/:latest
Installing package...
ERROR: OTRS-otrs.Console.pl-Admin::Package::Install-10 Perl: 5.16.3 OS: linux Time: Mon Oct 17 11:06:03 2022

Message: Sorry, can't install/upgrade package, because the framework version required by the package (6.2.x;) does not match your Framework (6.3.4)!

Traceback (18208):
Module: Kernel::System::Package::AnalyzePackageFrameworkRequirements Line: 2750
Module: Kernel::System::Package::PackageInstall Line: 499
Module: Kernel::System::Console::Command::Admin::Package::Install::Run Line: 89
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 81
Module: bin/otrs.Console.pl Line: 37

Error: Package installation failed.
[otrs@svrotrs ~]$

I have updated from Otrs community to Znuny 6.1 later to 6.2 later 6.3
How can I solved this please?
root
Administrator
Posts: 3968
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Problem in Migration OTRS to Znunny

Post by root »

cfreire wrote: 17 Oct 2022, 18:16 Message: Sorry, can't install/upgrade package, because the framework version required by the package (6.2.x;) does not match your Framework (6.3.4)!
TRhe URL for the version 6.3 of this addon is

https://addons.znuny.com/api/addon_repo ... 40/:latest

- 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 ?
cfreire
Znuny newbie
Posts: 59
Joined: 24 Aug 2015, 16:40
Znuny Version: 3.3.x
Real Name: Carlos Freire
Company: Palosanto

Re: Problem in Migration OTRS to Znunny

Post by cfreire »

Thank you very much, the command in/otrs.Console.pl Admin::Package::Install https://addons.znuny.com/api/addon_repo ... 88/:latest solved my updating problem.

Thanks for your help.

Regards. :D :D
Post Reply