-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix web update from 9.0.0 and 9.0.1 with encryption enabled #24855
Conversation
By analyzing the blame information on this pull request, we identified @DeepDiver1975, @PVince81 and @nickvergessen to be potential reviewers |
555c310
to
5a6e7ae
Compare
hmm, fixing migration from 9.0.1 to 9.1 has a little sense due to owncloud/updater#336 |
@owncloud/qa can you help testing this ? |
There is no point in moving this into master if this should fix some upgrade issues in 9.0.x - right? |
Yes, as long as we never allow updates from 9.0.0-2 to 9.1: https://github.com/owncloud/administration-internal/issues/19 |
@DeepDiver1975 correct, if 9.0.3 is released before 9.1.0. |
How can we enforce the update sequence 9.0.x->9.0.3 then 9.0.3->9.1.0 ? |
Needs to be checked but the answer is |
@PVince81 according to |
Great, so I guess we can close this then. @VicDeo you should put a note somewhere to not forget about enforcing this, maybe in the updater ticket tracker ? (with sev1-critical) |
@PVince81 there is an issue already https://github.com/owncloud/administration-internal/issues/19 |
I agree to discard this PR then and handle the stuff on the updater side. @DeepDiver1975 close ? |
Closing then |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
owncloud/updater#350 is fixed in updater for future releases.
This repair step fixes it for 9.0.0 and 9.0.1 too
Otherwise update will crash with
PHP Fatal error: Class OCA\\Encryption\\Crypto\\Encryption contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OCP\\Encryption\\IEncryptionModule::isReadyForUser) in /home/deo/public_html/killme/apps/encryption/lib/crypto/encryption.php on line 550\nPHP
Unfortunately testing is tricky.
return $this->url;
with
return 'http://url/of/repacked/beta';
Stable9: #24854