Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Support setting important system configuration values during Docker initialization

オープン
#2,427 コメント 0 件 リアクション 9 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
docker, shell

調査の方向性

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:

  1. 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
  2. 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 はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nextcloud/docker のほかの issue

nextcloud/docker の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

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

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