Support setting important system configuration values during Docker initialization
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 30/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- docker, shell
- Lĩnh vực
- devops, infrastructure
Hướng nghiên cứu
Bắt đầu với quy trình khởi tạo lần đầu dựa trên Docker và các lệnh OCC được nêu trong issue. So sánh hai cách tiếp cận được đề xuất để thiết lập maintenance_window_start và default_phone_region, sau đó xác định đường dẫn cấu hình nào được hỗ trợ. Hoàn thành khi một cài đặt Docker mới có thể cấu hình các giá trị này mà không cần gọi OCC thủ công sau khi cài đặt.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
When deploying Nextcloud using the official Docker image, certain important system configuration values are not set by default, resulting in warnings or suboptimal behavior even after a clean installation. Two common examples are:
- maintenance_window_start
Fresh installations display this warning in the system overview: "Server has no maintenance window start time configured."
There is currently no way to set this value during the Docker-based setup. Instead, it must be configured manually via OCC:./occ config:system:set maintenance_window_start --type=integer --value=1 - default_phone_region
Fresh installations display in the system overview: "Your installation has no default phone region set"
There is currently no way to set this value during the Docker-based setup. Instead, it must be configured manually via OCC:./occ config:system:set default_phone_region --value="DE"
Expected Behavior
A fresh Nextcloud Docker installation should result in a fully configured, clean state, without requiring manual OCC calls for essential system settings.
Proposed Solution A
Introduce environment variables that allow setting all values at container startup which can result in warnings or messages on the "Security & setup warnings" page.
environment:
- NEXTCLOUD_DEFAULT_PHONE_REGION=DE
- NEXTCLOUD_MAINTENANCE_WINDOW_START=1
Proposed Solution B
Offer a documented and supported way to inject occ commands during first-time initialization.
Impact
- Reduces post-installation steps
- Improves automation and reproducibility
- Avoids confusing warnings for new users
- Aligns with Docker/container best practices
Thanks for your time and for maintaining the Docker image!
- Ngôn ngữ chính
- Shell
- Star
- 7.4k
- Fork
- 1.9k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc 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 nextcloud/docker
-
1. To develop bug feature: cron image
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Drop paragarph about anonymous (unnamed) volumes under Persistent Storage section fo the docsĐang mởbug docs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
-
0. Needs triage bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
Imagick architecture mismatch (x86_64 vs aarch64) on official arm64 image causes Apache segfaultsĐang mở0. Needs triage bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 50/100
Tất cả issue của nextcloud/docker
Issue tương tự
-
PacReq: mangowcĐang mởpackage request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
pacstall/pacstall-programs#9475 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 71/100
t4t5/omdrop-owl#14 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
docs(evals): note CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS for headless eval runs that use workflowsĐang mởgood first issue needs-triage priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
melodic-software/claude-code-plugins#7022 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày