mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #50694
[Bug 1799933] [NEW] Unable to upgrade to Mahara 18.10.0 on windows
Public bug reported:
Hi,
I was trying to upgrade my existing 18.04.2 Mahara installation to latest 18.10.0 on my windows environment server. However I am getting "Mahara: Site unavailable
A nonrecoverable error occurred. This probably means you have encountered a bug in the system " error when I visit http://siteurl/admin/upgrade.php?rerun=1&urlsecret='mysecret'
To debug this further, I had uncommented $cfg->productionmode = false;
in config.php to see the errors and I found that it was giving error on
{Path to Mahara}/lib/dwoo/dwoo/Dwoo/Template/Str.php line 530 unable to
chmod.....
I guess this is happening because of "if (strpos(PHP_OS, 'WIN') !==
false && $baseDir !== null)" condition. Instead of this if I replace
false with 0 i.e "if (strpos(PHP_OS, 'WIN') !== 0 && $baseDir !== null)"
the upgrade works fine.
Can you please confirm is this the known issue ? Or am I missing on
something ?
** Affects: mahara
Importance: Undecided
Status: New
--
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/1799933
Title:
Unable to upgrade to Mahara 18.10.0 on windows
Status in Mahara:
New
Bug description:
Hi,
I was trying to upgrade my existing 18.04.2 Mahara installation to latest 18.10.0 on my windows environment server. However I am getting "Mahara: Site unavailable
A nonrecoverable error occurred. This probably means you have encountered a bug in the system " error when I visit http://siteurl/admin/upgrade.php?rerun=1&urlsecret='mysecret'
To debug this further, I had uncommented $cfg->productionmode = false;
in config.php to see the errors and I found that it was giving error
on {Path to Mahara}/lib/dwoo/dwoo/Dwoo/Template/Str.php line 530
unable to chmod.....
I guess this is happening because of "if (strpos(PHP_OS, 'WIN') !==
false && $baseDir !== null)" condition. Instead of this if I replace
false with 0 i.e "if (strpos(PHP_OS, 'WIN') !== 0 && $baseDir !==
null)" the upgrade works fine.
Can you please confirm is this the known issue ? Or am I missing on
something ?
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1799933/+subscriptions
Follow ups
-
[Bug 1799933] Re: Unable to upgrade to Mahara 18.10.0 on windows
From: Robert Lyon, 2019-04-30
-
[Bug 1799933] Re: Unable to upgrade to Mahara 18.10.0 on windows
From: Rebecca Blundell, 2019-04-30
-
[Bug 1799933] A change has been merged
From: Mahara Bot, 2018-11-20
-
[Bug 1799933] A patch has been submitted for review
From: Mahara Bot, 2018-11-20
-
[Bug 1799933] A change has been merged
From: Mahara Bot, 2018-11-20
-
[Bug 1799933] Re: Unable to upgrade to Mahara 18.10.0 on windows
From: Cecilia Vela Gurovic, 2018-11-20
-
[Bug 1799933] Re: Unable to upgrade to Mahara 18.10.0 on windows
From: james william, 2018-11-14
-
[Bug 1799933] Re: Unable to upgrade to Mahara 18.10.0 on windows
From: Robert Lyon, 2018-11-12
-
[Bug 1799933] Re: Unable to upgrade to Mahara 18.10.0 on windows
From: james william, 2018-11-02
-
[Bug 1799933] Re: Unable to upgrade to Mahara 18.10.0 on windows
From: james william, 2018-10-31
-
[Bug 1799933] Re: Unable to upgrade to Mahara 18.10.0 on windows
From: james william, 2018-10-27
-
[Bug 1799933] Re: Unable to upgrade to Mahara 18.10.0 on windows
From: james william, 2018-10-26
-
[Bug 1799933] Re: Unable to upgrade to Mahara 18.10.0 on windows
From: Robert Lyon, 2018-10-26
-
[Bug 1799933] A patch has been submitted for review
From: Mahara Bot, 2018-10-26
-
[Bug 1799933] Re: Unable to upgrade to Mahara 18.10.0 on windows
From: Robert Lyon, 2018-10-26