You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using docker swarm to deploy a nextcloud stack. Traefik is providing SSL termination.
Everything is working except that when I try to install nextcloud, I receive an error: Can't create or write into the data directory /nextcloud_data
The text was updated successfully, but these errors were encountered:
Drehmini
changed the title
Cannot write to data directory
Cannot write to data directory with check_data_directory_permissions set to false
Feb 16, 2020
Doesn't seem possible to install as www-data and have named volumes under /var/www/html. The VOLUME /var/www/html statement in the original Dockerfile prevents any subsequent modifications under that path and, no matter what I try, named volumes under /var/www/html are always mounted with root owner/group. Its probably best to install as root then run as www-data.
I'm using a supplementary compose file docker-compose.install.yml:
Hi @Drehmini. Hopefully @p-baum's workaround was helpful. Since this issue is from >3 years ago and predates #1812 (among other changes), I'm going to close it out.
I'm using docker swarm to deploy a nextcloud stack. Traefik is providing SSL termination.
Everything is working except that when I try to install nextcloud, I receive an error:
Can't create or write into the data directory /nextcloud_data
Here's my docker file
My nextcloud environment file:
Here's the config file that I've modified to include the
check_data_directory_permissions
flagThe text was updated successfully, but these errors were encountered: