Using the tarball version on 10.04.2 LTS.
One thing the UPGRADING notes don't mention about permissions is that the files will all belong to an unknown user [because the tar stores the UID and not the username]. The script bin/otrs.SetPermissions.pl does not address this. I resolved this by running
Code: Select all
chown -R otrs.www-data /opt/otrs
Before I did this, Apache was unable to write to otrs/var/httpd/htdocs/js/js-cache/, which mean that the user wouldn't be able to see any of the Javascript in the front end. Messages were logged like:
Code: Select all
[Wed May 25 11:52:25 2011][Error][Kernel::System::Main::FileWrite][444] Can't write '/opt/otrs/var/httpd/htdocs/js/js-cache//ModuleJS_0eac89756477a024393997fc6910208f.js': Permission denied
There is another permissions issue with 3.0.8 [didn't occur on the upgrade to 3.0.7] where /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm is not writeable. This meant that I couldn't get the FAQ or Support-Assessment modules to upgrade.
Code: Select all
[Wed May 25 13:12:25 2011][Error][Kernel::System::SysConfig::WriteDefault][188] Can't write /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm: Permission denied!
Code: Select all
# while sleep 0.1; do chown otrs.www-data /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm; done