When updating problems occur.
Posted: March 15, 2007 by signex
One important thing when running websites in corporate environments is the secure feeling that updates will work and be compatible. But when your biggest fear becomes reality and websites break down after updating to the latest version here are some step you could follow. You should, ALWAYS, have back-ups, not only because it could crash when updating but also if you experience a HD failure or whatever. If a website is critical for your business and down-time is not done, you can also restore a back-up in a sub dir on the same server with the same settings, and test the update before you apply it on a live website. If you have updated your website and it breaks down you can do the following; If errors occur on the front-end, and you cant fix them within an hour or so, restore a back-up, make a test dir and try again, if it al works well something in the update process went wrong, and you should try again. If it doesn't and you cant get it to work, get help on the forums, and just keep you live website un-updated for the time being. If the errors only occur on the back-end (admin) part of the website, you can take some more time trying to fix it because regular visitors wont notice, and if you cant work it out, the forums will probably help you out. Also make sure that modules you are using are compatible with the new updated version, you can, most of the times, see based on the Php error what file and path is causing what error, if the path is from a module, disable the module and see if everything works well. So what would be nice to see in CMSMS 2.0 for updating problems. If all hell breaks lose and no one else can help you, you can, apart from calling the A-team, make a clean install, export and import your theme, but if you have about 100+ pages and maybe 300 news items, it wont be fast job rebuilding the content. Regular page content and news items is probably the most used CMSMS content, I know lotsa websites have modules and such but they are restored pretty quick most of the times, and if updating really fails you, you have no choice. So it would be nice to see in 2.0 that one can export pages and news items like you can do with themes, this would make complicated updating errors allot less fearful, since in most cases you could be up and running within one hour if you dont have any special modules which are hard to restore content for. I you have more ideas on what people can do when having updating problems, or have an idea on how to make the updating safe/easier in the future and reducing forum topic about updating problems please comment.