Nextcloud 21 on Kubernetes

Hi community,

Nextcloud version (eg, 20.0.5): 21.0.4-apache
Operating system and version (eg, Ubuntu 20.04): Debian 11 + K8S 1.21

The issue you are facing:

Since Nextcloud v18, I cannot enable persistence on Nextcloud, without having a crash of the pod. I’ve investigated on the web since 2 week, and tried many things to make it work, without success. When going deeper, it seem that the conclusion is to stay on nextcloud v17 if using on K8S.

Is this the first time you’ve seen this error? (Y/N): N

Steps to replicate it:

  1. Setup 2 Debian 11
  2. Setup K8S, setup helm, a load-balancer(metalLB), an ingress (nginx), a cert-manager and kubernetes dashboard
  3. Create a PersistantVolume (pv) and a PersistantVolumeClaim (pvc) :
  4. Download and modify the nextcloud helm chart to my need:
  5. Apply the chart ! And see how pods are crashing :confused:

Thanks for your help on this subject :slight_smile: