Forums | Mahara Community
Support
/
Help: Upgrade Failed
19 April 2011, 2:09
Hi
I have just sucessfully upgraded Mahara on our test server from 1.3.3 to 1.3.5
When I follow exactly the same process on the production server and try to run the upgrade script I get the message upgrade failed.
Temporarily I have had to revert the production server back to 1.3.3
The main difference between the production and test installs is the presence of the outcomes module, which allows students to present mahara views to moodle for assessment.
Do I need to copy over the outcome module folder from 1.3.3 to 1.3.5 before I visit the upgrade.php script from the browser?
Thanks very much
Clive
19 April 2011, 2:47
Also I was just wondering if there are any database changes between 1.3.3 and 1.3.5?
I have copied the 1.3.3 file structure back over (cp -pr mahara_old_1.3.3 /var/www/html/mahara) but am running with the database left over from the failed upgrade.
What concerns me is that although the upgrade on the production server failed and I had to roll back to 1.3.3, the version number is now listed on the administration page as 1.3.5
Thanks
Clive
http://maharabromley.blogspot.com/
19 April 2011, 15:51
Hello Clive,
I can't help you with your problem, but just wanted to let you know that I added a link to your CentOS installation guide to the Mahara wiki at http://wiki.mahara.org/System_Administrator%27s_Guide/Installing_Mahara/Installing_on_CentOS_5.x
Thanks for creating this guide. If you wish, you can move it to the wiki entirely.
Cheers
Kristina
19 April 2011, 21:00
Hi Clive,
The failed upgrade is a bit of a worry. Can you remember the exact wording of the error message? Is there anything in the webserver error log from the time of failure?
The 1.3.5 on your admin page indicates that the upgrade did in fact succeed. Have you tried just putting the 1.3.5 code back in place and logging in? I can't see any database changes between those two versions, so your site should hopefully run with the code from either version.
R.
20 April 2011, 1:10
Success :)
I put the 1.3.5 code back in place and when I visited Mahara got the message:
Mahara: Site unavailable
A nonrecoverable error occured. This probably means you have encountered a bug in the system
On checking the Apache error_log file I found the following message:
[WAR] 6a (lib/mahara.php:1086) File /var/www/html/mahara/artefact/outcome/lib.php did not exist, referer: http://vle.bromley.ac.uk/mahara/
This immediately alerted me to the fact that the outcome module was missing. I copied over the outcome folder from the 1.3.3 backup:
cp -pr /root/mahara_old_1.3.3/artefact/outcome /var/www/html/mahara/artefact
And low and behold Mahara 1.3.5 worked fine :)
I'll blog this when I get time. It might be a good idea to include a specific statement in the Mahara upgrade documentation regarding copying over non core plugins
20 April 2011, 17:42
Others have reported similar problems here: https://bugs.launchpad.net/mahara/+bug/629209
In version 1.4 there will be messages on the screen to alert admins about missing plugins after an upgrade.
20 April 2011, 18:37
I have just added a note about this at the end of Step 3 on this page:
http://wiki.mahara.org/index.php?title=System_Administrator's_Guide/Upgrading_Mahara
Thanks for the suggestion Clive!
Cheers,
Francois