6.0.1 Issue updating Packages

Moderator: crythias

Post Reply
kruegerM
Znuny expert
Posts: 213
Joined: 02 Dec 2010, 16:53
Znuny Version: 6.0.29
Real Name: Marc
Company: National Jewish Health
Location: Denver, CO

6.0.1 Issue updating Packages

Post by kruegerM »

Our production is currently at 5.0.23; I am currently testing the migration to 6.0.1.

I ran into issues with the Package Manager.

I first tried otrs.Console.pl Admin::Package::UpgradeAll - which gave me the error:
The following packages could not be found in the online repositories...
General Catalog
ITSM
ITSMChangeManagement
ITSMConfigurationManagement
ITSMCore
ITSMIncidentProblemManagement
ITSMServiceLevelManagement
ImportExport


I then tried otrs.Console.pl Admin::Package::Install ITSM-6.0.1 - which gave me the following:
Message: MySQL server has gone away, SQL: 'INSERT INTO package_repository (name, version, vendor, filename, content_type, content, install_status, create_time, create_by, change_time, change_by) VALUES (?, ?, ?, ?, 'text/xml', ?, 'not installed', '2017-11-22 17:48:57', 1, 2017-11-22-17:48:57), 1)'

I did check the my.cnf file, it shows max_allowed_packet=48M
I was able to install each of the ITSM 'sub-components' one OPM at a time. The Package Manager within the GUI shows all components installed with no issues.
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: 6.0.1 Issue updating Packages

Post by jojo »

for the upgrade all you have to change the used repository in the sysconfig (best would be before migration).
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
kruegerM
Znuny expert
Posts: 213
Joined: 02 Dec 2010, 16:53
Znuny Version: 6.0.29
Real Name: Marc
Company: National Jewish Health
Location: Denver, CO

Re: 6.0.1 Issue updating Packages

Post by kruegerM »

That would make sense - I'll give that a go at my next test.
So far everything looks great. I like the new Admin layout.
atom
Znuny newbie
Posts: 14
Joined: 06 Nov 2018, 13:03
Znuny Version: OTRS5
Real Name: Ahmet

Re: 6.0.1 Issue updating Packages

Post by atom »

Hi,

i have the same problem. How can i change the repository and what is the new repository?
I did not found anything here: https://doc.otrs.com/doc/manual/admin/6 ... index.html

best regards
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: 6.0.1 Issue updating Packages

Post by reneeb »

Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
daveybops
Znuny newbie
Posts: 8
Joined: 16 Sep 2018, 17:53
Znuny Version: OTRS6.0
Real Name: David Smith

Re: 6.0.1 Issue updating Packages

Post by daveybops »

This seems to be my sticking point upgrading from 6.0.x to 6.0.22

In to which config file do I put the correct repository information please?

Many thanks!
OTRS 6.0.x on Ubuntu 18.04 on physical hardware with MySql
Post Reply