I have a site with Moodle 2.7 and I am trying to upgrade it to 3.1. The thing is, every time i try to do it I get an error. It seems like all files inside the cache folder are being deleted, and then Moodle cant find them.
I dont have much experience with Moodle so i dont exactly know whats going on and why these files are being deleted. I also tried to upgrade Moodle to 3.5 but it didnt work, I still get those errors.
Here are the errors:
Warning: require_once(/domain.com/moodle/cache/lib.php): failed to open stream: No such file or directory in /domain.com/moodle/lib/setup.php on line 606
Fatal error: require_once(): Failed opening required '/domain.com//moodle/cache/lib.php' (include_path='/domain.com//moodle/lib/pear:.:/opt/alt/php54/usr/share/pear:/opt/alt/php54/usr/share/php') in /domain.com/moodle/lib/setup.php on line 606
I am following these steps:
https://docs.moodle.org/35/en/Upgrading
Does anybody know why this could be happening?
Thanks.-