Hi,
das schaut gut aus.
Code: Select all
ls -l
insgesamt 75340
lrwxrwxrwx 1 root root 11 Mai 30 2016 otrs -> otrs-5.0.9/
drwxr-xr-x 9 otrs www-data 4096 Jan 14 2015 otrs-4.0.5
drwxr-xr-x 9 otrs www-data 4096 Mär 30 2016 otrs-5.0.9
Code: Select all
/opt/otrs/bin/otrs.SetPermissions.pl
bin/otrs.SetPermissions.pl - set OTRS file permissions
Copyright (C) 2001-2014 xxx, http://otrs.com
Usage: otrs.SetPermissions.pl
--web-group=<WEB_GROUP> # web server group ('www', 'www-data' or similar)
[--otrs-user=<OTRS_USER>] # OTRS user, defaults to 'otrs'
[--admin-group=<ADMIN_GROUP>] # admin group, defaults to 'root'
[--skip-article-dir] # Skip var/article as it might take too long on some systems.
[--skip-regex="..."] # Add another skip regex like "^/var/my/directory".
# Paths start with / but are relative to the OTRS directory.
# --skip-regex can be specified multiple times.
[--dry-run] # only report, don't change
[--help]
Example: otrs.setPermissions.pl --web-group=www-data
root@OTRS01:/opt# /opt/otrs/bin/otrs.SetPermissions.pl --web-group=www-data
Setting permissions on /opt/otrs-5.0.9
OK, dann ist das in der alten Version mit dem --web-group=www-data noch nötig. In neueren nicht mehr.
wurzel wrote: ↑26 Apr 2019, 16:27
Was sagt ein /opt/otrs/bin/otrs.RebuildConfig.pl ?
Die Datei gibt es im Pfad nicht
Code: Select all
root@OTRS01:/opt# /opt/otrs/bin/otrs.RebuildConfig.pl
-bash: /opt/otrs/bin/otrs.RebuildConfig.pl: Datei oder Verzeichnis nicht gefunden
ich meinte auch ein otrs.Console.pl Maint::Config::Rebuild
Edit: Nachdem ich
Code: Select all
/opt/otrs/bin/otrs.SetPermissions.pl --web-group=www-data
ausgeführt habe bekomme ich folgende Meldung im Browser:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Dann musst mal schauen, in welcher Gruppe Dein otrs user drin ist, mit welcher user/Gruppe Dein apache läuft und was Deine Logfiles sagen.
Mir scheint, als hättest Du da irgendwie bei den Berechtigungen 'n Wurm drin.
Das Logfile sagt Dir am Besten wo's hängt.
Flo