Portainer read-only when deploy stack

hey guys,

i’m new to truenas and got already quite far however i’m now busy with portainer.
I managed to install portainer and all seems fine, however now i want to deploy jellyfin.

I know you can deploy it directly in truenas but i prefer portainer. i already got the whole stack running on my ubuntu however i want to move it to truenas.

I started with trying to deploy only jellyfin and i run in some issues.

So i have my compose file and when i try to deploy i get error that mkdir /mnt is a read-only file system, on ‘/mtn/Appdata/Docker/Jellyfin’.

The folder are just dataset and not SMB shares at this point in time. But that should not matter, portainer managed to install, also i think the path are ok.

Also i give root system full access, as that was described for portainer.
What am i missing? And why i cant deploy the stack in portainer.

services:
jellyfin:
image: link-not-allowed-in-this-post
container_name: jellyfin
environment:

  • PUID=568
  • PGID=568
  • TZ=Europe/Amsterdam
    volumes:
  • /mnt/AppData/Docker/Config/Jellyfin:/config
  • /mtn/Appdata/Docker/Jellyfin:/data/tvshows
  • /mtn/Appdata/Docker/Jellyfin:/data/movies
    ports:
  • 8096:8096
  • 8920:8920 #optional
  • 7359:7359/udp #optional
  • 1900:1900/udp #optional
    restart: unless-stopped

Ok resolved, i think with the default hiding of the APP user/group i did not realize this should be added to the permissions of the dataset. I thought root took care of apps and things.

Just adding the apps grou resolved my issue.