Cannot install extentions via cli when apache2 is installed

Aperta
#7,461 20 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
apache
Ambito
cli

Direzione di ricerca

Inizia riproducendo il comando /tmp/code-server/bin/code-server --force --install-extension dracula-theme.theme-dracula con Apache2 in esecuzione, quindi confronta il log degli accessi di Apache con il comportamento quando Apache2 è arrestato. Traccia la richiesta che produce GET /error e conferma che l’installazione dell’estensione abbia esito positivo mentre Apache2 rimane attivo.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug triage
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
  1. create template from docker template (without changes)
  2. create workspace with created template
  3. start workspace
  4. start terminal of workspace
  5. install and start apache2 sudo apt update && sudo apt install apache2 && sudo apache2ctl start
  6. 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

Lingua principale
TypeScript
Stelle
79.4k
Fork
6.9k
Merge medio
2g 13h
PR unite (30g)
39

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di coder/code-server

Tutte le issue di coder/code-server

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.