[Moin-user] migrate command - 1.6.2 to 1.6.3

Thomas Waldmann tw-public at gmx.de
Mon Apr 28 03:02:28 EDT 2008


> I'm trying to find the magic value to migrate a 1.6.2 wiki to 1.6.3, so far,

The 1.6.2 > 1.6.3 migration won't change much in your data_dir - in fact
it will only change the value stored in the <data_dir>/meta file.

> I've tried the following command with several different values for wikiconfig,
> and the result is always the same.  The script ends nearly immediately with the
> message, but the data is not migrated:

How do you tell it is "not migrated"?

> 	/path/to/www/www Calling migration script for /path/to/var/moin-1.6.3/data,
> 	base revision 1060300

Well, if it tells the base revision is 1060300 (1.6.3), then obviously
your are running it on a data_dir that already is at 1.6.3 level.

> I'm using the following command
> 
> 
> 	/path/to/moin-1.6.3/MoinMoin/script/moin.py
> 	--config-dir=/path/to/etc/moin-1.6.3
> 	--wiki-url=/path/to/var/moin-1.6.2
> 	migraion data

--config-dir must point to the directory where your wiki config(s)
is(are) stored (I guess that's correct above).

--wiki-url is the URL of the wiki you want to migrate (farm configs can
have multiple wikis and that is the way to tell moin which wiki you want
to migrate). Note that this is a URL (but without http:// !) and NOT a
filesystem path.

> and have tried the following values for --wiki-url:
> 
> 	--wiki-url=https://www.mydomain.com
> 	--wiki-url=https://www.mydomain.com/secure/wiki.cgi
> 	--wiki-url=/path/to/www/www/secure/wiki.cgi
> 	--wiki-url=/path/to/var/moin-1.6.2
> 	--wiki-url=/path/to/var/moin-1.6.2/
> 	--wiki-url=/path/to/var/moin-1.6.2/data
> 	--wiki-url=/path/to/var/moin-1.6.2/data/

All incorrect.

> 	--wiki-url=www.mydomain.com/secure/wiki.cgi

This is maybe correct. It simply has to be a value that would invoke the
correct wiki when entered in the browser (just strip http(s):// from the
beginning).






More information about the Moin-user mailing list