> I assumed that if the migration was successful, data would be moved or copy > from the old data path: > > /path/to/var/moin-1.6.2/data > > to the new data path: > > /path/to/var/moin-1.6.3/data
moin does NOT magically analyse the upperlevel directory names. > But that doesn't happen, so I assumed the migration failed. From your reply, > I > guess the migration is done in-place. Is that correct? Easy migration steps are done in-place. If a complex migration step is done, we usually do something like this: mv data data.pre-XXX mkdir data # and then convert old stuff from data.pre-XXX to data > I also don't > understand where the script would get the idea that the data is already at > level 1060300, Likely because you did not invoke it correctly and it maybe did not read the right config, but the builtin one (and then found the builtin data directory which is at the right level). > when the meta file in the old data directory says 1060100. I > guess at this point I could just copy the data files into the new data > directory, but I'd like to understand how this works for future reference. You just have to call moin migration data correctly (and make sure access rights are so that it can read/write). --config-dir and --wiki-url are essential for finding the right configuration. > It's also a little mystifying to me that although only one of the --wiki-url > values I tried was possibly correct, I got the same "result" with all of > them: "migration is complete" I guess your --config-dir was wrong. If you call it from the moin directory, it maybe just has found its internal wikiconfig.py. And as a wikiconfig (opposed to a farmconfig) is just for a single wiki, it does not care for the url, but just matches any URL using the regex ".*". If you look at our farmconfig samples, you see that the "wikis" entry assigns URLs matching some specific regex to some specific config name (and this happens the same way no matter you use some browser or the moin script command with --wiki-url). ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Moin-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/moin-user
