Upgrade Procedure
Upgrading a Silva production instance
This is the recommend procedure for upgrading a Silva site running in production. It uses a buildout tag with all desired configurations and product versions pinned down. For more info about using buildout see http://docs.infrae.com/silva/2.2/buildout.html.
- Make a new buildout instance for testing the upgrade. You can do this ‘next to’ the current instance, or on another machine.
- Copy the production Data.fs to the test instance with the newer Silva.
- Upgrade the Silva root(s) in the copied Data.fs using the upgrade content button in Service Extensions.
- Test all products and content, paying special attention to layouts, third party extensions not included in the core, and any custom code.
- If necessary, adjust the buildout and run it again.
- Fix and test problems and iterate until everything works. Make careful notes of all changes required, as you’ll have repeat all these steps.
- Announce a ‘content freeze’: inform Authors and Editors about the upgrade, explaining that they won’t be able to do any work during the freeze (or if they do, it’ll be lost). You can also lock down Silva by changing rewrite rules in Apache.
- Make a backup of the production Data.fs.
- If you’ve been testing on another machine, make a new production buildout instance for the upgrade.
- Copy the production Data.fs to the new instance.
- Upgrade the instance using your notes.
- Test all products and content.
- Switch from the old production instance to the new production instance.
- Announce the end of the content freeze.
Upgrading manually using tarballs
- Download the desired Silva-all tarball, and any other product tarballs.
- Extract the files into the Zope ‘Products’ directory.
- Locate the UPGRADE.txt in the Silva product.
- Follow the steps explained in UPGRADE.txt.
© Copyright 2002-2012 Infrae.
All rights reserved.