coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: graemerae on May 24, 2007, 07:14:12 PM

Title: Upgrade and migrate or migrate and upgrade?
Post by: graemerae on May 24, 2007, 07:14:12 PM

I have CPG134 on a on old clunky linux box and I'm preparing to move it over to a shiny new one with a huge disk:

PHP 4.3.9 (cgi) (built: Apr  4 2007 11:50:16)
mysql  Ver 14.7 Distrib 4.1.20, for redhat-linux-gnu (i686)

How do I go about moving/upgrading?  Should i upgrade on the old box and move that or move over install and upgrade?
Or can I install new on the new box and then import the old data?

Anyone got any tips for doing this?
Title: Re: Upgrade and migrate or migrate and upgrade?
Post by: Joachim Müller on May 24, 2007, 09:33:57 PM
All options are possible, but I suggest to upgrade (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#13) and then move (http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#moveGallery).
Title: Re: Upgrade and migrate or migrate and upgrade?
Post by: graemerae on May 30, 2007, 01:41:51 AM

Well that was far less painful than I thought!

1) Shut down the gallery.
2) Backed-up everything
3) Upgraded old system from 1.3.4 to 1.4.10 - manually, I work on a server with no ftp. Downloaded and cp'd each file into place.
4) Changed my theme using the upgrade theme doc  (needed a little extra tweaking)
5) Changed the way my footer was handled
6) Dumped SQL
7) Tarballed up the sql and html over to the new box
8) Untarred, imported sql
9) Restarted everything
10) Switched DNS.

http://photos.surfline.com lives!

Now the only thing i need to figure out is how to get my old POTD and POTW _by Album_ working again.

Thanks for the advice!





Title: Re: Upgrade and migrate or migrate and upgrade?
Post by: Joachim Müller on May 30, 2007, 10:04:13 AM
Quote from: graemerae on May 30, 2007, 01:41:51 AMNow the only thing i need to figure out is how to get my old POTD and POTW _by Album_ working again.
Those are mods that get overwritten when upgrading (drawback of all mods that need modification of core files). Re-apply them.