Uprading to 3.0.9 - Gallery module fails upgrading - Installed Ver 58 - Available ver 57.

Federico-us

Joined: 2013-07-17
Posts: 4
Posted: Fri, 2013-08-16 06:36

I have upgraded from Gallery 3.01 to 3.0.9 just replacing manually all folders in Gallery 3 directory. It works and did not loose any photos or functionality. Unfortunately when in Admin I see on the top of the page the message "Some of your modules are out of date. Upgrade now!".
Chick on "Upgrade now" and go to Gallery3 Modules Up-grader. All modules have the same installed and Available version Gallery 3 instead has Installed Ver 58 - Available ver 57. Try to install all and I get:

Platform information

Host name: Server-001
Operating system: Linux 3.4.6
Apache: Apache
PHP: 5.3.14
MySQL: 5.1.36
Server load: 1.26 1.16 0.88
Graphics toolkit: imagemagick

Gallery stats

Version: 3.0.9 (Chartres)
Albums: 40
Photos: 3120

Exception [ 0 ]: @todo MODULE_FAILED_TO_UPGRADE

The log file in Var shows:
2013-08-16 01:23:54 +08:00 --- error: Exception [ 0 ]: @todo MODULE_FAILED_TO_UPGRADE
/share/MD0_DATA/Web/gallery3/modules/gallery/helpers/module.php [ 250 ]
#0 /share/MD0_DATA/Web/gallery3/modules/gallery/controllers/upgrader.php(74): module_Core::upgrade('gallery')
#1 [internal function]: Upgrader_Controller->upgrade()
#2 /share/MD0_DATA/Web/gallery3/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Upgrader_Controller), Array)
#3 [internal function]: Kohana_Core::instance(NULL)
#4 /share/MD0_DATA/Web/gallery3/system/core/Event.php(208): call_user_func_array(Array, Array)
#5 /share/MD0_DATA/Web/gallery3/application/Bootstrap.php(67): Event_Core::run('system.execute')
#6 /share/MD0_DATA/Web/gallery3/index.php(116): require('/share/MD0_DATA...')
#7 {main}
2013-08-16 01:38:03 +08:00 --- error: Exception [ 0 ]: @todo MODULE_FAILED_TO_UPGRADE
/share/MD0_DATA/Web/gallery3/modules/gallery/helpers/module.php [ 250 ]
#0 /share/MD0_DATA/Web/gallery3/modules/gallery/controllers/upgrader.php(74): module_Core::upgrade('gallery')
#1 [internal function]: Upgrader_Controller->upgrade()
#2 /share/MD0_DATA/Web/gallery3/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Upgrader_Controller), Array)
#3 [internal function]: Kohana_Core::instance(NULL)
#4 /share/MD0_DATA/Web/gallery3/system/core/Event.php(208): call_user_func_array(Array, Array)
#5 /share/MD0_DATA/Web/gallery3/application/Bootstrap.php(67): Event_Core::run('system.execute')
#6 /share/MD0_DATA/Web/gallery3/index.php(116): require('/share/MD0_DATA...')
#7 {main}

Action taken:
Changed the version in module.info (in Gallery module) form 57 to 58 or 56 = same problem.
Changed the Version of Gallery3 in MySql form 58 to 57 but no success still can see on the top of the main page the same suggestion to upgrade.
How can I solve it if the version of Gallery3 is the right one?

Please if any question or need more information let me know.

Thanks in advance

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2013-08-16 06:51
Quote:
just replacing manually all folders in Gallery 3 directory

did you run the upgrader?
The upgrade directions request that you move/rename the old directory. You might have some old files left over.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Federico-us

Joined: 2013-07-17
Posts: 4
Posted: Fri, 2013-08-16 08:09

Yes I run it and get the @todo MODULE_FAILED_TO_UPGRADE.
I have tried to upgrade without transfer modules, just after unzipped the file. I get the same error/message.
The strange thing, I the version number of the installed is higher of the Available version. This is what i can see in the upgrader.

Module name Installed version Available version
Comments 7 7
Gallery 3 58 57
Image Block 3 3
Info 3 3
Organize 4 4
RSS 1 1
Search 1 1
Tags 3 3
Users and Groups 4 4

I upload the Gallery on my Server. I have tried as you said, renaming the old gallery and transfer the new 3.0.9. If the Var folder is not present a new installation is requested and this is not convenient because will overwrite the data in MySQL. If I copy and paste the Folder Var with all my photos, then i get again the same problem. It requests to upgrade Gallery, but never happens.

Thanks for the quick reply

 
Federico-us

Joined: 2013-07-17
Posts: 4
Posted: Sat, 2013-08-17 00:57

I did not solve the problem. I beleive there is something to do with "phpMyAdmin" or some file in VAR. I did a new install from scratch and I saw that when I run upgrader the version is not anymore 58 but 57 ... so something wrong with that... thanks.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2013-08-17 03:33
Quote:
I beleive there is something to do with "phpMyAdmin" or some file in VAR

What did you do in phpMyAdmin?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Federico-us

Joined: 2013-07-17
Posts: 4
Posted: Sat, 2013-08-17 04:09

At the end, i removed the Gallery and I installed again Gallery 3.0.9 . phpMyAdmin had the version 58, even i changed it to 57 did not solve the problem. I hope don't get the same thing with 3.1 ... thanks