Latest revision as of 09:12, 9 February 2017

These notes are mostly just a copy of the previous upgrade, but are being modified still :)

Upgrading the OSGeo Drupal CMS is a complicated task further complicated by the use of multi-site configuration. To upgrade from current 5.3 (??) to the newest 6.x (??) version the following steps should be taken (doubles as a check list):

Time estimation

I estimate that the total read-only time for the OSGeo sites will be around 1 day if everything goes according to plan, this does not include the preliminary tasks which have to be completed prior to doing the upgrade.

Preliminary tasks

DNS Changes

Redirect any *test* instances?

Debian Package Installation

osgeo3/4 run debian linux OS. The server has no apache, drupal or any other packages already installed. Here is the list of packages to be installed to get support for our Drupal sites up and running:

SQL to disable all non-core modules

alter table system set status=0 where where name != 'aggregator' and
name != 'block' and name != 'blog' and name != 'blogapi' and
name != 'book' and name != 'comment' and name != 'contact' and
name != 'drupal' and name != 'filter' and name != 'forum' and
name != 'help' and name != 'legacy' and name != 'locale' and
name != 'menu' and name != 'node' and name != 'path' and
name != 'ping' and name != 'poll' and name != 'profile' and
name != 'search' and name != 'statistics' and name != 'taxonomy' and
name != 'throttle' and name != 'tracker' and name != 'upload' and
name != 'user' and name != 'watchdog' and name != 'bluemarine';

SQL to set bluemarine as the default theme

alter table variable set value='s:10:"bluemarine";' where name='theme_default';
delete from cache;