code-server: 404 when code-server is downloading a newer release
When prompted to install a new version through the UI I’m receiving a 404 error downloading the newest release. It appears to be caused by the versions 3.30 and later being tagged with a v3.3.0 but the associated release file name doesn’t include the v.
Here’s the URL being used to download the newest release vs the newest release’s actual URL:
Attempted (404 error): https://github.com/cdr/code-server/releases/download/v3.4.0/code-server-v3.4.0-linux-x86_64.tar.gz Actual: https://github.com/cdr/code-server/releases/download/v3.4.0/code-server-3.4.0-linux-x86_64.tar.gz
This could be “fixed” in the code here, but it might just be a consistency issue that can be addressed moving forward by adjusting the tag names and files to match.
- Web Browser: Chrome
- Local OS: macOS 10.15.4
- Remote OS: CentOS 7.8.2003
- Remote Architecture: x86_64
code-server --version: 3.2.0
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 26 (14 by maintainers)
Commits related to this issue
- Fix install script to trim leading v from version Updates #1746 — committed to coder/code-server by nhooyr 4 years ago
- Support recursive symlinks in release script See https://github.com/cdr/code-server/issues/1746#issuecomment-637830396 — committed to coder/code-server by nhooyr 4 years ago
- Support recursive symlinks in release script See https://github.com/cdr/code-server/issues/1746#issuecomment-637830396 — committed to coder/code-server by nhooyr 4 years ago
I’ll be sure to fix recursive symlinks in the entry script in the next release.
In any case, it didn’t find an arm64 release.

It has a v because it’s filling the latest release tag into the template. With the v removed it should just work.