Ownership of the /app/data directory not set to cloudron:cloudron
Solved
Prometheus
-
The cloudron user and group are not set as the owner of the /app/data directory and subdirectories which results in the following error being logged and the app to keep restarting:
Dec 10 09:08:05 => Creating config file on first run Dec 10 09:08:05 cp: cannot create regular file '/app/data/config/prometheus.yml': Permission denied
Changing the ownership manually resolved the issue and allowed the app to start.
-
@christophermag Thanks, I will fix the package. I was going to add authentication to it today, add tests and make it stable.
-
@christophermag This should be fixed now.