Error database when upgrading from 1.9 to 2.2

Error database when upgrading from 1.9 to 2.2

by Reza Chan -
Number of replies: 3

How to fix the problem when I upgrade from 1.9 to 2.2 version ?

FYI. The database has 10 GB size and it tooks long time to upgrade and after I wait for it, error appear as seen as attachment.


Please help me guys.

Thank you


Screenshoot Error

Average of ratings: -
In reply to Reza Chan

Re: Error database when upgrading from 1.9 to 2.2

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

This sounds like MDL-8720

Did you, first, upgrade to the final version of 1.9 (1.9.19 iirc)? This is always a good idea to ensure you have a clean(ish) 1.9. 

In reply to Howard Miller

Re: Error database when upgrading from 1.9 to 2.2

by Reza Chan -

no, i did not

In reply to Reza Chan

Re: Error database when upgrading from 1.9 to 2.2

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

It may be safest to restore your 1.9 site from backup and do it again then.