« Get Gmaps up and running | Main | Configure arguments in the Views module I »

January 04, 2010

Update Drupal 6.14 to 6.15

A catalog of steps. Mostly drawing from

$ gedit drupal-6.15/UPGRADE.txt

1. Backup up the database using phpMyAdmin and this tutorial.

2. Backup the sites folder

$ sudo cp -rf /var/drupal/sites/ webBackup/

I also did a backup of the whole drupal directory due to paranoia:
$ tar czf drupal_backup.tar.gz /var/drupal/

The following symlink may need to be replaced as well:
gallery2 -> /usr/share/gallery2/

3. Take the site off-line at Administer > Site Configuration > Site Maintenance

4. Disable all contributed modules. See below the fold for a list of enabled modules. This list is generated by the Enabled Modules module.

5. Put new drupal files into place
$ sudo rm -rf /var/drupal/
$ sudo mkdir /var/drupal
$ sudo cp -rf drupal-6.15/* /var/drupal/

6. Put the old sites folder into place
$ sudo rm -rf /var/drupal/sites/
$ sudo cp -rf webBackup/sites/ /var/drupal/

7. Turn off clean urls
http://localhost/drupal/?q=admin/settings/clean-urls

8. To enable clean urls again, copy the old .htaccess file over
$ sudo cp var/drupal/.htaccess /var/drupal/

9. Enabled modules (see list below the fold.)

10. Got this error:
The selected file /tmp/fileKxVVzn could not be uploaded, because the destination sites/default/files/js/gmap_markers.js is not properly configured.

Solved it with this:
$ sudo chmod 777 /var/drupal/sites/default/files/js/

Name
advanced_help
biblio
block
blog
cck_fieldgroup_tabs
color
comment
contact
content
content_copy
date
date_api
date_popup
date_timezone
dblog
email
enabled_modules
fieldgroup
filefield
filter
gallery
gallery_field
gallery_menu
gmap
gmap_location
help
image
imagepicker
image_gallery
image_import
imce
link
location
location_cck
location_node
menu
node
nodereference
nodereferrer
number
optionwidgets
phone
search
statistics
system
tabs
taxonomy
taxonomy_xml
text
update
user
views
views_ui

Posted by kkwaiser at January 4, 2010 11:34 AM

Comments

Login to leave a comment. Create a new account.