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

CLI believes 7.0.0-RC-2.0 to be older than 7.0.0-beta-5.0 and refuses to upgrade #13618

Closed
ivucica opened this issue Jun 21, 2019 · 2 comments
Closed

Comments

@ivucica
Copy link

ivucica commented Jun 21, 2019

Description

CLI believes 7.0.0-RC-2.0 is older than 7.0.0-beta-5.0, cannot upgrade from 7.0.0-beta-5.0 to 7.0.0-RC-2.0.

Reproduction Steps

  1. Have an installed Eclipse Che setup, using 7.0.0-beta-5.0
  2. Try to use Docker image eclipse/che-cli:7.0.0-RC-2.0 with argument upgrade.

OS and version:

  • Debian 9.6

  • Linux hostname_here 4.9.0-8-amd64 Update DTD for GWT-module descriptors #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux

  • Docker:

    Client:
     Version:           18.09.1
     API version:       1.39
     Go version:        go1.10.6
     Git commit:        4c52b90
     Built:             Wed Jan  9 19:35:59 2019
     OS/Arch:           linux/amd64
     Experimental:      false
    
    Server: Docker Engine - Community
     Engine:
      Version:          18.09.1
      API version:      1.39 (minimum version 1.12)
      Go version:       go1.10.6
      Git commit:       4c52b90
      Built:            Wed Jan  9 19:02:44 2019
      OS/Arch:          linux/amd64
      Experimental:     false
    
  • Docker is running with ZFS storage backend

Diagnostics:

Unable to find image 'eclipse/che-cli:7.0.0-RC-2.0' locally
7.0.0-RC-2.0: Pulling from eclipse/che-cli
d6a5679aa3cf: Already exists
cc87d3e420c3: Already exists
7440954785ed: Already exists
e9ab32154f2f: Already exists
d02f6242c71c: Already exists
82214e69d98d: Already exists
f0035d53b9fb: Pull complete
55115ea99c57: Pull complete
Digest: sha256:129262688cde72417b2c157165b673a302bc8a3949203379f04a66bc21111493
Status: Downloaded newer image for eclipse/che-cli:7.0.0-RC-2.0
WARNING: No swap limit support
INFO: (che cli): Pulling image eclipse/che-ip:7.0.0-RC-2.0
INFO: (che cli): 7.0.0-RC-2.0 - using docker 18.09.1 / native
WARN: (che cli): 'CHE_HOST=hostname_here.ds.domain_here.net' from command line overriding 'CHE_HOST=10.0.64.108' from che.env
ERROR:
ERROR: Your CLI version 'eclipse/che-cli:7.0.0-RC-2.0' is older than your installed version '7.0.0-beta-5.0'.
ERROR:
ERROR: You cannot use 'eclipse/che-cli upgrade' to downgrade versions.
ERROR:
ERROR: Run 'eclipse/che-cli:<version> upgrade' with a newer version to upgrade.
ERROR: View available versions with 'eclipse/che-cli:7.0.0-RC-2.0 version'.
@ivucica
Copy link
Author

ivucica commented Jun 23, 2019

This might be because docker-based deployments seem to be no longer supported as of Che 7. See #13002 (comment)

@nickboldt
Copy link
Contributor

This was fixed when we switched to the lowercase rc as of 7.0.0-rc-3.0.

https://github.com/eclipse/che/releases/tag/7.0.0-rc-3.0

So you should be able to update from beta-5 to rc-4 now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants