Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Unable to set 'overwriteprotocol' => 'https', in config.php from nextcloud-values.yaml

未关闭
#731 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
38/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
helm, kubernetes

调研方向

使用提供的 values.yaml 渲染 Helm chart,并检查生成的 config.php 中的 overwriteprotocol。比较 nextcloud.config 和 phpClientHttpsFix 设置,然后验证生成的配置包含设置为 https 的 overwriteprotocol,并支持桌面客户端。

由索引模型根据 Issue 内容生成。

描述

Describe your Issue

I need 'overwriteprotocol' => 'https', in my nextcloud config.php in order to use desktop client with my k3s nextcloud. phpClientHttpsFix doesn't seem to work.

Logs and Errors

No errors. Everything works if I manually add "overwriteprotocol..." to the config.php

Describe your Environment

  • Kubernetes distribution: k3s

  • Helm Version (or App that manages helm): version.BuildInfo{Version:"v3.16.4", GitCommit:"7877b45b63f95635153b29a42c0c2f4273ec45ca", GitTreeState:"clean", GoVersion:"go1.22.7"}

  • Helm Chart Version: 6.6.10

  • values.yaml:

nextcloud:
  host: "<DOMAIN>"
  username: "nc_admin"
  password: "<PASSWORD>"
  redis:
    enabled: true
    host: "nextcloud-redis-master"
    password: '<PASSWORD>'
  config:
    overwriteprotocol: "https"
    trusted_domains:
      - "<DOMAIN>"
      - "localhost"

phpClientHttpsFix:
  enabled: true
  protocol: "https"

replicaCount: 1

ingress:
  enabled: true
  className: "nginx"
  annotations:
    cert-manager.io/cluster-issuer: "letsencrypt-prod"
    nginx.ingress.kubernetes.io/proxy-body-size: "10G"
  hosts:
    - host: "<DOMAIN>"
      paths: "/"
      pathType: "Prefix" 
  tls:
    - secretName: <DOMAIN>-tls
      hosts:
        - <DOMAIN>

persistence:
  enabled: true
  storageClass: longhorn
  accessMode: ReadWriteOnce
  size: 2Ti

internalDatabase:
  enabled: false    

mariadb:
  enabled: true
  auth:
    database: "nextcloud_db"
    username: "nc_user"
    password: '<PASSWORD>'
    rootPassword: '<PASSWORD>'
  architecture: "standalone"
  primary:
    persistence:
      enabled: true
      storageClass: "longhorn"
      accessMode: "ReadWriteOnce"
      size: "10Gi"

redis:
  enabled: true
  auth:
    enabled: true
    password: '<PASSWORD>'
  master:
    persistence:
      enabled: true
      storageClass: "longhorn"
      accessMode: "ReadWriteOnce"
      size: "1Gi"
  replica:
    replicaCount: 0
主要语言
Go Template
星标
541
派生
318
平均合并
5 天 14 小时
30 天内合并 PR
3

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nextcloud/helm 的其他 Issue

查看 nextcloud/helm 的全部 Issue

相似的 Issue

更多 DevOps Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。