Cannot install extentions via cli when apache2 is installed
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- apache
- Domain
- cli
Research direction
Start by reproducing the /tmp/code-server/bin/code-server --force --install-extension dracula-theme.theme-dracula command with Apache2 running, then compare the Apache access log with the behavior when Apache2 is stopped. Trace the request that produces GET /error and confirm that extension installation succeeds while Apache2 remains active.
Written by the indexing model from the issue text.
Description
Is there an existing issue for this?
- I have searched the existing issues
OS/Web Information
- Web Browser: does not matter -> cli problem
- Local OS: does not matter -> cli problem
- Remote OS: docker image codercom/enterprise-base:ubuntu
- Remote Architecture: x86
code-server --version: 4.103.1 fbaadbcfbc16401327e28bd5df3040261977a540 with Code 1.103.1
Steps to Reproduce
- create template from docker template (without changes)
- create workspace with created template
- start workspace
- start terminal of workspace
- install and start apache2
sudo apt update && sudo apt install apache2 && sudo apache2ctl start - try to install a code-server extensions via cli:
/tmp/code-server/bin/code-server --force --install-extension dracula-theme.theme-dracula
Expected
the extension installation should work. It works with stopped apache2
Actual
the extension can not be installed. The extention is not found:
Extension 'dracula-theme.theme-dracula' not found.
Make sure you use the full extension ID, including the publisher, e.g.: ms-dotnettools.csharp
Failed Installing Extensions: dracula-theme.theme-dracula
Logs
apache access log shows:
127.0.0.1 - - [19/Aug/2025:19:22:51 +0000] "GET /error HTTP/1.1" 404 488 "-" "VSCode 1.103.1 (code-server)"
Screenshot/Video
No response
Does this bug reproduce in native VS Code?
I did not test native VS Code
Does this bug reproduce in GitHub Codespaces?
I did not test GitHub Codespaces
Are you accessing code-server over a secure context?
- I am using a secure context.
Notes
No response
- Dominant language
- TypeScript
- Stars
- 79.4k
- Forks
- 6.9k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 39
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from coder/code-server
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
coder/code-server#8017 · 2 comments ·
-
security
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
coder/code-server#8013 · 4 comments ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
coder/code-server#7976 · 2 comments ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
coder/code-server#7962 · 3 comments ·
-
bug needs-investigation
Difficulty 4/5 3-5 days Newbie friendliness 55/100
coder/code-server#7955 · 1 comment ·
All issues in coder/code-server
Similar issues
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Mend: dependency security vulnerability untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 70/100