Cannot install extentions via cli when apache2 is installed
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- apache
- Lĩnh vực
- cli
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện lệnh /tmp/code-server/bin/code-server --force --install-extension dracula-theme.theme-dracula khi Apache2 đang chạy, sau đó so sánh access log của Apache với hành vi khi Apache2 đã dừng. Theo dõi request tạo ra GET /error và xác nhận rằng việc cài đặt extension thành công trong khi Apache2 vẫn đang hoạt động.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- TypeScript
- Star
- 79.4k
- Fork
- 6.9k
- Merge trung bình
- 2 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 39
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của coder/code-server
-
Bump proxy-addr to 2.0.8 Đang mởsecurity
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
coder/code-server#8013 · 3 bình luận ·
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
coder/code-server#7976 · 2 bình luận ·
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
coder/code-server#7962 · 3 bình luận ·
-
bug needs-investigation
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
coder/code-server#7955 · 1 bình luận ·
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 42/100
coder/code-server#7948 · 1 bình luận · 2 reaction ·