(ERROR_STORAGE_FAILURE) : No map or entity description for: EventLogMap

leslienord

Joined: 2003-09-08
Posts: 75
Posted: Fri, 2012-04-06 15:28

I was trying to upgrade a Gallery2 app in the hopes it would resolve a broken image issue. I now can't get any further than 40% complete and can't get the info needed. The error itself has much of what is needed and even tells me to report this in the Gallery Forums :)

I have changed the domain name to protect the innocent

An error occurred 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) : No map or entity description for: EventLogMap

in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 1326 (GalleryCoreApi::error)
in modules/core/classes/GalleryStorage.class at line 769 (GalleryStorageExtras::configureStore)
in modules/core/classes/GalleryModule.class at line 156 (GalleryStorage::configureStore)
in upgrade/steps/UpgradeCoreModuleStep.class at line 85 (GalleryModule::installOrUpgrade)
in upgrade/index.php at line 186 (UpgradeCoreModuleStep::processRequest)

Debug Output:

file_exists(/var/www/vhosts/mydomain.com/httpdocs/meetings/g2data/versions.dat)
file(/var/www/vhosts/mydomain.com/httpdocs/meetings/g2data/versions.dat,
)
is_writeable(/var/www/vhosts/mydomain.com/httpdocs/meetings/config.php)

--------------------------------------------------------
Upgrade Core Module
--------------------------------------------------------

--------------------------------------------------------
System and Gallery information:
--------------------------------------------------------
Gallery version: 2.2.3
File integrity: There are missing/modified files!
SVN install: No
PHP version: 5.1.6 apache2handler
PHP memory limit: 128M
PHP disable_functions:
PHP zend.ze1_compatibility_mode:
Webserver: Apache
Database: mysql 5.1.59
Operating system: Linux web005.mivamerchant.net 2.6.18-274.17.1.el5 #1
SMP Tue Jan 10 17:25:58 EST 2012 x86_64
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0)
Gecko/20100101 Firefox/11.0
--------------------------------------------------------

getParameter id.adminGroup for core plugin

(mysql):
SELECT
g2_PluginParameterMap.g_itemId,
g2_PluginParameterMap.g_parameterName,
g2_PluginParameterMap.g_parameterValue
FROM
g2_PluginParameterMap
WHERE
g2_PluginParameterMap.g_pluginType = 'module'
AND
g2_PluginParameterMap.g_pluginId = 'core'
AND
g2_PluginParameterMap.g_itemId = 0

(mysql):
SELECT
g2_UserGroupMap.g_userId,
g2_User.g_userName
FROM
g2_UserGroupMap, g2_User
WHERE
g2_UserGroupMap.g_groupId = 3
AND
g2_UserGroupMap.g_userId = g2_User.g_id

ORDER BY
g2_User.g_userName
LIMIT 1

(mysql): SELECT g_id, g_entityType FROM g2_Entity WHERE g_id IN (6)

(mysql): SELECT g2_Schema.g_info FROM g2_PluginMap, g2_Schema
WHERE g2_PluginMap.g_pluginId = g2_Schema.g_pluginId
AND g2_Schema.g_type = 'entity' AND g2_PluginMap.g_active = 1

(mysql): SELECT g2_Schema.g_info FROM g2_Schema WHERE g2_Schema.g_type =
'entity'

(mysql): SELECT g2_User.g_userName, g2_User.g_fullName,
g2_User.g_hashedPassword, g2_User.g_email, g2_User.g_language,
g2_User.g_locked, g2_Entity.g_id, g2_Entity.g_creationTimestamp,
g2_Entity.g_isLinkable, g2_Entity.g_linkId,
g2_Entity.g_modificationTimestamp, g2_Entity.g_serialNumber,
g2_Entity.g_entityType, g2_Entity.g_onLoadHandlers FROM g2_User, g2_Entity
WHERE g2_User.g_id IN (6) AND g2_Entity.g_id=g2_User.g_id

(mysql): SELECT g2_Schema.g_info FROM g2_Schema WHERE g2_Schema.g_type =
'entity'

(mysql): SELECT g2_Schema.g_info FROM g2_Schema WHERE g2_Schema.g_type =
'entity'

GalleryModule::installOrUpgrade core module
In bootstrap mode (core module)
Configure store for core module
file_exists(/var/www/vhosts/mydomain.com/httpdocs/meetings/modules/core/classes/GalleryStorage/schema.tpl)
file(/var/www/vhosts/mydomain.com/httpdocs/meetings/modules/core/classes/GalleryStorage/schema.tpl,
)

(mysql): SHOW TABLES

(mysql): SELECT g_name, g_major, g_minor FROM g2_Schema

file_exists(/var/www/vhosts/mydomain.com/httpdocs/meetings/modules/core/classes/Maps.inc)
file_exists(/var/www/vhosts/mydomain.com/httpdocs/meetings/modules/core/classes/Entities.inc)
realpath(/var/www/vhosts/mydomain.com/httpdocs/meetings/modules/core/classes/../../../)
realpath(/var/www/vhosts/mydomain.com/httpdocs/meetings/)
Error: Failed to configure the persistent store, this is the error stack
trace: Error (ERROR_STORAGE_FAILURE) : No map or entity description for:
EventLogMap in
modules/core/classes/GalleryStorage/GalleryStorageExtras.class at
line 1326 (GalleryCoreApi::error)
in modules/core/classes/GalleryStorage.class at line 769
(GalleryStorageExtras::configureStore)
in modules/core/classes/GalleryModule.class at line 156
(GalleryStorage::configureStore)
in upgrade/steps/UpgradeCoreModuleStep.class at line 85
(GalleryModule::installOrUpgrade)
in upgrade/index.php at line 186
(UpgradeCoreModuleStep::processRequest)

realpath(/var/www/vhosts/mydomain.com/httpdocs/meetings/modules/core/classes/../../../)
realpath(/var/www/vhosts/mydomain.com/httpdocs/meetings/)

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2012-04-06 15:35

you need to do incremental upgrades 2.2.3 -> 2.2.6 -> 2.3.1

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

 
leslienord

Joined: 2003-09-08
Posts: 75
Posted: Fri, 2012-04-06 15:39

So it will be okay to go back and upload 2.2.6?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2012-04-06 16:09