Nextcloud on k8s with Redis/Sentinel external cluster
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 38/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 冷清
- 技术栈
- helm, kubernetes, redis
- 领域
- cloud, infrastructure
调研方向
从 charts/nextcloud/README.md 和 issue 中显示的 externalRedis 配置开始,然后将其与报告中的 config.php 以及 HAProxy TLS/Sentinel 设置进行比较。完成的标准是确定 chart 是否支持这种外部 Redis/Sentinel 配置,并记录或修正成功登录和会话存储所需的配置。
由索引模型根据 Issue 内容生成。
描述
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?
- 主要语言
- Go Template
- 星标
- 539
- 派生
- 316
- 平均合并
- 4 天 17 小时
- 30 天内合并 PR
- 4
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nextcloud/helm 的其他 Issue
-
No native support for REDIS_USER enviroment var可能已有人在做 @jholmes802 于 19 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
-
Make probe paths configurable (liveness on /status.php restarts healthy pods during dependency outages)可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 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 于 10 天前认领。 未关闭
难度 3/5 半天 新手友好度 55/100
-
nextcloud.openmetrics.allowedClients is silently ignored unless nextcloud.configs is set可能已有人在做 @JanWelker 于 35 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 78/100
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
radius-project/ai-extensions#1099 ·
维护者通常 1 天内回复
-
feature
难度 2/5 1-3 小时 新手友好度 74/100
radius-project/radius#13495 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
aws-samples/sample-autonomous-cloud-coding-agents#969 ·
维护者通常 1 天内回复
-
level/task reporter/qa type/bug
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100