[SOLVED] G2 Upgrade Error after fresh CVS Install

DrTweeker

Joined: 2005-04-05
Posts: 5
Posted: Tue, 2005-04-05 06:39

<TYPE YOUR MESSAGE HERE, ENTER SYSTEM DETAILS BELOW>
<Please check the G2 FAQ (sticky topic in this forum) before posting!>
----

Gallery URL (optional): http://216.55.164.84/
Gallery version: 2 (0.8) trying to upgrade to 0.9.8
Webserver (with version): Apache 2.0.51-2.9
Datatabase (with version): MySQL 3.23.58-9.1
PHP version (eg 4.2.1): PHP 4.3.10-2.4
phpinfo URL (optional): not public
Graphics Toolkit(s): IM/GDK/...
Operating system: FedoraC2
Web browser/version: Moz.
G1 version (for migration bugs):

I just installed G2 via CVS.. install with great, just one error regarding it accepting a valid data path outside the httpdocs, had to make it within httpdocs, but anyways... completed installation.. wen to my site, and all it will let me do i "upgrade" i have no option to say "no".

it will not let me view the main page. when i try to upgrade, i get this:

this is on my server, so i have total access, and can provice the address if anyone thinks they can help:

---

An error ocurred while upgrading Gallery Core Module

Something went wrong when we tried to upgrade the core module. In the boxes below you can find some debug information. Report this in the Gallery Forums and we'll help you diagnose the problem.
Stack Trace:
Error (ERROR_STORAGE_FAILURE)

* in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 1176 (gallerystatus::error)
* in modules/core/classes/GalleryStorage.class at line 241 (mysqldatabasestorage::execute)
* in modules/core/CoreModuleExtras.inc at line 316 (gallerystorage::execute)
* in modules/core/module.inc at line 515 (coremoduleextras::upgrade)
* in modules/core/classes/GalleryModule.class at line 137 (coremodule::upgrade)
* in upgrade/steps/UpgradeCoreModuleStep.class at line 72 (coremodule::installorupgrade)
* in upgrade/index.php at line 152 (upgradecoremodulestep::processrequest)

Debug Output:

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2005-04-05 15:46

it you see the upgrader right after a new install then something has already gone wrong. did any steps in the installer timeout or just stop and you had to hit reload in your browser? fyi, the url you posted is G1.

 
DrTweeker

Joined: 2005-04-05
Posts: 5
Posted: Tue, 2005-04-05 15:58

yea, i deaulted back to G1 to make sure G was compat with this new server...

no.. installer went correctly on g2, said it was done. then when tried to load, went to /update...

will try to recreate this afternoon

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2005-04-05 16:20

if it is a consistent problem you can PM me ssh/ftp access to your server and i can try to debug.

 
hardtoneselector

Joined: 2005-03-08
Posts: 46
Posted: Tue, 2005-04-05 19:45

got the same Error and just downloaded the dailey Snapshot.

Quote:
Error (ERROR_STORAGE_FAILURE)
in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 1176 (MySqlDatabaseStorage::error)
in modules/core/classes/GalleryStorage.class at line 241 (MySqlDatabaseStorage::execute)
in modules/core/CoreModuleExtras.inc at line 316 (GalleryStorage::execute)
in modules/core/module.inc at line 515 (CoreModule::upgrade)
in modules/core/classes/GalleryModule.class at line 137 (CoreModule::upgrade)
in upgrade/steps/UpgradeCoreModuleStep.class at line 72 (CoreModule::installOrUpgrade)
in upgrade/index.php at line 152 (UpgradeCoreModuleStep::processRequest)

I installed it within pngallery2
http://www.franken-reggae.de/mod-pngallery2.html

I installed before the Alfa4 what comes with pngallery2, and installation went almost fine and I needed to reload it once. just can not remember what welse it said as error.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2005-04-05 21:17

try tomorrow's nightly snapshot.. it won't let you past the install-core step anymore if it didn't really complete successfully. don't know if it will give you any useful information, but at least you won't continue along thinking it worked..

 
hardtoneselector

Joined: 2005-03-08
Posts: 46
Posted: Wed, 2005-04-06 08:31

Hi mindless,

thankyou I will try the daily from tomorrow or later this week!

greetings
bernie

 
hardtoneselector

Joined: 2005-03-08
Posts: 46
Posted: Fri, 2005-04-08 14:48

Hallo mindless,

I finally got it work so far, took the dailey snapshot from yesterday upgraded it, but still the Storage error, after that I tried installing it from the beginning(delete tables, g2data,...) and it worked fine and completly through,....
At the Moment I just have another Problem with loggin in because of using pngallery2 I adressed the Problem in the Forum there,...
I am always just guest, when I try accessing the gallery through postnuke,... So I do not know that galler2 is complete working so far it looks good.

Thanks for all!!!

bernie

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2005-04-08 15:31

hardtoneselector, great!
DrTweeker, how is your install going?

Edit: I see you've posted your site in the demo urls topic so I'm marking this topic solved.