immich-app / immich-charts

Helm chart implementation of Immich
https://immich.app
GNU Affero General Public License v3.0
107 stars 45 forks source link

Error: execution error at (immich/templates/web.yaml:26:4): accessMode is required for PVC photos-web-library #45

Closed dominch closed 8 months ago

dominch commented 10 months ago

I could not install this helm chart, PVC was created earlier and now it complains about access mode, II also checked examples for this repository and still have message:

Error: execution error at (immich/templates/web.yaml:26:4): accessMode is required for PVC photos-web-library
kbmanseau commented 10 months ago

I had this issue as well. I was able to solve by specifying an accessMode under the web section in the values file.

web:
  enabled: true
  image:
    repository: ghcr.io/immich-app/immich-web
    pullPolicy: IfNotPresent
  persistence:
    library:
      enabled: true
      accessMode: ReadWriteOnce
      size: 10Gi
      storageClass: iscsi

From my understanding it is related to how the project uses the common library chart from bjw-s

bo0tzz commented 8 months ago

The web container has been removed so this issue should no longer exist.