Upgrading from Gallery-2.0.2 to Gallery-2.2.6 results in ERROR_STORAGE_FAILURE at GalleryStorageExtras.class at line 961

thatguy

Joined: 2006-12-27
Posts: 7
Posted: Mon, 2011-12-05 07:26

I have the Mysql datatables from an older, uninstalled Gallery-2.0.2 installation. I want to install a new version of Gallery. The closest version in the upgrade path for 2.0.2 is 2.2.6. Using the Upgrade Wizard from 2.2.6 produces this error during the "Upgrade the Gallery Core Module". The Upgrade Wizard log file is attached.

The stack trace says

Error (ERROR_STORAGE_FAILURE)
in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 961 (GalleryCoreApi::error)
in modules/core/classes/GalleryStorage.class at line 493 (GalleryStorageExtras::execute)
in modules/core/CoreModuleExtras.inc at line 1426 (GalleryStorage::execute)
in modules/core/module.inc at line 433 (CoreModuleExtras::upgrade)
in modules/core/classes/GalleryModule.class at line 160 (CoreModule::upgrade)
in upgrade/steps/UpgradeCoreModuleStep.class at line 85 (GalleryModule::installOrUpgrade)
in upgrade/index.php at line 185 (UpgradeCoreModuleStep::processRequest)

My version.dat says

1.0.0.2
2.0.2


Gallery version: 2.0.2
File integrity: Ok
SVN install: No
PHP version: 5.3.5-1ubuntu7.2 apache2handler
PHP memory limit: 512M
PHP disable_functions:
PHP zend.ze1_compatibility_mode:
Webserver: Apache/2.2.17 (Ubuntu)
Database: mysqli 5.0.51a-3ubuntu5.5
Operating system: Linux alex 2.6.38-8-server #42-Ubuntu SMP Mon Apr 11
03:49:04 UTC 2011 x86_64
Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.2 (KHTML,
like Gecko) Chrome/15.0.874.121 Safari/535.2

AttachmentSize
debug-log.txt52.18 KB
 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2011-12-05 13:20

There was an extreme shift in gallery core from 2.0 to 2.1
Your upgrade path should include 2.0 -> 2.1 -> 2.2.6 -> 2.3.1
Kevin made it available somewhere in these forums.... here.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2