2.9.4+ to 3.1 | Stuck while upgrading after failing for max_execution_time

2.9.4+ to 3.1 | Stuck while upgrading after failing for max_execution_time

by Jeff Noel -
Number of replies: 2

Hi,


My upgrade ended with an error 500 because of a PHP timeout (it was set to 300 seconds).

I edited it to 900 seconds just for the upgrade process, restarted my web server and the webpage shows "This website is updating, please try again later".


Is there some sort of cache I need to delete to restart the process?


Thank you,


Jeff

Average of ratings: -
In reply to Jeff Noel

Re: 2.9.4+ to 3.1 | Stuck while upgrading after failing for max_execution_time

by Bret Miller -
Picture of Particularly helpful Moodlers

Unfortunately, Moodle upgrades do not resume, so the way to get it to restart is:

  1. Restore the database before the upgrade
  2. Upgrade again
Average of ratings: Useful (1)
In reply to Bret Miller

Re: 2.9.4+ to 3.1 | Stuck while upgrading after failing for max_execution_time

by Jeff Noel -

Thank you for your answer.

I think I have been lucky... I have restarted my webserver and was able to complete the version update without issue.