Open NothingWorksToday opened 3 months ago
hooks:
pre-installation:
create_datadir: |-
sudo mkdir /opt/nextcloud/data && sudo chown -R www-data:www-data /opt/nextcloud/data
The Docker image hooks do not run as root. You can't do this. They're mostly for doing things like running occ
commands to set config parameters/etc or install/enable/disable Nextcloud apps.
Your entire problem goes away if you just use the default data directory. But I presume you're intentionally trying to use something other than the default for a specific reason?
Describe your Issue
Given the below environment, all pods are started correctly but the installer doesn't go through and throws those warnings (navigating to https://cloud.example.com):
Logs and Errors
Pods are fine
Describe your Environment
Kubernetes distribution: k3s
Helm Version: v3.14.4
Helm Chart Version: 5.5.2
MariaDB Version: 18.2.0 (using Bitnami sub)
values.yaml
:Additional context, if any
Persistence uses manually created PVCs via Lognhorn.