catalyst / moodle-tool_objectfs

Object file storage system for Moodle
https://moodle.org/plugins/tool_objectfs
88 stars 72 forks source link

DB Error on filesize when upgrading #516

Closed nbozhkov-ucl closed 2 years ago

nbozhkov-ucl commented 2 years ago

We are getting the following error when upgrading from 3.11.7 to 3.11.10+ Build: 20220930 MicrosoftTeams-image (1)

Thanks. Nikola

aspark21 commented 2 years ago

Came across the same when doing the 4.1 upgrade for https://tracker.moodle.org/browse/MDLQA-17232 https://tracker.moodle.org/secure/attachment/116649/part%206.pdf

Upgrade of objectfs from 2022070400 to 2022070401 is extremely slow and times out a number of times, in addition to the above error.

Probably going to hold off taking this new version to prod until this has been sorted.

Will log a WRMS ticket to pick up on this

aspark21 commented 2 years ago

Succeeded on second/third attempt: 2022070401: Success (606.74 seconds) Success (607.90 seconds)

brendanheywood commented 2 years ago

This pr is related to the upgrade speed:

https://github.com/catalyst/moodle-tool_objectfs/pull/518

aspark21 commented 2 years ago

518 did fix it for us.

Thanks!