[Moin-user] Migration from 1.2.1 to 1.5.9

Suresh Krishna suresh.madhuvarsu at gmail.com
Wed Apr 23 14:55:40 EDT 2008


Just to test i ran till migration script 9. Following are the errors for
each migration.
Any kind of help is appreciated.
*
Migraiton Script 5*
Error: can't copy 'data.pre-mig5\plugin' to 'data\plugin'
data.pre-mig5\user/ -> data\user/
Error: can't copy 'data.pre-mig5\user' to 'data\user'
data.pre-mig5\event-log -> data\event-log data.pre-mig5\intermap.txt ->
data\intermap.txt
Error: can't copy 'data.pre-mig5\intermap.txt' to 'data\intermap.txt'

*Migraiton Script 7*
Error: can't copy 'data.pre-mig7\plugin' to 'data\plugin'
data.pre-mig7\user/ -> data\user/
Error: can't copy 'data.pre-mig7\user' to 'data\user' data.pre-mig7\edit-log
-> data\edit-log data.pre-mig7\event-log -> data\event-log
data.pre-mig7\intermap.txt -> data\intermap.txt
Error: can't copy 'data.pre-mig7\intermap.txt' to 'data\intermap.txt'

*Migraiton Script 8*
Error: can't copy 'data.pre-mig8\plugin' to 'data\plugin'
data.pre-mig8\user/ -> data\user/
Error: can't copy 'data.pre-mig8\user' to 'data\user'
data.pre-mig8\event-log -> data\event-log data.pre-mig8\intermap.txt ->
data\intermap.txt
Error: can't copy 'data.pre-mig8\intermap.txt' to 'data\intermap.txt'

*Migraiton Script 9*
Create backup of 'data' in 'data.pre-mig9'
data.pre-mig9\edit-log -> data\edit-log
data.pre-mig9\event-log -> data\event-log
Error: can't find 'data.pre-mig9\intermap.txt'
data.pre-mig9\pages/ -> data\pages/
Error: can't find 'data.pre-mig9\plugin'
Fatal error: can't find user directory at 'data.pre-mig9\user'
Stoping

Thanks,
Krishna

On Wed, Apr 23, 2008 at 11:06 AM, Suresh Krishna <
suresh.madhuvarsu at gmail.com> wrote:

> Thanks for the tips. I am on windows xp.
>
> I ran 12_to_13_mig01.py, 12_to_13_mig02.py, 12_to_13_mig03.py and
> 12_to_13_mig04.py.
> On the migration script (12_to_13_mig04.py) i get the following error....
>
> *Error: can't copy 'data.pre-mig4\pages\ZufallsSeite\text' to
> 'data\pages\ZufallsSeite\text'
> Traceback (most recent call last):
>   File
> "C:\tmp\MOINWIKI\Lib\site-packages\MoinMoin\script\old\migration\12_to_13_mig04.py",
> line 150, in <module> convert_eventlog(opj(origdir, 'event.log'),
> opj('data', 'event-log'))
>   File
> "C:\tmp\MOINWIKI\Lib\site-packages\MoinMoin\script\old\migration\12_to_13_mig04.py",
> line 65, in convert_eventlog data[0] = str(convert_ts(float(data[0]))) # we
> want usecs ValueError: invalid literal for float(): w
> *
> Any idea where they are coming from. What do they mean ?
>
> Thanks,
> Krishna
>
>
> On Wed, Apr 23, 2008 at 12:33 AM, Thomas Waldmann <tw-public at gmx.de>
> wrote:
>
> >
> > > We are using the MoinMoin for internal department wiki. Unfortunately
> > > this was never upgraded from 1.2.1 version from 2004. Now the honor is
> > > on me to upgrade this to 1.5.9.
> >
> > :)
> >
> > As there won't be updates to 1.5.x any more, you could also consider
> > upgrading to 1.6.3 instead of upgrading to an already rather outdated
> > version.
> >
> > > I have been looking at the documents (i looked into the CHANGES and
> > > README.migration), but i could not get a straight forward solution to
> > > this.
> >
> > Well, there is no magic "doallthework" script and the upgrade you are
> > doing spans 4 years of moin development including 2 major upgrades (1.2
> > to 1.3, 1.5 to 1.6), so expect this to be quite some work.
> >
> > README.migration has the most important informations you need for
> > converting your data directory. Read it (again), read it completely. You
> > maybe have noticed that the recent stuff is at the beginning, while the
> > older stuff is rather near the end of the file.
> >
> > You have to run all the "old" mig scripts. The final old script enables
> > the new style mig scripts to work. Then you have to run the new style
> > mig scripts.
> >
> > If you migrate an important production wiki, it is maybe a good idea to
> > install the new wiki (for test purposes) to a different location first
> > (other url, other code location, maybe using another machine), so you
> > don't interfere with the old wiki running.
> >
> > Once you have done the migration, config changes etc. and have the new
> > wiki up and running: test it for a while. Then do the real migration of
> > the production wiki (you have experience now doing it and you can use
> > the config files from the test wiki. just migrate the current data dir
> > from the production wiki again).
> >
> > In case you encounter problems, ask concrete questions and maybe join us
> > on #moin irc channel for support.
> >
> >
> >
> >
> > -------------------------------------------------------------------------
> > 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
> > Moin-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/moin-user
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/moin-user/attachments/20080423/66ee2319/attachment.html>


More information about the Moin-user mailing list