ArticleCopyMoveDelete not correctly installed

Moderator: crythias

Post Reply
aph
Znuny superhero
Posts: 646
Joined: 20 Jun 2014, 12:11
Znuny Version: 3.3.9, 4.x, 5.x

ArticleCopyMoveDelete not correctly installed

Post by aph »

Hello all,

I tried installing the ArticleCopyMoveDelete module from OPAR (http://opar.perl-services.de/dist/Artic ... lete-1.3.1). However I get the error message that the package was not correctly installed. Apparently there is problem with the file ArticleCopyMoveDelete.sopm (see screenshot below). Does anyone have an idea how the problem can be resolved?
Unbenannt_112.PNG
You do not have the required permissions to view the files attached to this post.
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
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: ArticleCopyMoveDelete not correctly installed

Post by reneeb »

Wrong permissions on the OTRS_HOME directory...
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
aph
Znuny superhero
Posts: 646
Joined: 20 Jun 2014, 12:11
Znuny Version: 3.3.9, 4.x, 5.x

Re: ArticleCopyMoveDelete not correctly installed

Post by aph »

I used the following command to set permissions

Code: Select all

perl otrs.SetPermissions.pl --otrs-user=otrs --web-user=apache --otrs-group=apache --web-group=apache /opt/otrs
id otrs return

Code: Select all

uid=501(otrs) gid=48(apache) groups=48(apache)
I restarted httpd still the error persists
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
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: ArticleCopyMoveDelete not correctly installed

Post by crythias »

not sure it's a problem that the .sopm is the only bad thing. That would be the package itself, if I'm not mistaken. The work files validate, so unless the app is causing errors, you're probably okay. That said, this is not a core module from OTRS that's freely available. Ask the vendor.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
aph
Znuny superhero
Posts: 646
Joined: 20 Jun 2014, 12:11
Znuny Version: 3.3.9, 4.x, 5.x

Re: ArticleCopyMoveDelete not correctly installed

Post by aph »

Thanks a lot.

The module works. However, I was unhappy about the error, which might cause errors in the future. I'll contact the vendor :)
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
klopfa10
Znuny newbie
Posts: 20
Joined: 22 Jul 2015, 15:38
Znuny Version: OTRS 5.0.11
Real Name: Tobias

Re: ArticleCopyMoveDelete not correctly installed

Post by klopfa10 »

Hi there,

I have exactly the same problem.
How to solve this issue? Any answer from the vendor?

Thank you very much!
Best Regards!
OTRS 5.0.11 with KIX4OTRS 8.0.6
klopfa10
Znuny newbie
Posts: 20
Joined: 22 Jul 2015, 15:38
Znuny Version: OTRS 5.0.11
Real Name: Tobias

Re: ArticleCopyMoveDelete not correctly installed

Post by klopfa10 »

Answer from vendor:

Fehler beim Installieren zusätzlicher Pakete liegen in der Tat meistens an falschen Rechten innerhalb der OTRS Verzeichnisstruktur.
Es gibt einige Standardschritte, die nach der Installation des OTRS selbst und auch seiner Erweiterungspakete immer durchgeführt werden sollten.
Dazu gehört das Löschen des Caches und ein Rebuild der Konfiguration. Hier die dafür notwendigen Konsolen-Befehle:

<OTRS_Home> ./bin/otrs.DeleteCache.pl
<OTRS_Home> ./bin/otrs.LoaderCache.pl -o delete
<OTRS_Home> ./bin/otrs.RebuildConfig.pl

Danach müssen die Zugriffsrechte neu gesetzt werden. Dafür kann das von Ihnen erwähnte Skript genutzt werden. Zuverlässiger ist allerdings dies direkt mit einem Befehl in der Konsole zu tun. Der Befehl, abhängig vom Betriebssystem, lautet wie folgt:

chown -R www-data:www-data <OTRS_Home> (Debian/Ubuntu)
chown -R wwwrun:www <OTRS_Home> (SLES)
chown -R apache:apache <OTRS_Home> (Redhat/CentOS)

Zu guter Letzt muss noch der Apache Server neu gestartet werden, um die Änderungen korrekt zu übernehmen.
Auf diese Weise stellen Sie sicher, dass alle installierten Pakete richtig funktionieren und keine späteren Fehler beim Benutzen des Systems auftreten.

Thx & Greetz
OTRS 5.0.11 with KIX4OTRS 8.0.6
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: ArticleCopyMoveDelete not correctly installed

Post by jojo »

you shlould not use the chmod directly as the permissions will not be correct, please use the OTRS internal script...
"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
Post Reply