Hello :-)

After using 3.0.7's UPGRADING instructions to upgrade from 3.0.7 to 3.0.8 (from otrs-3.0.8.tar.gz), the OTRS logon page displayed "the browser you are using is too old".  /var/log/apache2/error.log pointed to an OTRS permissions problem.

root@system:~# ls -l /opt/otrs/var/
total 44K
drwxrwsr-x 2 otrs www-data    1 May 24 13:54 article
drwxr-xr-x 2  500 users      88 May 24 13:54 cron
drwxr-xr-x 2  500 users      64 May 24 13:54 fonts
drwxr-xr-x 3  500 users       8 May 24 13:54 httpd
drwxrwsr-x 2 otrs www-data    8 Jun  1 15:02 log
-rw-r--r-- 1  500 users     24K Oct 26  2010 logo-otrs.png
drwxr-xr-x 2 root root       16 May 24 13:54 packages
drwxrwsr-x 2 otrs www-data    1 May 24 13:54 sessions
drwxrwsr-x 2 otrs www-data    1 May 24 13:54 spool
drwxrwsr-x 2 otrs www-data 4.0K May 24 13:54 stats
drwxrwsr-x 4 otrs www-data   32 Jun  1 15:04 tmp


The installation procedure used was compared with the 3.0.7 fresh installation procedure and was identical except for copying the old Config.pm, GenericAgent.pm and ZZZAuto.pm files.

Here is the exact procedure used (sorry about any line-wrapping):

root@system:~# /etc/init.d/cron stop; /etc/init.d/apache2 stop
root@CW8vDS:~# old_ver=3.0.7; new_ver=3.0.8
root@system:~# dir=/var/opt/otrs/backup/$old_ver; mkdir -p $dir && chown otrs:otrs $dir \
    && /opt/otrs/scripts/backup.pl -d $dir
root@system:~# mv /opt/otrs /opt/otrs-$old_ver
root@system:~# cd /opt && tar -xzf /root/Repository/otrs-$new_ver.tar.gz \
    && ln -s otrs-$new_ver/ otrs
root@system:/opt# cd /opt \
    && cp -p otrs-$old_ver/Kernel/Config.pm otrs-$new_ver/Kernel/ \
    && cp -p otrs-$old_ver/Kernel/Config/GenericAgent.pm otrs-$new_ver/Kernel/Config \
    && cp -p otrs-$old_ver/Kernel/Config/Files/ZZZAuto.pm otrs-$new_ver/Kernel/Config/Files/
root@system:/opt# cd /opt/otrs/ \
    && bin/otrs.SetPermissions.pl --otrs-user=otrs --otrs-group=otrs \
       --web-user=www-data --web-group=www-data /opt/otrs
root@system:/opt/otrs# cd /opt/otrs/ \
    && bin/otrs.RebuildConfig.pl \
    && bin/otrs.DeleteCache.pl
root@system:/opt/otrs# /etc/init.d/cron start; /etc/init.d/apache2 start

It would probably be OK to set ownerships/permissions the same as 3.0.7 but would be time-consuming and error prone; better to fix whatever I did wrong.

Best

Charles
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Reply via email to