Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Upgrade and migrate or migrate and upgrade?  (Read 4359 times)

0 Members and 1 Guest are viewing this topic.

graemerae

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Upgrade and migrate or migrate and upgrade?
« 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?
« Last Edit: May 30, 2007, 10:05:35 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upgrade and migrate or migrate and upgrade?
« Reply #1 on: May 24, 2007, 09:33:57 pm »

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

graemerae

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Re: Upgrade and migrate or migrate and upgrade?
« Reply #2 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!





« Last Edit: May 30, 2007, 10:04:47 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upgrade and migrate or migrate and upgrade?
« Reply #3 on: May 30, 2007, 10:04:13 am »

Now 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.