Failure running `code-server --link` after upgrade to 3.10
See original GitHub issueOS/Web Information
- Web Browser: Chrome 90.0.4430.212
- Local OS: WIN10
- Remote OS: WSL Ubuntu 20.04 LTS
- Remote Architecture: A Ubuntu WIN10 sub system on same computer
code-server --version
: 3.10.0 6610bff3216c48fdd0884191338b1092765dbb5a
Steps to Reproduce
code-server --link
just does not work for me, it was working in previous version, I updated to 3.10 this afternoon and it stopped working.
My command to update it:
curl -fsSL https://code-server.dev/install.sh | sh -s
Expected
A correctly running server
Actual
It failed starting the server.
Logs
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (4 by maintainers)
Top Results From Across the Web
Failure running code-server --link after upgrade to 3.10 #3342
code -server --link just does not work for me, it was working in previous version, I updated to 3.10 this afternoon and it...
Read more >Running code server on gcp cloud shell gives error when ...
To run the vscode.sh file using terminal: ./vscode.sh. If a warning “permission denied” comes, type chmod +x vscode.sh and then again proceed ...
Read more >Install - code-server v4.8.0 docs - Coder
To install, run: curl -fsSL https://code-server.dev/install.sh | sh. Copy. You can modify the installation process by including one or more of the following...
Read more >Error upgrading from 3.8 to 3.10.3 latest release - Moodle.org
I'm attempting to prove the viability of upgrading a copy of our current Moodle site which is running on 3.8 to the latest...
Read more >Cisco Prime Infrastructure 3.10.2 Release Notes
Use the following procedure to upgrade from primary Prime Infrastructure 3.10 or 3.10 Update 01 or 3.10.1 to Prime Infrastructure 3.10.2.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This was because the version field was not set on v0.2.2 of cloud-agent. I’ve released v0.2.3 to address this - this will be in a 3.10.1 patch release that will be out in the coming days, but until then, a quick fix would be to replace
/usr/lib/code-server/lib/coder-cloud-agent
with the latest release fromhttps://github.com/cdr/cloud-agent/releases/latest/download/cloud-agent-$OS-$ARCH
. ($OS
isdarwin
for macOS /linux
for linux, and$ARCH
is amd64/arm64)For example:
sudo curl -fsSL "https://github.com/cdr/cloud-agent/releases/latest/download/cloud-agent-linux-amd64" -o /usr/lib/code-server/lib/coder-cloud-agent
I’m investigating right now, I’ll be working on it and will try to patch it over the next hours.