Support setting important system configuration values during Docker initialization
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 30/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- docker, shell
- 領域
- devops, infrastructure
調査の方向性
Docker ベースの初回初期化フローと、issue に示されている OCC コマンドから始めます。maintenance_window_start と default_phone_region を設定するために提案されている 2 つのアプローチを比較し、どの設定経路がサポートされているかを判断します。新規の Docker インストールで、インストール後に手動で OCC を呼び出すことなくこれらの値を設定できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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!
- 主要言語
- Shell
- スター
- 7.4k
- フォーク
- 1.9k
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nextcloud/docker のほかの issue
-
1. To develop bug feature: cron image
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
bug docs
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
-
0. Needs triage bug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
Imagick architecture mismatch (x86_64 vs aarch64) on official arm64 image causes Apache segfaultsオープン0. Needs triage bug
難易度 4/5 3〜5日 初心者へのやさしさ 50/100
nextcloud/docker の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
area:cli bug good first issue priority:medium
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
MicrosoftDocs/PowerShell-Docs#13332 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
package-update
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
Add a script to fund and create fresh testnet player identities対応中かも @chiemezie1 が今日担当しました。 オープンgood first issue Stellar Wave
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
OlaGreat/starbound-realms#119 · コメント 1 件 ·