[support] Questions around 6.16 to 6.22 upgrade

Chris G cl at isbd.net
Tue Jul 19 10:19:01 UTC 2011


On Tue, Jul 19, 2011 at 09:21:52AM +0200, L.J.Bos wrote:
>    Hi Chris,
>    The easiest way to upgrade is to copy all files of D6.22 over your
>    existing site, EXCEPT for the sites directory. Delete/remove this from
>    your upgrade and everything will be fine.

Yes, after backing up that's what I did and it (as far as I can tell so
far) seems to have worked perfectly.

As my installation is just a simple/single one with just 'all' and
'default' in the sites directory I didn't bother copying out and back. 
I just copied all the files of drupal-6.22 over my old installation and
then ran update.php.  The installlation tar file only has the following
under sites:-

    xxxx$ ls -lR
    .:
    total 3
    drwxr-xr-x 2 globalop 5009 3 May 25 21:43 all
    drwxr-xr-x 2 globalop 5009 3 May 25 21:43 default

    ./all:
    total 1
    -rw-r--r-- 1 globalop 5009 311 May 25 21:43 README.txt

    ./default:
    total 11
    -rw-r--r-- 1 globalop 5009 10310 May 25 21:43 default.settings.php

So it's not going to overwrite anything relevant in the existing
installation. 


As an aside the distributed tar archive doesn't lend itself to unpacking
directly over an existing installation because it unpacks to a root
directory of drupal-6.22.  So one has to unpack it and then do a 'cp -R'
or something similar to copy over the existing installation.


Now on to all the modules that need updating!  :-)

Thanks for all the help everybody.


-- 
Chris Green


More information about the support mailing list