Hi Mitch,

Question to start with - how paranoid are you? How much downtime can you tolerate?

I have generally done all major upgrades by creating a virtual machine that as closely as possible mimics the production environment. I then snapshot that environment, run a script that I've written to do the upgrade, and then test. If I need to refine my script, I alter the script, revert the snapshot, and run again, until it comes out just right. You're not talking a major upgrade, so you can probably get by with less paranoia.

With that script in place, I know roughly how long the migration will take, know when I can plan it for, and I can alert the users to the pending changes and downtime.

I'm running a wiki farm, with multiple MoinMoin instances, so it can take some time to upgrade, especially for major upgrades, where I've done steps like rebuilding the search indices.

Step #0 - take server offline!

Step #1 - backup! - note that I typically do this via rsync, so you can mostly backup in advance, and then do an incremental rsync at this step, so that it is quick.

Step #2 - Update any dependencies that MoinMoin might benefit from (newer version of Python, etc.)

Step #3 - install new version of Moin

Step #3 - make/activate any new changes to MoinMoin configuration

Step #4 - run content migration script

Step #5 - run maintenance steps (cleancache, rebuilding search indices)

Step #6 - update Apache & mod_wsgi config

Step #7 - restart server

That's sort of a rough outline. Actual steps required depend on what you're changing while upgrading.

-Eric.


On 6/21/12 11:41 AM, Moin Admin wrote:
Hello list,

I have inherited a 1.9.3 installation that I would like to update to 1.9.4. I am new to moinmoin administration, and have read as much of the update documentation as I can find, but it's not clear what the easiest path is for a 1. upgrade like this. Does anyone have any tips for making this particular upgrade as easy as possible?

Thanks!
Mitch Taylor


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/


_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user




------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to