Forums | Mahara Community
Open Discussion
/
Mahara upgrade issue
08 April 2024, 15:37
Hi Mahara developers,
We're currently upgrading our Mahara from 19.10 to 22.10 but stuck in the middle of the upgrade.
During the upgrade from 20.04 to 21.10/22.10, the upgrade stopped itself without error so I don't know what is the issue.
[DBG] 0a (lib/db/upgrade.php:643) Updating description text block image src attributes missing text parameter in url
[DBG] 0a (lib/db/upgrade.php:690) 100/35744
[DBG] 0a (lib/db/upgrade.php:690) 200/35744
......
......
......
[DBG] 0a (lib/db/upgrade.php:690) 16100/35744
[DBG] 0a (lib/db/upgrade.php:690) 16200/35744
[DBG] 0a (lib/db/upgrade.php:690) 16300/35744
[DBG] 0a (lib/db/upgrade.php:690) 16400/35744
Hope someone can help on this issue. Thanks a lot!
08 April 2024, 16:56
Hi Simon,
I wonder if timed out. Looking at the lib/db/upgrade.php file at line 690 there doesn't seem to be any script time extender like other upgrade loops.
so try adding
set_time_limit(30);
to line 689
this code will extend the timeout for the transaction by 30secs each time it reaches that point in the 'while' loop and let me know if that helps
Cheers
Robert
09 April 2024, 13:14
Hi Robert,
Thanks for your suggestion, after added the setting (set_time_limit(30);) to line 689, we can now upgraded to Mahara 22.10.
09 April 2024, 14:38
Hi Simon,
Thank you for letting me know that fixed you issue.
I've added an issue to have this fixed in the next release.
Cheers
Robert