Today I did an upgrade to 3.8 from 3.5.3 and had the site in maintenance mode. I was logged in as an admin, and after changing my DB type to MariaDB, did the upgrade. Everything was working fine and I was able to stay logged in to the server and add a new course. Then I turned off maintenance mode through the GUI and it refused to turn off. I went in and disabled maintenance mode then via the cli and cleared the moodledata/cache/ folder, and after that point I have not been able to get back into the server. When I try to hit the login page I get an error 500. Checking the error_log file I see an entry:
[06-Jan-2020 05:32:16 UTC] PHP Warning: require_once(/home/packethe/public_html/cache/lib.php): failed to open stream: No such file or directory in /home/packethe/public_html/lib/setup.php on line 541 [06-Jan-2020 05:32:16 UTC] PHP Fatal error: require_once(): Failed opening required '/home/packethe/public_html/cache/lib.php' (include_path='/home/packethe/public_html/lib/pear:.:/opt/cpanel/ea-php72/root/usr/share/pear') in /home/packethe/public_html/lib/setup.php on line 541
I have replaced the lib.php with a copy of that file but am still getting the error. I'm not sure how to turn on debug mode in moodle via CLI (or if you can), or what other info I should be looking for or should provide. I'm new to web servers and am thankful for any help or thoughts anybody might have. Thanks again in advance.