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

cloudctl update do is broken #298

Closed
fireba11 opened this issue Apr 24, 2024 · 6 comments
Closed

cloudctl update do is broken #298

fireba11 opened this issue Apr 24, 2024 · 6 comments

Comments

@fireba11
Copy link

cloudctl update do
Error: Get "http://localhost:8080/cloud/v1/version": dial tcp 127.0.0.1:8080: connect: connection refused

That's not usefull :-P

Manually installing the latest version works of course, though that shows

cloudctl update check
checksum:56e809d92c962eaeb8f2267fd2ab956b
latest version:v0.12.17 from:2024-03-06T13:55:49Z
local version:v0.12.18 from:2024-04-23T08:52:15Z
cloudctl is up to date

which is a little irritiating :-P

@majst01
Copy link
Collaborator

majst01 commented Apr 24, 2024

You updated to a newer version than strictly required, which should be no problem.

The error you get is irritating ? do you go through a proxy ?

@fireba11
Copy link
Author

Not sure if my Ticket was quite clear.
Point 1:
cloudctl update do
doesn't work, i get an error with it trying to connect to local host which makes no sense. curl etc. can download things without issue and it worked with older versions fine.

Point 2:
update check reports the latest version higher that mine. it doesn't say required version is lower :-D

@majst01
Copy link
Collaborator

majst01 commented Apr 25, 2024

Please run:

DEBUG=1 cloudctl update do

and remove potential authorization headers from your output. Still confused why your cloudctl will connect to localhost.

what does your ~/.cloudctl/config.yaml look like ?

@fireba11
Copy link
Author

Ah. My user doesn't have permissions to write in /usr/local/bin/ so i was running it with sudo. Apparently it doesn't use my ~/.cloudctl/config.yaml then any more and failes with that strange error.
Worked at some point ;-)

@majst01
Copy link
Collaborator

majst01 commented Apr 25, 2024

OK, so please close this issue if you feel confident

@fireba11
Copy link
Author

thx

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

3 participants