Description

The migration process is likely to bother most wiki admins. "Is the data ok?" is a question they'll probably have constantly in mind. So, any typo in the docs or comments in the migration scripts, any forgotten small side effect is likely to vastly decrease their trust in the process. This page logs these issues as I found them in a recent "paranoid-mode" migration.

Steps to reproduce

  1. Fear
  2. Backup
  3. Migrate

Details

Could not import plugin package from "./data/" because of ImportError: No module named plugin.

Make sure your data directory path is correct, check permissions, and that the data/plugin directory has an init.py file.}}}

MoinMoin Version

From 1.2.4 to 1.3.1

Workaround

Relax, have a cookie.

Discussion

Richard Reitmeyer <reitmeyer_richard@emc.com> wrote an additional routine to get attachments stored in a seperated directory right translated into UTF-8. While he has some timeout problems a while ago I was aked to add it. Sorry I missed it till now. I rememebered this issue now by a migration I did at the moment. This routine must be copied into the migrationscripts directory and then called

python ~/src/moin-1.3.5/MoinMoin/scripts/migration/migrate_attachments.py pathname_of_attachments

migrate_attachments.py

Afterwards you need only to copy this tree to your mywiki/data/pages and set the right owner.


Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/MigrationIssues (last edited 2007-10-29 19:13:27 by localhost)