albumtree upgrade fail

dennys
dennys's picture

Joined: 2003-08-24
Posts: 32
Posted: Sat, 2012-05-26 02:29

I use Gallery 3.0.3 with albumtree v2 and it's ok. But when I upgrade to albumtree v3, it shows "An error occurred while installing the Album Tree module".

The following is the log from var/log, is there any suggestion for this issue?

2012-05-26 04:11:24 +02:00 --- error: exception 'Exception' with message '@todo MODULE_FAILED_TO_UPGRADE' in /gallery3/modules/gallery/helpers/module.php:243
Stack trace:
#0 /gallery3/modules/gallery/controllers/admin_modules.php(92): module_Core::upgrade('albumtree')
#1 /gallery3/modules/gallery/controllers/admin_modules.php(54): Admin_Modules_Controller->_do_save()
#2 [internal function]: Admin_Modules_Controller->confirm()
#3 /gallery3/modules/gallery/controllers/admin.php(62): call_user_func_array(Array, Array)
#4 [internal function]: Admin_Controller->__call('modules', Array)
#5 /gallery3/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Admin_Controller), Array)
#6 [internal function]: Kohana_Core::instance(NULL)
#7 /gallery3/system/core/Event.php(208): call_user_func_array(Array, Array)
#8 /gallery3/application/Bootstrap.php(67): Event_Core::run('system.execute')
#9 /gallery3/index.php(102): require('/home/www/galle...')
#10 {main}
 
dennys
dennys's picture

Joined: 2003-08-24
Posts: 32
Posted: Sat, 2012-05-26 04:02

I delete the albumtree related records in g3_modules and g3_vars, then I can re-install and it's ok now.