Cannot create or write into the data directory
raychani opened this issue · 1 comments
raychani commented
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.
tianon commented
From https://hub.docker.com/_/nextcloud:
Maintained by:
NextcloudWhere to get help:
the Docker Community Slack, Server Fault, Unix & Linux, or Stack Overflow...
- Where to file issues:
https://github.com/nextcloud/docker/issues