coder / coder/code-server

Cannot install extentions via cli when apache2 is installed

オープン
#7,461 コメント 20 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug triage
主要言語
TypeScript
スター
79.3k
フォーク
6.8k
平均マージ
2日 6時間
マージ済み PR(30日)
41

説明

### Is there an existing issue for this?

- [x] 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

```shell
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_

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。