Forums | Mahara Community

Support /
1.4.2 -> 1.5.0 upgrade hangs


anonymous profile picture
Account deleted
Posts: 1

22 June 2012, 12:20

System, Ubuntu 10.04
php 5.3.2-1ubuntu4.17
mysql 5.1.63-0ubuntu0.10.04.1
DB size is 641 MB 

I've done no customizations to mahara.

When I swap the new code in (move old code out, put new code in, not merge) and then copy my config.php back in, I go to [domain]/mahara/admin/upgrade.php.  At that point it just seems to hang with the little spinner going around and around.

Not sure what more information would be helpful, so please let me know what might help.

from /var/log/apache2/error.log

 

[Fri Jun 22 09:31:14 2012] [error] [client 10.65.115.254] [WAR] 78 (artefact/internal/blocktype/textbox/db/upgrade.php:48) unserialize() [function.unserialize]: Error at offset 18 of 65535 bytes, referer: http://[DOMAIN]/mahara/admin/upgrade.php[Fri Jun 22 09:31:14 2012] [error] [client 10.65.115.254] Call stack (most recent first):, referer: http://[DOMAIN]/mahara/admin/upgrade.php[Fri Jun 22 09:31:14 2012] [error] [client 10.65.115.254]   * log_message("unserialize() [function.unserialize]: Error at off...", 8, true, true, "/var/www/mahara/artefact/internal/blocktype/textbo...", 48) at /var/www/mahara/lib/errors.php:446, referer: http://[DOMAIN]/mahara/admin/upgrade.php[Fri Jun 22 09:31:14 2012] [error] [client 10.65.115.254]   * error(8, "unserialize() [<a href='function.unserialize'>func...", "/var/www/mahara/artefact/internal/blocktype/textbo...", 48, array(size 10)) at Unknown:0, referer: http://[DOMAIN]/mahara/admin/upgrade.php[Fri Jun 22 09:31:14 2012] [error] [client 10.65.115.254]   * unserialize("a:1:{s:4:"text";s:92864:"<p align="center"><span s...") at /var/www/mahara/artefact/internal/blocktype/textbox/db/upgrade.php:48, referer: http://[DOMAIN]/mahara/admin/upgrade.php[Fri Jun 22 09:31:14 2012] [error] [client 10.65.115.254]   * xmldb_blocktype_textbox_upgrade("2010061800") at /var/www/mahara/lib/upgrade.php:374, referer: http://[DOMAIN]/mahara/admin/upgrade.php[Fri Jun 22 09:31:14 2012] [error] [client 10.65.115.254]   * upgrade_plugin(object(stdClass)) at /var/www/mahara/lib/db/upgrade.php:2576, referer: http://[DOMAIN]/mahara/admin/upgrade.php[Fri Jun 22 09:31:14 2012] [error] [client 10.65.115.254]   * xmldb_core_upgrade("2011061006") at /var/www/mahara/lib/upgrade.php:301, referer: http://[DOMAIN]/mahara/admin/upgrade.php[Fri Jun 22 09:31:14 2012] [error] [client 10.65.115.254]   * upgrade_core(object(stdClass)) at /var/www/mahara/admin/upgrade.json.php:94, referer: http://[DOMAIN]/mahara/admin/upgrade.php[Fri Jun 22 09:31:14 2012] [error] [client 10.65.115.254] , referer: http://[DOMAIN]/mahara/admin/upgrade.php[Fri Jun 22 09:31:14 2012] [error] [client 10.65.115.254] [WAR] 78 (artefact/internal/blocktype/textbox/db/upgrade.php:48) unserialize() [function.unserialize]: Error at offset 18 of 65535 bytes, referer: http://[DOMAIN]/mahara/admin/upgrade.php[Fri Jun 22 09:31:14 2012] [error] [client 10.65.115.254] Call stack (most recent first):, referer: http://[DOMAIN]/mahara/admin/upgrade.php[Fri Jun 22 09:31:14 2012] [error] [client 10.65.115.254]   * log_message("unserialize() [function.unserialize]: Error at off...", 8, true, true, "/var/www/mahara/artefact/internal/blocktype/textbo...", 48) at /var/www/mahara/lib/errors.php:446, referer: http://[DOMAIN]/mahara/admin/upgrade.php[Fri Jun 22 09:31:14 2012] [error] [client 10.65.115.254]   * error(8, "unserialize() [<a href='function.unserialize'>func...", "/var/www/mahara/artefact/internal/blocktype/textbo...", 48, array(size 10)) at Unknown:0, referer: http://[DOMAIN]/mahara/admin/upgrade.php[Fri Jun 22 09:31:14 2012] [error] [client 10.65.115.254]   * unserialize("a:1:{s:4:"text";s:68392:"<p style="margin: 0.0px 0...") at /var/www/mahara/artefact/internal/blocktype/textbox/db/upgrade.php:48, referer: http://[DOMAIN]/mahara/admin/upgrade.php[Fri Jun 22 09:31:14 2012] [error] [client 10.65.115.254]   * xmldb_blocktype_textbox_upgrade("2010061800") at /var/www/mahara/lib/upgrade.php:374, referer: http://[DOMAIN]/mahara/admin/upgrade.php[Fri Jun 22 09:31:14 2012] [error] [client 10.65.115.254]   * upgrade_plugin(object(stdClass)) at /var/www/mahara/lib/db/upgrade.php:2576, referer: http://[DOMAIN]/mahara/admin/upgrade.php[Fri Jun 22 09:31:14 2012] [error] [client 10.65.115.254]   * xmldb_core_upgrade("2011061006") at /var/www/mahara/lib/upgrade.php:301, referer: http://[DOMAIN]/mahara/admin/upgrade.php[Fri Jun 22 09:31:14 2012] [error] [client 10.65.115.254]   * upgrade_core(object(stdClass)) at /var/www/mahara/admin/upgrade.json.php:94, referer: http://[DOMAIN]/mahara/admin/upgrade.php[Fri Jun 22 09:31:14 2012] [error] [client 10.65.115.254] , referer: http://[DOMAIN]/mahara/admin/upgrade.php

 

 

anonymous profile picture
Account deleted
Posts: 808

24 June 2012, 18:59

Hi Micah,

Have you tried any of the workarounds posted on the other threads with this topic?  The following especially may help you get through:

 https://mahara.org/interaction/forum/topic.php?id=4562#post20421

 https://mahara.org/interaction/forum/topic.php?id=4562#post20465

Failing that, try this one:

 https://mahara.org/interaction/forum/topic.php?id=4474#post20477

We'll put out another release shortly to try and make the upgrade more robust, but in the meantime, I think those tweaks will be your best bet.

2 results