nextcloud / nextcloud/helm

Clean install failing as NC tries to write config itself.

Open
#844 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go Template
Stars
534
Forks
314
Avg merge
42m
Merged PRs (30d)
1

Description

Describe your Issue

Fresh install, nothing in PV helm chart creates config and submounts all kinds of files there.
Then When openeing URL in Browser it just says

"It looks like you are trying to reinstall your Nextcloud. However the file CAN_INSTALL is missing from your config directory. Please create the file CAN_INSTALL in your config folder to continue."

Logs and Errors

No errors in logs

Describe your Environment

  • Kubernetes distribution: k3s 1.33

  • Helm Version 3.19.1

  • Helm Chart Version: 9.0.3

  • values.yaml:


# pv and ingress stuff, shouldnt affect anything, otherwise just
image:
  imagePullPolicy: Always

internalDatabase:
  enabled: true

nextcloud:
  password: xxxxxx

  host: "nextcloud.xxxx"
  mail:
    smtp:
      host: "xxxx"
  configs:
    trusted_proxies.config.php: |-
      <?php
      $CONFIG = array (
        'trusted_proxies' => array('192.168.0.0/248', '10.0.0.0/8'),
      );
        

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce a clean install using the supplied values.yaml and inspect the Helm chart's PV and config-related templates. Confirm which mounted files are created and how Nextcloud writes its config; done when a fresh deployment reaches the browser without reporting that CAN_INSTALL is missing.

Written by the indexing model from the issue text.

Assessment

Tech stack
helm, kubernetes
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.