Migration from moin 1.5 to 1.6 (and beyond)

About this HowTo

MoinMoin versions
1.5.3 (as base) and 1.6.x, 1.7.x, 1.8.x (as target)
Platforms
Linux, maybe other POSIX

This is my (ThomasWaldmann's) non-standard way to do the 1.5.[3456789] > 1.6.x migration (and beyond).

General Notes

Migrating the data_dir

Replacing the underlay pages

Replacing the static files

This is for the case that your are just using the standard moin themes, if you have special themes, you need to be more careful!

Edit your (production) wiki config

Update your server script and the moin code

This heavily depends on your installation / configuration. Here are some ideas for CGI and a moin installed via setup.py:

(!) If you are not using CGI, but some persistent server, don't forget to restart your server / moin process for any configuration change.

Problems?

KeyError: 'data_format_revision'

That just means that the data/meta file is missing.

The last "old style" migration script creates this file when you migrate from 1.5.2 to 1.5.3.

(!) Please make sure you have moin 1.5.0 .. 1.5.3 (and not 1.3.x or even older), otherwise you will have to use more of the old mig scripts.

Just look into that mig script to learn how to use it:

MoinMoin/script/old/migration/152_to_1050300.py

MoinMoin: HowTo/Migrate from 1.5 to 1.6 (last edited 2009-07-19 14:58:30 by ReimarBauer)