-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Compare version vs. OC_VersionCanBeUpgradedFrom before making irreversible changes #9499
Comments
cc @jospoortvliet - ref #9493 |
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
This is still a valid bug. |
I'm closing this ticket because it hasn't received any updates in a long time. If this is still relevant, feel free to re-open or file a new ticket. If you do so make sure to fill out the issue template. I can't tell what version of Nextcloud you're referring to based on the information you provided. Thank you. |
Steps to reproduce
version.php
file's VersionCanBeUpgradedFrom.version.php
, which I did because I verified it was safe to go from 10.0.8. But I shouldn't have.)Expected behaviour
When the migration tool starts, it should access the version.php file and check if this will be a permissible upgrade path before it clobbers the database or the local
/var/www/owncloud
directory.Actual behaviour
When the migration tool starts, it migrates the database and the local
/var/www/owncloud
directory. Then, at the end, it checks to see if this is permitted and throws an error if it wasn't. This forces users to have to recover the database dump and the files from a backup directory, and restart a fairly complex process.The text was updated successfully, but these errors were encountered: