Support about upgrade database moodle

Support about upgrade database moodle

by Huy Võ Tài -
Number of replies: 1

Dear All,
We are using moodle for our Learning Management System (LMS), we would like to install plugin but need upgrade database, but I can’t upgrade database.
Appear error after click bottom upgrade: not found page
Our moodle data about 320GB, I think that is the cause of this problem, because we perform update success on the same database LMS but the moodle data is smaller
I hope you help me solve this problem
Thank you so much

Average of ratings: -
In reply to Huy Võ Tài

Re: Support about upgrade database moodle

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
Hi

320 GB is prohibitive! Unless you are a major university and have been collecting student uploads for years. Whatever, the first thing is to make sure that you have a solid backup/recovery strategy. Whether through https://docs.moodle.org/en/Site_backup and https://docs.moodle.org/en/Site_restore or through the IT infrastructure (virtualization, etc.). What is your Moodle version? What additional plug-ins are installed? What are the system software (LAMP stack)? Hardware, dedicated server(s), VPSes, clustered, ?

You need to clarify whether those 320 GB are genuine. This is not easy due to the encrypted files names in the moodledata/filedir/. You might need a tool like the https://moodle.org/plugins/report_coursesize. A typical problem is people (teachers) taking course backups and leaving the backup in Moodle. Or, you might have to find out an archiving concept for very old courses.

Dumb question: You run the https://docs.moodle.org/en/Cron, right? What do you have under Site administration > Server > Cleanup?