Can't access mounted "data" folder

Hey guys,

I am struggeling with my installation. I have Debian 9 running on a small ITX system. I have mounted a folder from my NAS to lets say: “/mount/nextcloud”. The docker container is set to use the mounted folder as “/data” directory. After the container is up and running, nextcloud tells me that it can’t write to the “/data” folder but my user and root are able to write into that mounted folder. Where is the error?

Nextcloud is using the user under which the web server is running, e.g. wwwrun, to access the share. Have you made sure that this user is allowed to access the folder?

Yes, as I already stated the user is allowed to access the share.