Package not correctly deployed

Moderator: crythias

Locked
BenI
Znuny newbie
Posts: 72
Joined: 18 Mar 2014, 13:09
Znuny Version: 5.0.19
Real Name: Ben Ipinge
Company: Telecom Namibia

Package not correctly deployed

Post by BenI »

Good day,

I installed a number of modules/packages from opar repository and some installed fine without any issues, while others are giving the "package is not correctly deployed! Please reinstall the package." error.

The packages are ArticleCopyMoveDelete 1.3.1 | ITSM-CIAttributeCollection 2.4.1| ITSMTrace 0.8.1 | OTRSCMDBExplorer 3.3.1

I picked up a difference in the List of Files between the correctly installed packages and incorrectly installed packages. The incorrectly deployed packages list of files include <packagename>.sopm while the others dont.

In the web server error logfile, I get the following message

Code: Select all

ERROR: OTRS-CGI-64 Perl: 5.14.2 OS: linux Time: Tue Jun  2 16:03:04 2015

 Message: ArticleCopyMoveDelete-1.3.1: No such file: /opt/otrs/ArticleCopyMoveDelete.sopm!

 RemoteAddress: 192.168.229.108
 RequestURI: /index.pl?Action=AdminPackageManager

 Traceback (15695):
   Module: Kernel::System::Package::DeployCheck (OTRS 3.3.8) Line: 1382
   Module: Kernel::Modules::AdminPackageManager::Run (OTRS 3.3.8) Line: 1313
   Module: Kernel::System::Web::InterfaceAgent::Run (OTRS 3.3.8) Line: 871
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 49
   Module: (eval) (v1.99) Line: 204
   Module: ModPerl::RegistryCooker::run (v1.99) Line: 204
   Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 170
   Module: ModPerl::Registry::handler (v1.99) Line: 31

ERROR: OTRS-CGI-64 Perl: 5.14.2 OS: linux Time: Tue Jun  2 16:03:05 2015

 Message: ITSM-CIAttributeCollection-2.4.1: No such file: /opt/otrs/ITSM-CIAttributeCollection.sopm!

 RemoteAddress: 192.168.229.108
 RequestURI: /index.pl?Action=AdminPackageManager

 Traceback (15695):
   Module: Kernel::System::Package::DeployCheck (OTRS 3.3.8) Line: 1382
   Module: Kernel::Modules::AdminPackageManager::Run (OTRS 3.3.8) Line: 1313
   Module: Kernel::System::Web::InterfaceAgent::Run (OTRS 3.3.8) Line: 871
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 49
   Module: (eval) (v1.99) Line: 204
   Module: ModPerl::RegistryCooker::run (v1.99) Line: 204
   Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 170
   Module: ModPerl::Registry::handler (v1.99) Line: 31

ERROR: OTRS-CGI-64 Perl: 5.14.2 OS: linux Time: Tue Jun  2 16:03:05 2015

 Message: ITSMTrace-0.8.1: No such file: /opt/otrs/COPYING-ITSMTrace!

 RemoteAddress: 192.168.229.108
 RequestURI: /index.pl?Action=AdminPackageManager

 Traceback (15695):
   Module: Kernel::System::Package::DeployCheck (OTRS 3.3.8) Line: 1382
   Module: Kernel::Modules::AdminPackageManager::Run (OTRS 3.3.8) Line: 1313
   Module: Kernel::System::Web::InterfaceAgent::Run (OTRS 3.3.8) Line: 871
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 49
   Module: (eval) (v1.99) Line: 204
   Module: ModPerl::RegistryCooker::run (v1.99) Line: 204
   Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 170
   Module: ModPerl::Registry::handler (v1.99) Line: 31

ERROR: OTRS-CGI-64 Perl: 5.14.2 OS: linux Time: Tue Jun  2 16:03:05 2015

 Message: OTRSCMDBExplorer-3.3.1: No such file: /opt/otrs/COPYING-OTRSCMDBExplorer!

 RemoteAddress: 192.168.229.108
 RequestURI: /index.pl?Action=AdminPackageManager

 Traceback (15695):
   Module: Kernel::System::Package::DeployCheck (OTRS 3.3.8) Line: 1382
   Module: Kernel::Modules::AdminPackageManager::Run (OTRS 3.3.8) Line: 1313
   Module: Kernel::System::Web::InterfaceAgent::Run (OTRS 3.3.8) Line: 871
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 49
   Module: (eval) (v1.99) Line: 204
   Module: ModPerl::RegistryCooker::run (v1.99) Line: 204
   Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 170
   Module: ModPerl::Registry::handler (v1.99) Line: 31

ERROR: OTRS-CGI-64 Perl: 5.14.2 OS: linux Time: Tue Jun  2 16:03:05 2015

 Message: OTRSCMDBExplorer-3.3.1: No such file: /opt/otrs/OTRSCMDBExplorer.sopm!

 RemoteAddress: 192.168.229.108
 RequestURI: /index.pl?Action=AdminPackageManager

 Traceback (15695):
   Module: Kernel::System::Package::DeployCheck (OTRS 3.3.8) Line: 1382
   Module: Kernel::Modules::AdminPackageManager::Run (OTRS 3.3.8) Line: 1313
   Module: Kernel::System::Web::InterfaceAgent::Run (OTRS 3.3.8) Line: 871
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 49
   Module: (eval) (v1.99) Line: 204
   Module: ModPerl::RegistryCooker::run (v1.99) Line: 204
   Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 170
   Module: ModPerl::Registry::handler (v1.99) Line: 31
How do I go about resolving this issue, seeing that otrs cannot find the sopm files?
aph
Znuny superhero
Posts: 646
Joined: 20 Jun 2014, 12:11
Znuny Version: 3.3.9, 4.x, 5.x

Re: Package not correctly deployed

Post by aph »

Do the files /opt/otrs/ArticleCopyMoveDelete.sopm etc. exist on your filesystem? Also try running setPermissions.pl from your otrs/bin directory before reinstalling the module
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
Locked