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

Block upgrade if it is not supported because major versions are too different #2018

Merged
merged 5 commits into from
Jul 9, 2023

Conversation

wetneb
Copy link
Contributor

@wetneb wetneb commented Jun 24, 2023

Closes #1809. Closes #1129. Closes #616. Closes #617.

This prevents the install from getting in a state where none of the Docker images will accept running given the contents of the volumes (see issue).

So far, the warning mentioned in
https://github.com/nextcloud/docker#update-to-a-newer-version
was not actually enforced in the docker image.

Closes nextcloud#1809. This prevents the install from getting in a state where none
of the Docker images will accept running given the contents of the volumes.

Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>
@wetneb
Copy link
Contributor Author

wetneb commented Jun 24, 2023

@J0WI what do you think of this? It seems to have been reported many times and there has already been a PR (#1304) proposing basically the same fix (which I discovered after writing this one).
So I have the impression that this is a pain point for a lot of people - it would be great to see some movement on this!

@JuKu
Copy link

JuKu commented Jul 4, 2023

Push!
Very important ticket, in my opinion.

docker-entrypoint.sh Outdated Show resolved Hide resolved
docker-entrypoint.sh Outdated Show resolved Hide resolved
wetneb and others added 2 commits July 7, 2023 22:08
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>
docker-entrypoint.sh Outdated Show resolved Hide resolved
wetneb and others added 2 commits July 9, 2023 12:08
Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>
@wetneb wetneb force-pushed the 1809-block-upgrade-if-unsupported branch from 9f399e8 to 6684153 Compare July 9, 2023 10:08
@J0WI J0WI merged commit a68c6ef into nextcloud:master Jul 9, 2023
@wetneb wetneb deleted the 1809-block-upgrade-if-unsupported branch July 9, 2023 20:22
@JuKu
Copy link

JuKu commented Jul 16, 2023

Thanks for your work! :)

@wetneb wetneb mentioned this pull request Nov 25, 2023
4 tasks
ananace pushed a commit to ananace/docker-nextcloud that referenced this pull request May 10, 2024
…ifferent (nextcloud#2018)

* Block upgrade if it is not supported

Closes nextcloud#1809. This prevents the install from getting in a state where none
of the Docker images will accept running given the contents of the volumes.

Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>

* Update docker-entrypoint.sh

Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>

* Update docker-entrypoint.sh

Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>

* Remove extra function

Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>

* Update docker-entrypoint.sh

Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>

---------

Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants