Thanks Al!
For the upgrade process, I performed the following:
Background:
The new server is a direct replacement of the old server, with no IP address or
URL changes. The reason for building the new server was because the original server was having issues upgrading directly to Moodle 3.11 as some of the PHP components were unable to be updated properly due to a recent upgrade from Ubuntu 16, to 18, to 20.04. I could not pass the Moodle upgrade checks, and decided to build a new server from scratch.
I did not upgrade to Moodle 4.0 as the theme that my users are familiar with has not yet been updated, and does not function with 4.0, so I decided to stay with 3.11.6.
PHASE 1: Rebuild of 3.8 Moodle Server
1. I started with a new install of Ubuntu 20.04.
2. Clean install of all required server and database components (Php 7.4,
Apache 2.5,
MySQL 8).
3. Data Migration:
a. Performed a My
SQL dump from the original server to a temp location on the new server.
b. Copied/rsynced Moodledata directory from the old server to new server.
c. Copied/rsynced /var/www/html/moodle directory from old server to the new server.
d. Restored MySQL database into the new MySQL server.
e. Copied all local plugins (3 total) from old server to new server.
f. Verified the config.php file to the /var/www/html/moodle directory was configured correctly.
g. Assigned proper file access rights to root and Apache where necessary.
4. Setup SSL/TLS security with certificates and tested functionality.
5. Once the old site was verified as accessible and functioning, I began the upgrade to 3.11.6.
PHASE 2: Upgrade to Moodle 3.11.6:
1. Created a temporary copy of entire /var/www/html/moodle directory.
2. Downloaded a copy of 3.11.6 from the official Moodle site.
3. Deleted entire /var/www/html/moodle folder. (I kept a copy of all contents on temp folder)
4. Unzipped/untarred the Moodle install files directly to /var/www/html/moodle
5. Copied config.php from 3.8 build to /var/www/html/moodle.
6. Accessed the admin page of the Moodle site, and was prompted to begin the upgrade.
7. During the upgrade compliance check, some plugins/themes were missing (autoenrol, saml), so I copied those local plugins/themes from 3.8 build into /var/www/html/moodle.
8. I finished the upgrade to 3.11 without issues, and all seemed fine. The site functions well, and courses are accessible. Everything looks to be functioning properly.
9. Enabled
Cron.
10. I did not yet update all of the plugins. We have the following waiting to be updated: "AutoEnrol" (enrollment), "SAML2" (authentication), "Enlightlite" (theme), "Moodle Adminer", and "Course Recompletion".
I’m wondering if there are still remnants of 3.8 on the server, eventhough there should not be as, after I copied over the 3.8 configurations to /var/www/html, during the upgrade to 3.11, completely wiped the /var/www/html/moodle directory to unpack the 3.11 version, only retaining the config.php and plugins.
Perhaps there is something in the Moodledata folder that remains at version 3.8 or older?
Any help/ideas would be much appreciated!
Thanks!
-Steve