Upgrade and migrate or migrate and upgrade? Upgrade and migrate or migrate and upgrade?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Upgrade and migrate or migrate and upgrade?

Started by graemerae, May 24, 2007, 07:14:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

graemerae


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?

Joachim Müller

All options are possible, but I suggest to upgrade and then move.

graemerae

#2

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!






Joachim Müller

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.