Hi,
Not sure if this is the correct forum for this post but it related to SMB shares that I am trying to mount as volumes for docker containers on another machine on the network. Sorry if this is the incorrect place.
I am new to unraid/portainer and relatively new to docker-compse.
I am trying to use portainer to manage my docker containers. Portainer is running on my unraid box and a portainer-agent is running on a NUC that I want to use for plex (hardware transcoding) and nextcloud. I am setting up stacks on the portainer-agent via the portainer interface accessed on my unraid box.
I have mariadb and nginxproxymanager running successfully on my portainer-agent with remote volumes mapped.
I am using the LSIO images for nextcloud, mariadb and plex.
nginxproxymanager:
I did not set a UID or GID for this stack and have mapped the volumes to my appdata on my unraid box.
Nextcloud:
I have set the UID and GID to the same as a user I created on my unraid instance that has read/write permissions to both my cache (housing docker appdata) and my zfs share. In my troubleshooting I have also created the same user on the portainer-agent node with the same UID and GID.
I can get nextcloud up and running but when I try to access the webui (and the same message is repeated in the container logs) I see that the config file is RO and that allowing the webserver to access the dir is a common fix. I have tried just about every permission set I can think of with no luck.
Plex:
The container does not start and I wind up with the following error in the container log:
libc++abi: terminating with uncaught exception of type boost::filesystem::filesystem_error: boost::filesystem::create_directories: Permission denied [system:13]: "/config/Library/Application Support/Plex Media Server/Cache", "/config/Library/Application Support/Plex Media Server"
/etc/s6-overlay/s6-rc.d/init-plex-claim/run: line 63: 136 Aborted (core dumped) s6-setuidgid abc /bin/bash -c 'LD_LIBRARY_PATH=/usr/lib/plexmediaserver:/usr/lib/plexmediaserver/lib /usr/lib/plexmediaserver/Plex\ Media\ Server'
Volume definitions:
volumes:
nginxproxymanager_config:
driver_opts:
type: cifs
o: "username=$USER,password=$USERPASS,nobrl"
device: "//$IPADDR/appdata/nginxproxymanager/config"
nginxproxymanager_letsencrypt:
driver_opts:
type: cifs
o: "username=$USER,password=$USERPASS,nobrl"
device: "//$IPADDRR/appdata/nginxproxymanager/letsencrypt"