Turnkey otrs crashes on paketmanager

Reported by raymccoy on 2010-10-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
TurnKey Linux
Fix Released
Low
Alon Swartz
11.x
Fix Committed
Undecided
Unassigned
12.x
Fix Released
Low
Alon Swartz

Bug Description

Just intstalled otrs with the turnkey-otrs-11.0rc-lucid-x86.iso . All went perfect but if i trying to use the paketmanager

https://192.168.178.145/otrs/index.pl?Action=AdminPackageManager

is got an error:
ERROR: Need write permission in OTRS home
Try: $OTRS_HOME/bin/SetPermissions.pl !!!

For help, please send mail to the webmaster (webmaster@localhost), giving this error message and the time and date of the error.

So maybe you only need the distribute the right parameters for the users you downloaded the turnkey-otrs-11.0rc-lucid-x86.iso and want to test.

root@otrs otrs/bin# ./SetPermissions.pl
bin/SetPermissions.pl <1.10.2.1> - set OTRS file permissions
Copyright (C) 2001-2009 OTRS AG, http://otrs.org/
Usage: SetPermissions.pl
    [--otrs-user=<OTRS_USER>]
    [--web-user=<WEBSERVER_USER>]
    [--otrs-group=<OTRS_GROUP>]
    [--web-group=<WEB_GROUP>]
    [--admin-user=<ADMIN_USER>]
    [--admin-group=<ADMIN_GROUP>]
    [--admin-group-writable]
    [--secure]
    [--not-root]
    <OTRS_HOME>

Liraz (liraz-siri) wrote :

Congratulations on reporting the first bug in the 11.0 RC series! Alon did the integration for this one and he's currently at the Orlando Ubuntu Developer Summit, but as soon as he gets back I'll point this in his direction.

Jeremy Davis (jedmeister) wrote :

The fix has been found, obviously it's a permission issue. It can be resolved using the OTRS SetPermissions script as follows:

cd /usr/share/otrs
bin/SetPermissions.pl --otrs-user=otrs --otrs-group=otrs --web-user=www-data --web-group=www-data /usr/share/otrs

as documented on the forums: http://www.turnkeylinux.org/forum/support/20101025/need-parameters-otrs-appliance

Alon Swartz (alonswartz) wrote :
Changed in turnkeylinux:
assignee: nobody → Alon Swartz (alonswartz)
Alon Swartz (alonswartz) wrote :

Fix committed to development branch and will be included in the final 11.0 release. See the forum post for details.

Changed in turnkeylinux:
importance: Undecided → Low
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers