I manage the St Mellion Village Wiki which runs under MoinMoin. At the moment a new release of Moin comes out quite frequently and every time I run into problems with upgrading it. In an effort to ease my pains I decided to document my process for it.
Download the release to /usr/local/share and extract it.
Move the moin directory to moin.old
From the newly extracted release directory, run the install command:-
python setup.py install –prefix=’/usr/local’ –record=install.log
Copy the new underlay directory from /usr/local/share/moin/underlay to /var/local/moin/
Set ownership: chown -R www-data:www-data underlay
Set permissions: chmod -R ug+rwX underlay and chmod -R o-rwx underlay
Check that the moin.cgi file hasn’t changed in the new release. If it has, copy over the new one and modify it for the local config. The logo setting needs to be updated to point to the new 1.6.x version.
Edit /etc/apache2/sites-available/wiki and change the Alias entry to the new release level.
If all went well, that should be it.