Update error from 2020102900 (on moodle 3.5) to 2021062500 (on moodle 3.9)
Gael-Mifsud opened this issue · 4 comments
Hello,
On a test platform we upgraded Moodle 3.5.17 to 3.9.7.
We have to update Wooclap from version 2020102900 to the last (2021062500) but we encountered this error :
Could not perform Step 1 of the V3 Upgrade
Error code: error-couldnotperformv3upgradestep1
We hope you can help on this matter.
Thanks.
Note : We use PHP 7.4 for Modole 3.9.
But, we also encountered the same error when updating Wooclap on Moodle 3.5 (PHP 7.2)
We don't have all the data of /moodledata/ on our test platform. Perhaps it is a relevant information ?
Thanks.
Hello @Gael-Mifsud , thanks for reaching us with this issue.
I see several attempt today to perform the upgrade without specifying an access key. The Wooclap plugin requires an access key to work, including for the upgrade. Did you specify it in your plugin settings?
This access key should have been provided to you as part of your subscription. If you use a production key, make sure the production data is present on the Moodle platform as well. We can also provide you with a temporary key for your test.
Thank you very much.
We used the access key and it worked !
I will close this bug report.
FYI we've addressed this issue in the new release here and here. You should now be able to upgrade without the keys, and the migration can be triggered via a CLI script.
For the new release, it shouldn't be necessary to re-trigger this script if you're already on 2021062500 before upgrading the Moodle plugin, but we'll use this process for newer releases if a migration is needed to avoid any issues when upgrading.
Thank you for providing this feedback!