gallery 2.3 upgrade

rebeccalillysegura

Joined: 2009-10-05
Posts: 5
Posted: Tue, 2009-10-13 02:50

I can't get this upgrade up and running...

I am stuck on step 5 with this message:
"Gallery tables already exist in this database! But there is no 'versions.dat' file in your G2 storage directory which we interpret as a broken state of G2. Either create a versions.dat file with the correct format if you think your G2 should still work or select a clean install, which will erase all data in the database and in the storage directory. "

I do have a versions.dat file located directly under my _g2data/ directory with the following in the file:
1.3.0
2.3

the permission is set to 777

I've tried uninstalling and reinstalling from scratch but I can't seem to get past this step

What am i doing wrong? I see others have had this problem, but their fix did not help me.

Login or register to post comments
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 9283
Posted: Tue, 2009-10-13 04:44

With that info in your versions.dat that means you're already running 2.3 and shouldn't need to install or upgrade.

Are you trying to reuse a database? You can't do that unless the version specified in the database and versions.dat match.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Login or register to post comments
rebeccalillysegura

Joined: 2009-10-05
Posts: 5
Posted: Tue, 2009-10-13 21:46

nope, not running 2.3, but have attempted to complete this upgrade several times so maybe that is why it has the newest version in it? Do I need to change the version.dat to reflect the old version? I have never actually completed this upgrade in any of my attempts; even after restoring once and trying again from scratch. Should I restore the old version again, and start over again.....frustrating, but I'm trying.

Login or register to post comments
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 9283
Posted: Tue, 2009-10-13 21:50

Post a link to phpinfo:
FAQ: How do I create a phpinfo page?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 16320
Posted: Wed, 2009-10-14 03:24

Launch phpMyAdmin or similar DB admin tool.
You can find the version in the database.

SELECT g_parameterValue FROM g2_PluginParameterMap WHERE g_pluginId = 'core' and g_parameterName = '_version';

Then the first line in versions.dat should match what the DB says.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments