I want to install OTRS on opensuse but something seems to be broken. Made clean opensuse 12.2 network install + all updates. Installed otrs packages and according to configuraton I have to go localhost/otrs/installation.pl to continue but I get error message that I dont know what to do with:
Server error!The server encountered an internal error and was unable to complete your request.
Error message:
syntax error at /srv/otrs/Kernel/Config/Files/ZZZAuto.pm line 15, near “‘http://ftp.otrs.org/pub/otrs/itsm/packages31/’” syntax error at /srv/otrs/Kernel/Config/Files/ZZZAuto.pm line 18, near “}” Compilation failed in require at /srv/otrs//Kernel/Config/Defaults.pm line 1860. ,
If you think this is a server error, please contact the webmaster.
Error 500
any ides?
Where did you get OTRS from, and how did you install it. Packages are available from here, I don’t have the time ATM to test, but in the past they worked. Also, use the documentation that comes with OTRS, IIRC it was quite good.
I installed otrs from opensuse repos … i just checked apache log on it says a bit more:
[Wed Nov 21 15:17:28 2012] ZZZAuto.pm: String found where operator expected at /srv/otrs/Kernel/Config/Files/ZZZAuto.pm line 15, near “‘http://ftp.otrs.org/pub/otrs/itsm/packages31/’”
[Wed Nov 21 15:17:28 2012] ZZZAuto.pm: (Missing semicolon on previous line?)
[Wed Nov 21 15:17:28 2012] [error] syntax error at /srv/otrs/Kernel/Config/Files/ZZZAuto.pm line 15, near “‘http://ftp.otrs.org/pub/otrs/itsm/packages31/’”
syntax error at /srv/otrs/Kernel/Config/Files/ZZZAuto.pm line 18, near “}”
Compilation failed in require at /srv/otrs//Kernel/Config/Defaults.pm line 1860.
[Wed Nov 21 15:17:28 2012] [error] [client 192.168.100.211] File does not exist: /srv/www/htdocs/favicon.ico
Well, I figured it out myself … file /srv/otrs/Kernel/Config/Files/ZZZAuto.pm is buggy it is missing a comma ,
as the apache log says on line 15
$Self->{‘Package::RepositoryList’} = {
‘file:///srv/otrs/itsm/packages30/’ => ‘–OTRS::ITSM 3.0 local repo]’,
‘file:///srv/otrs/itsm/packages31/’ => ‘–OTRS::ITSM 3.1 local repo]’,
‘http://ftp.otrs.org/pub/otrs/itsm/packages30/’ => ‘–OTRS::ITSM 3.0 Master–] Index of /’ ← line 15 and should contain , at the end
‘http://ftp.otrs.org/pub/otrs/itsm/packages31/’ => ‘–OTRS::ITSM 3.1 Master–] Index of /’
};
OK, you went ahead of me :), I was going to tell you to inspect the apache2 logs… Please, do file a bugreport, so that the devs can fix this.
BTW, does this mean you’ve got it up and running now ?
Yep, its up and running now.
Then, please file a bug report, with your “solution” included, and it should get fixed in next releases/packages.