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: Best way to upgrade?  (Read 5482 times)

0 Members and 1 Guest are viewing this topic.

Thumb

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Best way to upgrade?
« on: December 14, 2010, 07:05:05 pm »

I am going to be moving to another host and was wondering which would be the best and easiest way to upgrade from 1.4 to 1.5?

My current version is 1.4 and has 100's of pictures so of course it would be better when I moved to the new host to just import the current
database but since it is version 1.4 my question would be should I install the 1.4 version of Coppermine and use my old database then update to 1.5 or could I install the 1.5 version and still use my old 1.4 database?
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Best way to upgrade?
« Reply #1 on: December 14, 2010, 07:12:34 pm »

I would do this.

Backup your site and database.

Disable all plugins and bridges if you have any and set a default theme  such as classic.

Move just the database, your albums folder, your custome theme, the include/config.inc.php file and anycontent.php (if you use one) to the new location.

Edit you include/config.inc.php file to reflect the new database details

Upload the new 1.5 version to the new location

Run update.php

See if your new site works as expected.

If so you can upgrade your custom theme and if available add new versions of any plugins you may have.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Thumb

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Best way to upgrade?
« Reply #2 on: December 14, 2010, 07:15:19 pm »

Thank you, I'll try that and let you know how it goes. I am running just the default version with no plug-ins so it should go good.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Best way to upgrade?
« Reply #3 on: December 14, 2010, 08:29:01 pm »

I recommend the same procedure as Phill described. Move your content to the new server and then upgrade to cpg1.5.x.

Moving to upgrade board.
« Last Edit: December 15, 2010, 09:02:16 am by Αndré »
Logged

Thumb

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Best way to upgrade?
« Reply #4 on: December 15, 2010, 08:26:37 am »

Well, I moved everything over, uploaded the new version and ran the upgrade.php and everything works.
Thanks a lot guys for your input.

There are a couple errors when I go into the config portion but I'll post those in the correct forum but for now I'm tired and time to go to bed.

Thanks again!
Logged

afterburn9

  • Guest
Re: Best way to upgrade?
« Reply #5 on: January 07, 2011, 08:34:40 pm »

I am upgrading a large coppermine install from 1.4.26

My plan is to first install a new copy of coppermine 1.5 into a new directory.
I will then copy over the albums directory.

My question is this...can I just delete the empty 1.5 database and replace with a backup of the 1.4 then just do the update.php?

I can find a decent upgrade procedure anywhere.


Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Best way to upgrade?
« Reply #6 on: January 07, 2011, 08:40:15 pm »

You can do that but some things like plugins or bridges might fail. You may run into other problems.

First please read the board rules particularly the ones about hijacking other peoples threads and alway posting a link - http://forum.coppermine-gallery.net/index.php/topic,55415.0.html

Have you read the upgrade guide? - http://documentation.coppermine-gallery.net/en/upgrading.htm

Please answer that question in a thread of your own.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

afterburn9

  • Guest
Re: Best way to upgrade?
« Reply #7 on: January 07, 2011, 10:07:29 pm »

sorry for breaching your extensive board etiquette, (did it really require 26 individual posts to explain?) but I have read the upgrade guide, which reads more like a lengthy feature list. http://documentation.coppermine-gallery.net/en/upgrading.htm
On that page I have found no simple, yet comprehensive step by step guide for going from 1.4 to 1.5
Just a very wordy explanation of what everything does.
Looks like I'm on my own.
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page
Re: Best way to upgrade?
« Reply #8 on: January 07, 2011, 11:51:16 pm »

Locking
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.