Reply To: Update from master_2019.2 to master_2020

#1804
RRowley
Participant

You need to restore your database to what it was before you loaded the master_2020 update. Hopefully you exported the 2019.2 database and have the sql file to do the restore. You can drop all the tables in the database, then import the sql file of your 2019.2 database.

Next in the file, include/init.php, find the line (about line #61):

$databasePopulated = $patchCount > SqlPatchManager::BEGINNING_PATCH_NUMBER;

and change it to:

$databasePopulated = $patchCount >= SqlPatchManager::BEGINNING_PATCH_NUMBER;

Now access your database again and it should let you apply the patches for 2020 and go forward from there.