Skip to content
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

Skipping a major release ends in data corruption, warning/prevention doesn't work #1651

Closed
AlexCloudDev opened this issue Dec 3, 2021 · 3 comments
Labels

Comments

@AlexCloudDev
Copy link

Steps to reproduce

  1. Upgrade to a newer major version by skipping a major release (e.g.: from 21 --> 23)

Expected behaviour

The update process is being stopped, you stay at your current version and your data is not corrupted

Actual behaviour

The update process is being stopped, you stay at an undefined version and your data is corrupted

Now nextcloud is in maintenance mode. You can't go back to your former release, because you get the error "version of the data is higher than the docker image version".

Server configuration

Operating system:
docker/alpine
Web server:
nginx
Database:
mariadb
PHP version:
7
Nextcloud version: (see Nextcloud admin page)
21

@szaimen szaimen transferred this issue from nextcloud/server Dec 3, 2021
@linucksrox
Copy link

This absolutely makes sense to me. I would imagine it's not super complicated to make this work but I haven't looked at the code so maybe there are some other caveats involved.

@J0WI J0WI added the upstream label Feb 2, 2022
@J0WI
Copy link
Contributor

J0WI commented Feb 2, 2022

see nextcloud/server#2270

@J0WI
Copy link
Contributor

J0WI commented Feb 2, 2022

duplicate of #1129

@J0WI J0WI closed this as completed Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants