Updating ITSMCore-5.0.9 Fails

Moderator: crythias

Locked
devel1988
Znuny newbie
Posts: 12
Joined: 07 Apr 2016, 08:10
Znuny Version: 5.0.9
Real Name: Robin
Company: Wycor

Updating ITSMCore-5.0.9 Fails

Post by devel1988 »

after updating to 5.0.9 i'm unable to update the ITSMCore package, either via webinterface or via console.

Code: Select all

 
 $shell> bin/otrs.Console.pl Admin::Package::Upgrade /opt/opm/5.0.9/ITSMCore-5.0.9.opm
Upgrading package...
+----------------------------------------------------------------------------+
| ITSMCore-5.0.9
| Upgrade Information

|  WELCOME

|  You are about to upgrade the OTRS package ITSMCore.

|  REQUIRED OTRS PACKAGES GeneralCatalog 5.0.9

|  ((enjoy))

 +----------------------------------------------------------------------------+
ERROR: OTRS-otrs.Console.pl-Admin::Package::Upgrade-10 Perl: 5.16.2 OS: linux Time: Thu Apr  7 08:07:08 2016

 Message: Can't install/upgrade package, file var/httpd/htdocs/js/ITSM.Agent.ConfirmationDialog.js already used in package ITSMChangeManagement-5.0.8!

 Traceback (4705):
   Module: Kernel::System::Package::_PackageFileCheck Line: 3266
   Module: Kernel::System::Package::PackageUpgrade Line: 829
   Module: Kernel::System::Console::Command::Admin::Package::Upgrade::Run Line: 71
   Module: (eval) Line: 444
   Module: Kernel::System::Console::BaseCommand::Execute Line: 438
   Module: Kernel::System::Console::InterfaceConsole::Run Line: 86
   Module: bin/otrs.Console.pl Line: 38

Error: Package upgrade failed.

Code: Select all

$shell> bin/otrs.Console.pl Admin::Package::List
Listing all installed packages...
+----------------------------------------------------------------------------+
| Name:        GeneralCatalog
| Version:     5.0.9
| Vendor:      xxx
| URL:         http://otrs.org/
| License:     GNU AFFERO GENERAL PUBLIC LICENSE Version 3, November 2007
| Description: The General Catalog package.
+----------------------------------------------------------------------------+
| Name:        ImportExport
| Version:     5.0.9
| Vendor:      xxx
| URL:         http://otrs.org/
| License:     GNU AFFERO GENERAL PUBLIC LICENSE Version 3, November 2007
| Description: The ImportExport package.
+----------------------------------------------------------------------------+
| Name:        ITSM
| Version:     5.0.9
| Vendor:      xxx
| URL:         http://otrs.org/
| License:     GNU AFFERO GENERAL PUBLIC LICENSE Version 3, November 2007
| Description: The OTRS::ITSM bundle package.
+----------------------------------------------------------------------------+
| Name:        ITSMChangeManagement
| Version:     5.0.8
| Vendor:      xxx
| URL:         http://otrs.org/
| License:     GNU AFFERO GENERAL PUBLIC LICENSE Version 3, November 2007
| Description: The OTRS::ITSM Change Management package.
+----------------------------------------------------------------------------+
| Name:        ITSMConfigurationManagement
| Version:     5.0.8
| Vendor:      xxx
| URL:         http://otrs.org/
| License:     GNU AFFERO GENERAL PUBLIC LICENSE Version 3, November 2007
| Description: The OTRS::ITSM Configuration Management package.
+----------------------------------------------------------------------------+
| Name:        ITSMCore
| Version:     5.0.8
| Vendor:      xxx
| URL:         http://otrs.org/
| License:     GNU AFFERO GENERAL PUBLIC LICENSE Version 3, November 2007
| Description: The OTRS::ITSM Core package.
+----------------------------------------------------------------------------+
| Name:        ITSMIncidentProblemManagement
| Version:     5.0.8
| Vendor:      xxx
| URL:         http://otrs.org/
| License:     GNU AFFERO GENERAL PUBLIC LICENSE Version 3, November 2007
| Description: The OTRS::ITSM Incident and Problem Management package.
+----------------------------------------------------------------------------+
| Name:        ITSMServiceLevelManagement
| Version:     5.0.8
| Vendor:      xxx
| URL:         http://otrs.org/
| License:     GNU AFFERO GENERAL PUBLIC LICENSE Version 3, November 2007
| Description: The OTRS::ITSM Service Level Management package.
+----------------------------------------------------------------------------+
| Name:        OTRSMasterSlave
| Version:     5.0.2
| Vendor:      xxx
| URL:         http://otrs.org/
| License:     GNU AFFERO GENERAL PUBLIC LICENSE Version 3, November 2007
| Description: Includes "Ticket Master/Slave" feature.
+----------------------------------------------------------------------------+
| Name:        SystemMonitoring
| Version:     5.0.1
| Vendor:      xxx
| URL:         http://otrs.org/
| License:     GNU AFFERO GENERAL PUBLIC LICENSE Version 3, November 2007
| Description: Basic mail interface to System Monitoring Suites. Also provides deeper integration to Nagios (Acknowledge on lock and check script).
+----------------------------------------------------------------------------+
| Name:        TimeAccounting
| Version:     5.0.1
| Vendor:      xxx
| URL:         http://otrs.org/
| License:     GNU AFFERO GENERAL PUBLIC LICENSE Version 3, November 2007
| Description: A Time Registration Module.
+----------------------------------------------------------------------------+
Done.

Thanks in Advance
xrenex
Znuny newbie
Posts: 33
Joined: 30 Dec 2014, 16:01
Znuny Version: 5.0.9

Re: Updating ITSMCore-5.0.9 Fails

Post by xrenex »

We had the same Problem.

With the Option "[--force] - Force package upgrade even if validation fails" via console it works for us.
devel1988
Znuny newbie
Posts: 12
Joined: 07 Apr 2016, 08:10
Znuny Version: 5.0.9
Real Name: Robin
Company: Wycor

Re: Updating ITSMCore-5.0.9 Fails

Post by devel1988 »

Thanks, it worked. But now i have the issue i can't install the other 5.0.9 ITSM packages

update: never mind, downloaded packages from the portal site and it works now.
Locked