Quantcast
Channel: Installing and upgrading help
Viewing all articles
Browse latest Browse all 46988

Re: ERROR!!! The code you are using is OLDER than the version that made these databases!

$
0
0
by Ken Task.  

It could be that the first time you used git, it acquired the 2.6dev (not yet officially released) and installed it.  So the DB is for a higher version than the code.Executed from the moodle code directory, what does:

git branch -a

show?

That should show the following at the top of the branches listing:

* MOODLE_25_STABLE
  master

When you used git to install, after the original git command, did you use the following? (which sets the branch of code to track and checks out that versions files):

git branch --track MOODLE_25_STABLE origin/MOODLE_25_STABLE;
git checkout MOODLE_25_STABLE;

I don't think one can roll back a DB.  Your DB has 2.6.  This query will show:

select * from `mdl_config` where `name` like "%backup_release%"

Your code should show to be 2.5.x.  From the moodle code directory:

fgrep '$release' version.php

At this point not sure one can recover what has been developed.

Think the only way to get up and running is to drop the database and then use whatever tool you have with bluehost to create a new DB with character set utf8 and utf8_general_ci collation.

Then, from the command line, run the 'install.php' script again.

'spirit of sharing', Ken


Viewing all articles
Browse latest Browse all 46988

Trending Articles



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