First time here? Check out the FAQ!
0

Migrate to new server and new version?
 

We are running 0.6.70 from 2011 but want to upgrade to the latest. Having built the server, made our customisations we now want to import the data from the live site. Can this be done or do we need to upgrade the source database first? The site uses MYSQL and has about 100 questions + answers, users etc.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Rupreck's avatar
305
Rupreck
asked 11 years ago

Comments

see more comments

1 Answer

0

Create a new site from scratch, update your theme to be compatible with the latest version, point the site to use a copy of your existing database, then use Django South migrations command:

python manage.py migrate

The command can accept names of the apps to migrate.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 11 years ago
link

Comments

Success (in the end) on an ubuntu EC2 instance - thanks! The database migration went smoothly between 0.6.70 and 0.7.48 once the database engine was set to InnoDB with uft8 character set and collation utf8_general_ci hard set. Minor issues with markdown/tinymce and admin media remain.

Rupreck's avatar Rupreck (11 years ago)
see more comments