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

Copying php in a volume make the init and upgrades very slow

未关闭
#2,392 2 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
docker, shell

调研方向

首先检查镜像的 entrypoint script,以及它如何将 /usr/src/nextcloud 复制到 /var/www/html。将其与 issue 中定制的镜像进行比较,后者仅使用 symlinks 共享可写文件夹,并在使用 NFS 存储的高可用设置中确认其行为。当达成一种可避免在初始化或升级期间复制超过 25k 个文件的方案时,即视为完成。

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

描述

data persistence k8s/helm/etc

The source code is located at /usr/src/nextcloud in the image and the entrypoint script copy it to /var/www/html.

In a high availability environment, it's necessary to share the /var/www/html between containers so you have to store it on NFS like storages who are not very fast. During initialization or upgrade, the entrypoint copy more that 25k files and it's very very slow.

As I said at https://github.com/nextcloud/helm/issues/10#issuecomment-2372067055, I use a customized image who share only folders who need to be writable by several containers using symlink.

This is potentially a big PR so I would like to know if you are interested before starting.

主要语言
Shell
星标
7.4k
派生
1.9k
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

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

nextcloud/docker 的其他 Issue

查看 nextcloud/docker 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

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