mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #29286
[Bug 1499568] [NEW] Mahara 15.04.3 upgrade issues
Public bug reported:
We found three issues while upgrading from Mahara 1.9.8 to 15.04.3. We
have attached the tar file which contains the patch and various error
logs for further help.
Upgrade Issue 1 - Add path and update records :
This adds a field 'path' to artefact table and thereafter runs a update
query to add data. We have around 500K rows and this takes around 94
minutes to upgrade! This can be done in one go without the limit of 200
and it works very well taking around 2-3 minutes!
Few times the upgrade failed due to "mysqli error: [1205: Lock wait
timeout exceeded; try restarting transaction]".
Upgrade Issue 2 - TinyMCE emoticon changes :
$replacements = array('view' => 'description',
'artefact' => 'title',
'artefact' => 'description',
'group' => 'description',
'interaction_forum_post' => 'body',
'notification_internal_activity' => 'message',
'blocktype_wall_post' => 'text',
'site_content' => 'content');
The artefact key is defined twice in the array so as soon it reaches
'artefact' => 'description', it replaces the previous one which ends up
skipping the title column to be updated.
Upgrade Issue 3 - TinyMCE emoticon changes - Typo! :
$configdata[$key] =
preg_replace('/\/emotions\/img/', '/emotions/img', $value);
emotions are replaced emotions@
** Affects: mahara
Importance: Undecided
Status: New
** Patch added: "Patch and various error logs"
https://bugs.launchpad.net/bugs/1499568/+attachment/4473860/+files/Patch%20%26%20Error%20logs.tar
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1499568
Title:
Mahara 15.04.3 upgrade issues
Status in Mahara:
New
Bug description:
We found three issues while upgrading from Mahara 1.9.8 to 15.04.3.
We have attached the tar file which contains the patch and various
error logs for further help.
Upgrade Issue 1 - Add path and update records :
This adds a field 'path' to artefact table and thereafter runs a
update query to add data. We have around 500K rows and this takes
around 94 minutes to upgrade! This can be done in one go without the
limit of 200 and it works very well taking around 2-3 minutes!
Few times the upgrade failed due to "mysqli error: [1205: Lock wait
timeout exceeded; try restarting transaction]".
Upgrade Issue 2 - TinyMCE emoticon changes :
$replacements = array('view' => 'description',
'artefact' => 'title',
'artefact' => 'description',
'group' => 'description',
'interaction_forum_post' => 'body',
'notification_internal_activity' => 'message',
'blocktype_wall_post' => 'text',
'site_content' => 'content');
The artefact key is defined twice in the array so as soon it reaches
'artefact' => 'description', it replaces the previous one which ends
up skipping the title column to be updated.
Upgrade Issue 3 - TinyMCE emoticon changes - Typo! :
$configdata[$key] =
preg_replace('/\/emotions\/img/', '/emotions/img', $value);
emotions are replaced emotions@
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1499568/+subscriptions
Follow ups
-
[Bug 1499568] Re: Mahara 15.04.3 upgrade issues
From: Robert Lyon, 2016-11-06
-
[Bug 1499568] Re: Mahara 15.04.3 upgrade issues
From: Robert Lyon, 2015-10-27
-
[Bug 1499568] Re: Mahara 15.04.3 upgrade issues
From: Aaron Wells, 2015-10-23
-
[Bug 1499568] A change has been merged
From: Mahara Bot, 2015-09-28
-
[Bug 1499568] Re: Mahara 15.04.3 upgrade issues
From: Robert Lyon, 2015-09-28
-
[Bug 1499568] A patch has been submitted for review
From: Mahara Bot, 2015-09-28
-
[Bug 1499568] Re: Mahara 15.04.3 upgrade issues
From: Robert Lyon, 2015-09-28
-
[Bug 1499568] Re: Mahara 15.04.3 upgrade issues
From: Robert Lyon, 2015-09-28
-
[Bug 1499568] A change has been merged
From: Mahara Bot, 2015-09-28
-
[Bug 1499568] Re: Mahara 15.04.3 upgrade issues
From: Yaju Mahida, 2015-09-25
-
[Bug 1499568] A patch has been submitted for review
From: Mahara Bot, 2015-09-25
-
[Bug 1499568] Re: Mahara 15.04.3 upgrade issues
From: Aaron Wells, 2015-09-25
-
[Bug 1499568] Re: Mahara 15.04.3 upgrade issues
From: Aaron Wells, 2015-09-25
-
[Bug 1499568] Re: Mahara 15.04.3 upgrade issues
From: Yaju Mahida, 2015-09-25
-
[Bug 1499568] Re: Mahara 15.04.3 upgrade issues
From: Yaju Mahida, 2015-09-25
-
[Bug 1499568] Re: Mahara 15.04.3 upgrade issues
From: Yaju Mahida, 2015-09-25