I am trying to disable maintenance mode after moving the moodle update into place and setting file permissions as stated in the upgrade guide using:
chown -R apache:apache moodle
chmod -R 755 moodle
I get the following apache 403 error:
You don't have permission to access /moodle/admin/settings.php on this server.
The permissions looks correct:
ls -l moodle/admin/settings.php
-rwxrwxr-x. 1 apache apache 5262 Jul 7 04:20 moodle/admin/settings.php
so I took a look at the error log:
[Mon Jul 11 08:37:14 2016] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.6.23 configured -- resuming normal operations
[Mon Jul 11 09:00:06 2016] [error] [client 10.139.16.6] (13)Permission denied: access to /moodle/lib/editor/atto/autosave-ajax.php denied, referer: http://dunsel.baaccess.net/moodle/admin/settings.php
[Mon Jul 11 09:00:06 2016] [error] [client 10.139.16.6] (13)Permission denied: access to /moodle/admin/settings.php denied, referer: http://dunsel.baaccess.net/moodle/admin/settings.php
First it looked for autosave-ajax.php, but this file doesn't even exist. When I try to reload settings.php the permission error for that file repeats.
How do I get the upgrade to complete?