Support > cpg1.5 install

Migrate from 1.3.2 to new version

<< < (2/5) > >>

skeptikal3:

--- Quote from: gmc ---As I am reading your post - you moved to a new server - but did NOT upgrade yet.. Still running the old version.
Not being able to login as admin can be a symptom of incompatibility between an OLD CPG and a more current server (version of PHP, etc) - all problems we have fixed along the way.  Same for the 'not exist' message - it is likely masking an error received... (manually turning on debug in the database would show more messages...)

--- End quote ---

The idea was to migrate our current version to a new server, test everything to make sure it worked, then upgrade the coppermine software to a new version. But after migrating, I received the screenshot error messages above.

I also did try to run the /update.php -- and got the message "Upgrade completed. Coppermine is now upgraded and ready to roll. Let's continue !" but the albums still don't work.

I also tried installing a new copy of the updated version of the coppermine software but I don't want to have to manually add all those photos back into the albums.

gmc:

--- Quote from: skeptikal3 on November 07, 2016, 02:29:31 pm ---The idea was to migrate our current version to a new server, test everything to make sure it worked, then upgrade the coppermine software to a new version. But after migrating, I received the screenshot error messages above.

--- End quote ---
While a good idea - it just isn't possible if running older versions of CPG not compatible with software levels on the new server...
You still didn't confirm/verify what version you are actually running based on my last reply.


--- Quote ---I also did try to run the /update.php -- and got the message "Upgrade completed. Coppermine is now upgraded and ready to roll. Let's continue !" but the albums still don't work.

--- End quote ---
If you just ran update/php without uploading the new version of CPG - it won't do anything different than when you ran it following your last install/upgrade...
If you skipped an upgrade step - like going from 1.3 to 1.5 - I'd expect issues as well...


--- Quote ---I also tried installing a new copy of the updated version of the coppermine software but I don't want to have to manually add all those photos back into the albums.

--- End quote ---
No reason to have to add photos again - as long as your albums folder and database were moved intact to the new server.
It's a matter of identifying the correct upgrade path based on your current level - following the relevant docs to upgrade in place - and your pictures should all appear again.
(Having backups and/or a test copy to upgrade first is always prudent... Since you are moving from an old server - I assume you already have the backup used to populate the new server.)

We're here to help - but there is information we need to be able to do so...

skeptikal3:

--- Quote ---While a good idea - it just isn't possible if running older versions of CPG not compatible with software levels on the new server...
You still didn't confirm/verify what version you are actually running based on my last reply.
--- End quote ---

From README.txt -----
  Coppermine version: 1.5.44
  $HeadURL: https://svn.code.sf.net/p/coppermine/code/trunk/cpg1.5.x/README.txt $
  $Revision: 8862 $


--- Quote ---If you just ran update/php without uploading the new version of CPG - it won't do anything different than when you ran it following your last install/upgrade...
If you skipped an upgrade step - like going from 1.3 to 1.5 - I'd expect issues as well...
--- End quote ---

That's what I'm trying to figure out is what step I'm missing? I followed the instructions here just now -- http://documentation.coppermine-gallery.net/en/upgrading.htm#upgrade_any -- but am not getting the albums to display any of the photos.



gmc:
OK... but what version are you upgrading from?  Look at the same file in the backup you used to move from the old server...
You cannot upgrade directly from 1.3.x (the version you reported you were running) to 1.5.44.

--- Quote ---Support for a direct upgrade from cpg1.0, cpg1.1, cpg1.2.x or cpg1.3.x to cpg1.5.x has been dropped - if you still have such an ancient version running, you will have to upgrade in a two-step-process (from your version to cpg1.4.x and then on to cpg1.5.x)
--- End quote ---

skeptikal3:
Okay that may be the issue. I upgraded from 1.3.2 to 1.5.x directly. I didn't see anything mentioned in the upgrade docs about a step in-between. Do you have a link that I can download a copy of 1.4 as well? Or instructions on upgrading from 1.3.2 to 1.5.x?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version