Moodle 4.1 Upgrade Timeout

Moodle 4.1 Upgrade Timeout

de Ahmed Al Kahky -
Número de respuestas: 3

Hello All,

I am trying to upgrade Moodle 3.10.11 to Moodle 4.1, I put the system in maintenance mode and unzipped the files in the designated directory then copied the old config.php to the Moodle 4.1 and tried to access the UI to start the upgrade process, the system takes a couple of minutes then a message appears indicating that "stream timeout", I tried to visit the same page from the command line and the error appears there is "504 Gateway Timeout".


Have you faced any similar issues during Moodle upgrade and how did you solve it?

Promedio de valoraciones: -
En respuesta a Ahmed Al Kahky

Re: Moodle 4.1 Upgrade Timeout

de Ken Task -
Imagen de Particularly helpful Moodlers

That error suggest you have something in front of the moodle server/code.  mod_security/cloudflare?   Something ...

If you have ssh access to your server you can upgrade via command line with the scripts in code/admin/cli/.   Advantage is that it's just php and DB talking ... web service and whatever is in front is taken out of the loop.

'SoS', Ken


En respuesta a Ahmed Al Kahky

Re: Moodle 4.1 Upgrade Timeout

de Visvanath Ratnaweera -
Imagen de Particularly helpful Moodlers Imagen de Translators
En respuesta a Visvanath Ratnaweera

Re: Moodle 4.1 Upgrade Timeout

de Ahmed Al Kahky -
yes, I followed the upgrade steps yet using the GUI upgrade always times out while it was completed successfully using the command line upgrade, thanks a lot Ken and Visvanath