Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Nextcloud on k8s with Redis/Sentinel external cluster

Đang mở
#829 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
38/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
helm, kubernetes, redis
Lĩnh vực
cloud, infrastructure

Hướng nghiên cứu

Bắt đầu với charts/nextcloud/README.md và cấu hình externalRedis được hiển thị trong issue, sau đó so sánh với config.php được báo cáo và thiết lập HAProxy TLS/Sentinel. Được coi là hoàn tất khi xác định được chart có hỗ trợ cấu hình Redis/Sentinel bên ngoài này hay không, đồng thời cấu hình cần thiết để đăng nhập và lưu trữ phiên hoạt động thành công đã được ghi lại hoặc sửa đổi.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

support

Hello.
Installed 32.0.3 Nexcloud with this chart (https://github.com/nextcloud/helm/blob/main/charts/nextcloud/README.md)

External Redis set:
externalRedis: enabled: true host: "haproxy.valkey.svc" port: "26379"

Corresponding block in config.php:
‘memcache.distributed’ => ‘\OC\Memcache\Redis’, ‘memcache.locking’ => ‘\OC\Memcache\Redis’, ‘redis’ =>array (‘host’ => ‘haproxy.valkey.svc’,‘password’ => ‘XXX’,‘port’ => 26379,)

We're using haproxy in order to connect redis/sentinel hosts with TLS ans password:
`default-server inter 2s rise 2 fall 3 ssl ca-file /etc/haproxy/certs/nc-prod-valkey-ca.pem
listen nc-prod-valkey
bind 0.0.0.0:26379
mode tcp
balance roundrobin

server valkey-01 valkey-01:26379
server valkey-02 valkey-02:26379
server valkey-03 valkey-03:26379`

But after installation we faced with redis issue during authentication Nextcloud login page:
{“method”:“GET”,“url”:“/login?redirect_url=/index.php/core/apps/recommended&direct=1&user=YYY”,“message”:“Could not boot webhook_listeners: ERR AUTH called without any password configured for the default user. Are you sure your configuration is correct?”,,“version”:“32.0.3.2”,,“exception”:{“Exception”:“RedisException”,“Message”:“ERR AUTH called without any password configured for the default user. Are you sure your configuration is correct?”,“Code”:0,“Trace”:[{“file”:"/var/www/html/lib/private}“message”:“session_start(): Redis connection not available at /var/www/html/lib/private/Session/Internal.php#198”Failed to read session data: redis (path: tcp://haproxy.valkey.svc:26379?auth=XXX)

Configs sentinel and redis are required to use TLS and password
TLS port 0 tls-port 6379 tls-cert-file /etc/valkey/ssl/tls.crt tls-key-file /etc/valkey/ssl/tls.key tls-ca-cert-file /etc/valkey/ssl/ca.crt requirepass XXX masterauth XXX sentinel auth-pass mymaster XXXX

Is Nextcloud able to working properly with external Redis/Sentinel cluster?

Ngôn ngữ chính
Go Template
Star
536
Fork
316
Merge trung bình
4 ngày 16 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nextcloud/helm

Tất cả issue của nextcloud/helm

Issue tương tự

Thêm issue về Cloud

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.