Re: How to solve error: table does not exist? by Davo Smith - Tuesday, February 9, 2021, 1:23 AM Number of replies: 0 After the initial install, you should use the XMLDB editor to generate the statements to go into upgrade.php - see https://docs.moodle.org/dev/Upgrade_API#The_files_you_need_for_the_second_release