volgens Rolf Cper.
Hello expert,
Three months ago I had Moodle 3.0 running, but something went wrong when trying to update Poodll.
Ever since, I cannot get Moodle to run anymore because of 'Error reading from database'.
I have tried two ways to get a new Moodle environment working with all my old courses running properly:
a) I tried to use the newest version of Moodle (v3.4.0.) and connect it to my old database (of Moodle v3.0 in MySQL v5.7) in order to get access to all my course content (It took me years of effort creating them).
b) I tried to extract the content (and layout/makeup) of my courses (from Moodle 3.0 in MySQL) and import them into a clean Moodle database (from Moodle 3.4.0.) in order to avoid previous persistent database errors.
Both a) and b) lead to many errors:
ad a)
I start in my Test-environment with http://localhost:83/install.php . (I can login as administrator.)
At the beginning of upgrading procedure (http://localhost:83/admin/index.php?lang=en), I will see that:
1) 411 plugins need to be updated ('plugins acquiring attention').
Every time I click on the button 'Upgrade Moodle database now' the procedure crashes with 'Error reading from database', for example qtype_essay, with some debug_info and stack trace.
I go back to the previous page (http://localhost:83/admin/index.php?lang=en) and one less 'plugin acquires attention'.
Should I do these steps 411 times, and then eventually end with the same 'Error reading from database' ?
2) Several plugins are missing ('Additional Missing from disk!') in my Test-environment, such as:
groupselect 2017061302
user_bookmarks 2016100800
poodllz 2014102100 (crippled version of Poodll, mentioned in the old database that I cannot get rid of/erase).
wordcount 2014051200
analytics 2017031300
mobile 2015111114 (see item 3).
Should I download each separate zip-file of these plugins and copy the unzipped folder to the local-directory of Moodle, before I upgrade?
3) 1 update available needs to be installed: mobile 2015111114 Additional Missing from disk! There is a new version 2017111300 available! Release 3.4.340 .
After I click on 'Install this update' it
How do I get rid of the plugins that seem to cause errors, at the beginning of the upgrading procedure (to Moodle 3.4.0)?
4) 11 plugins have the status 'To be deleted'.
5) 43 plugins have the status 'To be installed'.
Summary: The plugins Mobile and Poodllz seem to cause trouble. The error 'Error reading from database' keeps on returning.
ad b) Extract existing courses from old, crippled database:
I do not know which are all the correct tables.
How do I use the tool HeidiSQL to extract (all) the correct tables within Moodle 3.0 database, so I can import them in Moodle 3.4.0. DB?
Which tables should I at least export/import (how many tables)?
If I succeed in extracting/exporting the correct data, can I overwrite the similar file (.frm) in the new database?
Does anyone have any advice on how to go about?
Friendly regards,
Rolf Snijders
PHP 7.0.9 on WIMP