I am trying to upgrade a Moodle install from 3.2.8 to 3.3.8. I am pretty new to Moodle but not PHP applications. This is an older installation. It was recently successfully upgraded to 3.2.8 from 3.1. It has a very large database and data folder.
PHP Version => 7.0.30-0ubuntu0.16.04.1 confirmed on command line and in apache. I have also checked that I have all the pre-requisite PHP modules.
After replacing the Moodle code I have tried both visiting the site and the command line version.
Visiting the site redirects to admin/index.php then gives an error 500. Apache access log shows the access and result code 500. Apache error log shows nothing. Apache log_level is set to debug.
Using the command line shows this:
user@d16:/home/web/elearning/moodle$ sudo -u www-data /usr/bin/php admin/cli/upgrade.php
== Upgrading Moodle database from version 3.2.9 (Build: 20180517) (2016120509) to 3.3.8 (Build: 20180910) (2017051508) ==
Your Moodle files have been changed, and you are about to automatically
upgrade your server to this version:
3.3.8 (BUILD: 20180910) (2017051508)
Once you do this you can not go back again. Please note that this process
can take a long time.
Are you sure you want to upgrade this server to this version?
type y (means yes) or n (means no)
I then type "y" and the script exits immediately. Nothing is in the logs.
How can I get more information to start troubleshooting this?