Skip to content

Automatic updates fail #1664

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

Closed
sangchul opened this issue May 18, 2020 · 10 comments · Fixed by #1703
Closed

Automatic updates fail #1664

sangchul opened this issue May 18, 2020 · 10 comments · Fixed by #1703

Comments

@sangchul
Copy link

While I was using code-server in my browser, "code-server has an update: v3.3.0" message was shown, but it couldn't finish the update because following exception was raised at server

error Error: https://github.com/cdr/code-server/releases/download/v3.3.0/code-server-v3.3.0-linux-x86_64.tar.gz: 404
    at ClientRequest.<anonymous> (/home1/irteamsu/packages/code-server-3.1.1-linux-x86_64/out/node/app/update.js:544:51)
    at Object.onceWrapper (events.js:417:26)
    at ClientRequest.emit (events.js:310:20)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:596:27)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:119:17)
    at TLSSocket.socketOnData (_http_client.js:469:22)
    at TLSSocket.emit (events.js:310:20)
    at addChunk (_stream_readable.js:286:12)
    at readableAddChunk (_stream_readable.js:268:9)
    at TLSSocket.Readable.push (_stream_readable.js:209:10)
@tiborsekera
Copy link

same here. The file code-server-v3.3.0-linux-x86_64.tar.gz does not exist. Will this be fixed?

@tuanpham-dev
Copy link

tuanpham-dev commented May 18, 2020

Link on releases page is
https://github.com/cdr/code-server/releases/download/v3.3.0/code-server-3.3.0-xxx
while the link updater want is (3.3.0 vs v3.3.0)
https://github.com/cdr/code-server/releases/download/v3.3.0/code-server-v3.3.0-xxx

I think they should update their files or we have to upgrade manually.

@jukbot
Copy link

jukbot commented May 18, 2020

@tiborsekera
In https://github.com/cdr/code-server/releases/tag/v3.3.0
there're some break changed the release assets has been changed to amd64.

@nhooyr
Copy link
Contributor

nhooyr commented May 18, 2020

Yes you have to manually install now, we removed automatic updating.

See the release notes: https://github.com/cdr/code-server/releases/tag/v3.3.0

@nhooyr nhooyr closed this as completed May 18, 2020
@nhooyr nhooyr pinned this issue May 19, 2020
@nhooyr nhooyr changed the title cannot update v3.3.0 Automatic updates fail May 19, 2020
@jeromemeichelbeck
Copy link

Yes you have to manually install now, we removed automatic updating.

See the release notes: https://github.com/cdr/code-server/releases/tag/v3.3.0

Will I lose my settings and extensions if I update manually from 3.2.0 to 3.3.0?

@tiborsekera
Copy link

I installed the new version from the code-server_3.3.1_amd64.deb and extensions and config files are kept, not lost, somehow.

@nhooyr
Copy link
Contributor

nhooyr commented May 19, 2020

Yes they are in the same directory and kept between versions.

@nhooyr
Copy link
Contributor

nhooyr commented May 19, 2020

@code-asher Maybe we should release 3.3.2 with extra files to keep the automatic updates working just until everyone has updated and they're gone?

@nhooyr nhooyr reopened this May 19, 2020
@code-asher
Copy link
Member

I'm not opposed to that. We'd just need the extra releases and a symlinked code-server and node I think?

@nhooyr
Copy link
Contributor

nhooyr commented May 20, 2020

Should be good now, I've updated v3.3.1 releases to contain the symlink and x86_64 arch.

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

Successfully merging a pull request may close this issue.

7 participants