Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6621

Re: Restore with only moodle, moodledata, \var\lib\mysql, and \etc\mysql

$
0
0
by Eric Messick.  

Hi, thanks Ken. I hope my coding is a bit better than my slashing.

Cheers for your help. I did heaps of reading and experimenting. Got a new Moodle 2.8 running on Ubuntu 14.10 (only because that's what I had when things fell apart). Followed your instructions and copied over moodle, moodledata, /var/lib/mysql/moodle. Getting:

Config table does not contain version, can not continue, sorry.

It is usually not possible to recover from errors triggered during installation, you may need to create a new database or use a different database prefix if you want to retry the installation.

The error is:

The most likely cause of this error is that the 'version' key is missing from your configuration dictionary.

Steps to fix:

    • Open <moodleinstalldir>/version.php
    • Find the value in $version
    • Open 'mdl_config' in database manager
    • Insert key after last entry with name = 'version' and value = <value found in version.php>


I'm just about there...I have my version but I don't know how to open mdl_config and insert a key and not sure how to use database manager. It must be easy, I just never did it. Anybody have ideas?

 




Viewing all articles
Browse latest Browse all 6621

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>