question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failure running `code-server --link` after upgrade to 3.10

See original GitHub issue

OS/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:closed
  • Created 2 years ago
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
oxycommented, May 12, 2021

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 from https://github.com/cdr/cloud-agent/releases/latest/download/cloud-agent-$OS-$ARCH. ($OS is darwin 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

4reactions
oxycommented, May 11, 2021

I’m investigating right now, I’ll be working on it and will try to patch it over the next hours.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found