Chart not working without persistence
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
- 25/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ệ
- helm, kubernetes, postgresql, redis
- Lĩnh vực
- cloud, databases, devops, infrastructure
Hướng nghiên cứu
Bắt đầu với các cài đặt persistence và objectStore trong values.yaml, sau đó lần theo bước /docker-entrypoint-hooks.d/pre-installation/helm.sh được hiển thị trong log và cách bước này xử lý version.php. Tái hiện hành vi khi persistence bị tắt và xác định cách một lần chạy pod tiếp theo phải tìm bản cài đặt hiện có trước khi đánh giá các tùy chọn lưu trữ.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Go Template
- Star
- 539
- Fork
- 316
- Merge trung bình
- 4 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 4
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- 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/helm
-
No native support for REDIS_USER enviroment varCó thể đã có người làm @jholmes802 đã nhận 20 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Make probe paths configurable (liveness on /status.php restarts healthy pods during dependency outages)Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Failed to inspect imageĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 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 PodSecurityPolicyCó thể đã có người làm @martin-mat đã nhận 11 ngày trước. Đang mở
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 55/100
-
nextcloud.openmetrics.allowedClients is silently ignored unless nextcloud.configs is setCó thể đã có người làm @JanWelker đã nhận 36 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 78/100
Tất cả issue của nextcloud/helm
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/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 78/100
aws-samples/sample-per-model-bedrock#574 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
mishraprafful/multihull#190 ·
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 78/100
ansible-collections/azure#2397 ·
Maintainer thường phản hồi trong vòng 4 ngày