Moin upgrades
This is not well documented
This is what worked for me. I have a standalone install, upgrading from 1.9.1 to 1.9.3
look out for custom stuff in MoinMoin/web/static/htdocs/ !
replace the MoinMoin/ directory completely
- custom themes probably live here
replace the docs/ directory completely
nuke MoinLegacy.py
update moin.spec
find moin-1.9.1 -name '*.pyc' -delete
replace PKG-INFO
replace README
nuke umoin/
replace wiki/config/more_samples/ completely
replace wiki/underlay/pages/ completely
- oops, there goes all my nice underlay pages...
1.9.3 adds wiki/server/moin.fcgi
let wiki/server/moin.wsgi revert to the new version, I'm using init.py now anyway
vimdiff moin-1.9.3/wiki/config/wikiconfig.py moin-1.9.1/wiki/wikiconfig.py, no changes
patch the sys.path in wiki/server/moin to match init.py, run it
Fire the command moin@misaka:~/moin-1.9.1$ wiki/server/moin --config-dir=/home/moin/moin-1.9.1/wiki --wiki-url=http://moin.meidokon.net/
moin@misaka:~/moin-1.9.1$ wiki/server/moin --config-dir=/home/moin/moin-1.9.1/wiki --wiki-url=http://moin.meidokon.net/ migration data 2011-04-17 19:51:53,417 WARNING MoinMoin.log:139 using logging configuration read from built-in fallback in MoinMoin.log module! 2011-04-17 19:51:53,762 INFO MoinMoin.config.multiconfig:127 using wiki config: /home/moin/moin-1.9.1/wiki/wikiconfig.pyc Calling migration script for /home/moin/moin-1.9.1/wiki/data, base revision 1090100 Returned. New rev is 1090200. Calling migration script for /home/moin/moin-1.9.1/wiki/data, base revision 1090200 Returned. New rev is 1090300. Calling migration script for /home/moin/moin-1.9.1/wiki/data, base revision 1090300 Final mig script reached, migration is complete. moin@misaka:~/moin-1.9.1$ wiki/server/moin --config-dir=/home/moin/moin-1.9.1/wiki --wiki-url=http://moin.meidokon.net/ maint cleancache 2011-04-17 19:52:27,140 WARNING MoinMoin.log:139 using logging configuration read from built-in fallback in MoinMoin.log module! 2011-04-17 19:52:27,274 INFO MoinMoin.config.multiconfig:127 using wiki config: /home/moin/moin-1.9.1/wiki/wikiconfig.pyc
- restart the wsgi server