[Moin-user] Upgrading

Daniel Klein danielk at featherbrain.net
Mon Feb 12 18:47:20 EST 2007


Thanks Roger, but I have a 1.5.6 installation and there is no
'README.migration' file anywhere to be found. Perhaps this was a file on
previous releases.

Daniel Klein
 

-----Original Message-----
From: moin-user-bounces at lists.sourceforge.net
[mailto:moin-user-bounces at lists.sourceforge.net] On Behalf Of Roger Haase
Sent: Saturday, February 10, 2007 17:35
To: moin-user at lists.sourceforge.net
Subject: Re: [Moin-user] Upgrading


--- Daniel Klein <danielk at featherbrain.net> wrote:

> Is upgrading from 1.5.6 to 1.5.7 a simple matter of just installing 
> over the top of what I already have? Or do I need to save and restore 
> my customized wiki?
> 
> I have searched the documentation and, while there are lots of it to 
> do with installation, I cannot find anything about upgrading other 
> than to read the 'changes' notes.
> 
> Please advise.
> 
> Dan
> 

On 1.5.6, there was a docs/README.migration.  This is referenced in the
docs/CHANGES file under the version 1.5.5 changes.  The start of
docs/README.migration from 1.5.6 is pasted below.

Before you start a migration, backups are a good idea.  Then you
unzip/unpack the moin release, do the "python setup.py install..."
thing, copy over the underlay directory (if your previous installation made
a copy), and run the migration script per the instructions below. 
You may want to look over the new wikiconfig.py and merge your customized
changes into the new version.

Note the above is based on my 1.5.6 experience, I haven't installed
1.5.7 yet.

Roger Haase


'''
This file documents the necessary steps for migrating your data/ dir to the
latest moin version. It is in reverse order, the latest stuff is at the top.

We don't talk about underlay/ directory here (you simply throw it away and
install the new one provided).

Post 1.5.3 new style migration
==============================

First you have to do all steps described in the sections below or it won't
work.

After you have switched to new style migration, the procedure will be the
same with every moin upgrade, simply follow these steps:

  a) First switch to the user of your data directory (www-data
normally):
      e. g. sudo -u www-data sh
      or su www-data

  b) Invoke the following command:
      moin --config-dir=/path/to/config_dir --wiki-url=wiki.example.org/
migration data 

      Note: If you did not use setup.py, you can call the moin script
directly. It is
      located in MoinMoin/script/moin.py

The new style mig stuff will then load the config for that wiki, get into
its data_dir, read the 'meta' file content and determine what it has to do
internally.

1.5.3 migration
===============

First make sure you have run all the old mig scripts ONCE (and only
once) on
your data dirs.

The old style stuff moved here: MoinMoin/script/old/migration/

In that directory, there is also a new 152_to_1050300.py mig script - you
need to run it as the last mig script to switch to new style mig scripts.
It puts a file "meta" in your data dirs that hold the data_format_revision
value. The new style mig scripts use that value to make it much simpler for
you in future.

After this, please continue in section "Post 1.5.3 new style migration".

1.3.4/1.3.5 migration
=====================
<<<<snip>>>
'''


 
____________________________________________________________________________
________
No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile.
Get started.
http://mobile.yahoo.com/mail 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Moin-user mailing list
Moin-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user





More information about the Moin-user mailing list