docker-library/docs

Cannot create or write into the data directory

raychani opened this issue · 1 comments

I created container with following config.
- NEXTCLOUD_DATA_DIR=/data

And the log is like this

Cannot create or write into the data directory /data
Retrying install...

Yes it is permission problem. It can be fixed when you change the ownership like
docker exec -it <container_id> chown www-data:www-data /data -R

I don't know it can be fixed within nextcloud.