[Invalid]: Upgrade from 1.4 failed [Invalid]: Upgrade from 1.4 failed
 

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

[Invalid]: Upgrade from 1.4 failed

Started by anewday, July 05, 2010, 04:53:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

anewday

Hello, I'm trying to upgrade my coppermine gallery from version 1.4.18 to 1.5.6. I uploaded all the files except the albums folder from the cpg1.5.6.zip file then ran update.php in the web browser. After the first step of inputting the database name, user, password, etc. The following error is shown.


mySQL Error: Table 'cpg11d_albums' already exists on query ' CREATE TABLE cpg11d_albums ( aid int(11) NOT NULL auto_increment, title varchar(255) NOT NULL default '', description text NOT NULL, visibility int(11) NOT NULL default '0', uploads enum('YES','NO') NOT NULL default 'NO', comments enum('YES','NO') NOT NULL default 'YES', votes enum('YES','NO') NOT NULL default 'YES', pos int(11) NOT NULL default '0', category int(11) NOT NULL default '0', owner int(11) NOT NULL DEFAULT '1', thumb int(11) NOT NULL default '0', keyword VARCHAR( 50 ), alb_password VARCHAR( 32 ), alb_password_hint TEXT, moderator_group INT NOT NULL default 0, alb_hits INT( 10 ) NOT NULL default 0, PRIMARY KEY (aid), KEY alb_category (category), KEY `moderator_group` (`moderator_group`), KEY `visibility` (`visibility`) ) TYPE=MyISAM COMMENT='Used to store albums''


http://www.celinedionforum.com/gallery/

I copied the database info from the existing config.inc.php file to the first step. Is it fine to use the same table prefix? Any help is appreciated.

anewday

Also, there is no config.inc.php file present in the include folder, anycontent.php is present in the gallery rooter folder.

onthepike

Use your existing 1.4.18 config.inc.php file. It should remain on your server during the upgrade process, along with your anycontent.php file and your /albums/ directory.

http://documentation.coppermine-gallery.net/en/upgrading.htm#upgrade_any

anewday

So, I used the config.inc.php and anycontent.php files from 1.4.18. This error shows up immediately after I ran update.php from the browser.

Coppermine critical error:
The group table does not contain the Anonymous group !

The gallery is using the invision 2.3 bridge. Could this be the cause?

onthepike

Disable bridging before upgrading, then check the documentation for details on re-enabling bridging after upgrading from 1.4.x to 1.5.6.

anewday

I can't seem to login to the bridge manager with the admin account even after running adminpass.php to reset it. :(

onthepike

First, I would suggest you spend some time reading through the 1.5 documentation, and read it thoroughly. So far, all your questions (and answers, thereof) are explained, in very minute detail. This is not to say that you don't actually have a problem -- but the very basics of upgrading and fail/recover bridging are completely explained within the documentation that came as part of your download package.

To recover from failed bridging, please see: Recover From Failed Bridging. Should these steps fail, and you have a functioning gallery, but have bridging issues, please see the Bridging Support forum posting template (again, within your documentation).

Please advise as to whether or not this is a failed upgrade or a bridging issue. If bridging, I will move this thread to the appropriate sub forum.

Lastly, if you are indeed upgrading the gallery you provided above, please do leave the 1.5.6 installation available, as the 1.4.18 version is (a) susceptible to immediate harm, and (b) serves no useful purpose to us in attempting to assist you with these issues.

anewday

Yes, I have already read the documentation on upgrading before performing the upgrade. I just didn't reuse the anycontent.php from the 1.4.18 install. The gallery is functioning with the bridging so this thread should remain here. I don't want to leave the installation files as the gallery will be broken. Do you have any other ideas? Thanks for your help.

onthepike

You are asking for support on the 1.5.x board regarding a gallery you maintain at version 1.4.18. At minimum, I would suggest updating to the latest 1.4.x version; currently 1.4.27, as you are extremely vulnerable to infection, etc. This version is woefully outdated and will not be supported.

If you require updating assistance, you must provide the gallery within the state of issue. Otherwise, it's all guesswork. We need to actually see the non-working gallery in order to determine the cause and remedy. Well, I do, anyway; perhaps someone else can resolve your issue without seeing the faulty 1.5.6 version.

I'm sorry I couldn't have been of help here.

anewday

I though this was the correct forum for upgrading to 1.5. The gallery is upgraded to 1.4.27, thanks for the heads up! :)

Joachim Müller

Well, then upgrade as we suggest in our documentation to cpg1.5.x if you think you're on the right board. Currently, you're on the wrong board, as you have upgraded your gallery from 1.4.18 to cpg1.4.27!

anewday

Quote from: Joachim Müller on July 05, 2010, 07:58:19 AM
Well, then upgrade as we suggest in our documentation to cpg1.5.x if you think you're on the right board. Currently, you're on the wrong board, as you have upgraded your gallery from 1.4.18 to cpg1.4.27!
Why the rude remark? This forum description clearly states: "Troubles upgrading from previous versions (i.e. cpg1.4.x) to cpg1.5.x? Go here! Issues related to upgrading from cpg1.5.x to cpg1.5.y go here as well." I was initially upgrading from 1.4.x to 1.5.x and I did follow the documentation. The issue at hand is not upgrading from 1.4.18 to 1.4.27 so that is irrelevant.

anewday

Anyway, the same error exists even after upgrading from 1.4.27 to 1.5.6. :(

Joachim Müller

Stop posting nonsense - the gallery that you refered to in your initial posting is still running cpg1.4.27, that's why this entire thread is nonsensical. Locking.