[Moin-user] Upgrading

Roger Haase crosseyedpenguin at yahoo.com
Sat Feb 10 17:34:52 EST 2007


--- 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 




More information about the Moin-user mailing list