Moving to a new server, testing the upgrade process.
I have duplicated the 3.2.6 setup on the new target server, and going through the upgrade process to test updating to 3.3.9 (and 3.3.14) before going to 4.x.
We are running on a Ubuntu server setup, with /opt/otrs being the otrs home folder. When I run SetPermissions as root during the upgrade process I am unable to access the /opt/otrs folder following running the script:
Here is the CLI sequence:
Code: Select all
administrator@pgc-eadmin:/opt/otrs$ ls
ARCHIVE COPYING INSTALL.md README.webserver.md var
AUTHORS.md COPYING-Third-Party Kernel RELEASE
bin Custom README.database.md scripts
CHANGES.md doc README.md UPGRADING.md
Code: Select all
administrator@pgc-eadmin:/opt/otrs$ sudo bin/otrs.SetPermissions.pl --otrs-user=otrs --web-user=www-data --otrs-group=www-data --web-group=www-data /opt/otrs
bin/otrs.SetPermissions.pl - set OTRS file permissions
Copyright (C) 2001-2014 xxx, http://otrs.com/
Setting permissions on /opt/otrs
Setting permissions on /opt/otrs/var
Setting permissions on /opt/otrs/bin/*
Setting permissions on /opt/otrs/scripts/
Setting permissions on /opt/otrs/Kernel/Config.pm
OK, looks good, SetPermissions.pl ran, then.....
Code: Select all
administrator@pgc-eadmin:/opt/otrs$ ls
ls: cannot open directory .: Permission denied
administrator@pgc-eadmin:/opt/otrs$
Am stumped, I have tried with 3.3.14 as well, same result, also as 3.2.6 I can run the SetPermissions.pl script no issues.
Any ideas?
Thanks
Jeff