Chart not working without persistence
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- helm, kubernetes, postgresql, redis
- 領域
- cloud, databases, devops, infrastructure
調査の方向性
まず values.yaml の persistence と objectStore の設定を確認し、次にログに示されている /docker-entrypoint-hooks.d/pre-installation/helm.sh のステップと version.php の処理を追跡します。persistence を無効にした状態で動作を再現し、その後の pod の実行がストレージオプションを評価する前に既存のインストールをどのように見つけるべきかを定義します。
索引モデルが issue の本文から書いたものです。
説明
Describe your Issue
If persistence is not enabled then the pod only works the first time, but on subsequent runs it won't find version.php and will attempt to install again.
Wouldn't it be possible to store the information found in version.php elsewhere, such as database or object storage?
Logs and Errors
See example log:
$ kubectl logs -f xxx-nc-nextcloud-bfb76c9c8-ds8gr
Defaulted container "nextcloud" out of: nextcloud, nextcloud-cron
Configuring Redis as session handler
Initializing nextcloud 30.0.6.2 ...
New nextcloud instance
Installing with PostgreSQL database
=> Searching for scripts (*.sh) to run, located in the folder: /docker-entrypoint-hooks.d/pre-installation
==> Running the script (cwd: /var/www/html): "/docker-entrypoint-hooks.d/pre-installation/helm.sh"
==> Finished the script: "/docker-entrypoint-hooks.d/pre-installation/helm.sh"
Starting nextcloud installation
The Login is already being used
Retrying install...
The Login is already being used
Retrying install...
The Login is already being used
Retrying install...
The Login is already being used
Retrying install...
Describe your Environment
-
Kubernetes distribution: k3s
-
Helm Version (or App that manages helm): v3.17.2
-
Helm Chart Version: 6.6.9
-
values.yaml:
replicaCount: 1
image:
flavor: fpm
tag: 31.0.2-fpm
nginx:
enabled: true
nextcloud:
host: xxx
podSecurityContext:
fsGroup: 33
trustedDomains:
- xxx
- yy
phpConfigs:
zz-memory_limit.ini: |-
upload_max_filesize=5G
memory_limit=512M
configs:
proxy.config.php: |-
<?php
$CONFIG = array (
'trusted_proxies' => array(
0 => '127.0.0.1',
1 => '10.0.0.0/8',
2 => '1.2.3.4/24',
3 => '5.6.7.8/24',
),
'forwarded_for_headers' => array('HTTP_X_FORWARDED_FOR'),
);
cronjob:
enabled: true
redis:
enabled: true
auth:
enabled: false
service:
type: NodePort
nodePort: 30850
internalDatabase:
enabled: false
externalDatabase:
enabled: true
type: postgresql
host: xxxxx
database: nextcloud
user: nextcloud
password: xxxxx
objectStore:
s3:
enabled: false
accessKey: xxxxx
secretKey: xxxxxx
host: xxxx.minio-nc.svc.cluster.local
bucket: nextcloud-bucket
ssl: false
port: 9000
startupProbe:
enabled: false
initialDelaySeconds: 240
persistence:
enabled: false
- 主要言語
- Go Template
- スター
- 539
- フォーク
- 316
- 平均マージ
- 4日 17時間
- マージ済み PR(30日)
- 4
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nextcloud/helm のほかの issue
-
No native support for REDIS_USER enviroment var対応中かも @jholmes802 が 16 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
Nextcloud pods run as the namespace's default service account: the chart's account is only created with rbac.enabled, which binds the removed PodSecurityPolicy対応中かも @martin-mat が 7 日前に担当しました。 オープン
難易度 3/5 半日 初心者へのやさしさ 55/100
-
nextcloud.openmetrics.allowedClients is silently ignored unless nextcloud.configs is set対応中かも @JanWelker が 32 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 78/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
GoogleCloudPlatform/cloud-foundation-fabric#4315 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
aws-cloudformation/cfn-lint#4888 ·
メンテナーはふだん 2 日以内に返信
-
kind/enhancement Provider Upgrade pulumi/pulumi-azure R1 Task
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
pulumi/pulumi-azure#3669 ·
-
bug needs-triage service/configservice
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
hashicorp/terraform-provider-aws#50624 · コメント 1 件 · リアクション 3 件 ·
メンテナーはふだん 1 日以内に返信
-
BUG: AzureBlobStorageTarget returns a URL with // when the container URL ends with a slash対応中かも @ShivamSharma43 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 2 日以内に返信