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

File CAN_INSTALL is missing from your config directory.

Đang mở
#628 6 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ó
3/5
Thời gian dự kiến
1-2 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, postgresql

Hướng nghiên cứu

Bắt đầu với values.yaml được cung cấp và các thiết lập persistence, config và externalDatabase của Helm chart cho phiên bản chart 5.5.6. Kiểm tra hành vi của pod Nextcloud và xác nhận cơ sở dữ liệu PostgreSQL bên ngoài được khởi tạo vào thời điểm nào so với deployment. Hoàn tất nghĩa là một cài đặt sạch hoàn thành mà không có lỗi CAN_INSTALL.

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

Mô tả

needs info

Describe your Issue

I have setup a clean k3s cluster and I am trying to install NextCloud but for some reason it doesn't work.
I am using the latest HELM chart version.

Logs and Errors

Nextcloud
Error
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.

Nextcloud – a safe home for all your data

Describe your Environment

  • Kubernetes distribution: k3s - 1.30.4

  • Helm Version (or App that manages helm): v3.12.3 using FluxCD 2.3.0

  • Helm Chart Version: 5.5.6

  • values.yaml:

  values:
    replicaCount: 1
    phpClientHttpsFix:
      enabled: true
      protocol: https
    nextcloud:
      host: cloud.example.com
      existingSecret: 
        enabled: true
        secretName: nextcloud-cred
      configs:
        custom.config.php: |-
          <?php
          $CONFIG = array (
            'maintenance_window_start' => 1,
            'default_phone_region' => 'BG',
            'default_timezone' => 'Europe/Sofia',
            'overwriteprotocol' => 'https',
            'overwritehost' => 'cloud.example.com',
            'trusted_proxies'   => ['10.0.0.0/8'],
          );
      phpConfigs:
        opcache-recommended.ini: |
          opcache.enable=1
          opcache.interned_strings_buffer=32
          opcache.max_accelerated_files=30000
          opcache.memory_consumption=512
          opcache.save_comments=1
          opcache.revalidate_freq=60
          opcache.jit=1255
          opcache.jit_buffer_size=128M
    persistence:
      enabled: true
      existingClaim: nextcloud
      nextcloudData:
        enabled: true
        existingClaim: nextcloud-data
    cronjob:
      enabled: true
    internalDatabase:
      enabled: false
    externalDatabase:
      enabled: true
      type: postgresql
      existingSecret:
        enabled: true
        secretName: nextcloud-postgres-nextcloud-admin
        usernameKey: LOGIN
        passwordKey: PASSWORD
        hostKey: HOST
        databaseKey: DATABASE_NAME

Additional context, if any

I am using local-path to provision the volumes
I am using a secret to pass the initial username and password.
I am using an already provisioned PostgreSQL instance using the bitnami chart - 15.5.31
I am using external postgres operator to create the database the user credentials and the secret I pass as an existing secret.
All secrets values are passed correctly to the pod. The database is being seeded after nextcloud is deployed. There are no error logs in the pod. When I git the domain I get the above error.

Any advice would be appreciated.

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ề Databases

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.