Skip to content

[Bug]: Upgrade dilemma 25 to 27 #2079

@xeruf

Description

@xeruf

⚠️ This issue respects the following points: ⚠️

Bug description

I am trying to upgrade from Nextcloud 25 to 27, accidentally ending up with a skipped version in my kubernetes cluster.
I tried to run occ upgrade in version 27 and got:

Exception: Updates between multiple major versions and downgrades are unsupported.
Update failed

Then I tried to go back to Nextcloud 26, but that failed too:

Can't start Nextcloud because the version of the data (27.0.2.1) is higher than the docker image version (26.0.2.1) and downgrading is not supported. Are you sure you have pulled the newest image version?

So I cannot run at 26 because the data is supposedly at 27 but I cannot upgrade it to 27 because the data is supposedly at 25. What the heck?

Steps to reproduce

good question

Expected behavior

Either the data is at 25 or 27, not both at once?

Installation method

Stackspin Kubernetes Cluster

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsfeature: upgradingUpgrading an existing deployment to a new image/NC versionneeds infoAdditional info needed to triageneeds reviewNeeds confirmation this is still happening or relevantquestion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions