Lately i had to upgrade a Drupal site (not a module but the code system). It is not that hard but i still thought it can be useful for some.
Before you start do yourself a favor and backup your database and your sites folder (assuming you have built your site correctly ALL your code should be in this folder).
Now lets start. I am writing this as a really simple list:
- connect to your site as an administrator
- go to available updates and download the recommended version
- put your site in an offline mode
- change your theme to a Drupal core theme, like garland
- disable all custom modules. All contributed modules and those you have written yourself. A good tip is: make a screen shot of the modules full page so when you`ll need to turn them on again, you`ll know exactly what should be enabled.
- Delete all your files and folders from the server Except the sites folder
- upload the new version to the server
- run the file update.php in your browser, that is http://www.yoursite.com/update.php
- if all went well enter the admin area and check that it is the new version inside the status report
- re enable your theme
- re enable your modules
- run update.php again
- put the site in the online mode (obviously you should check before that all is working as it should)
And that is it. Your site is upgraded and functioning.
Post new comment