migrateCourseLogFiles(upgradeManager, uhd);
//check and fix broken courses on the filesystem and database
searchForBrokenCourses(upgradeManager, uhd);
// set the logging version to 1 starting NOW
new LoggingVersionManagerImpl().setLoggingVersionStartingNow(1);
// // now pre and post code was ok, finish installation
uhd.setInstallationComplete(true);
// // persist infos
upgradeManager.setUpgradesHistory(uhd, VERSION);