Moin Admin | 21 Jun 2012 20:41
Picon

New admin - tips for 1.9.3 to 1.9.4 upgrade?

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 <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user
Takeo Katsuki | 21 Jun 2012 22:21
Picon

Re: New admin - tips for 1.9.3 to 1.9.4 upgrade?

Hi Mitch,

I think it depends on your system.

If your system is POSIX and if you are using Hg, then updating is as
simple as this:

cd /srv/moin/code/1.9
hg pull -u

and then add an alias to sites-available (in the case of Ubuntu) like this:

Alias /moin_static194/ "/srv/moin/code/1.9/MoinMoin/web/static/htdocs/"

Finally restart apache (if you are using apache) to apply changes you made.

Again it totally depends on the system, so you might get better advice
by telling more about your system.

Best,

Takeo

On Thu, Jun 21, 2012 at 11:41 AM, Moin Admin <bison.moin <at> gmail.com> 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 <at> 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/
Eric Johnson | 21 Jun 2012 22:15
Favicon

Re: New admin - tips for 1.9.3 to 1.9.4 upgrade?

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 <at> 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 <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Gmane