marshalleq
Explorer
- Joined
- Mar 12, 2016
- Messages
- 88
Hi all, I am currently setting up a container that needs to have some pretty specific permissions (user 99 and group 100), but something isn't working right. It may not be permissions (well I should really call it ownership), but I'm hoping someone else can help advise if there's anything specific to TrueNAS I might be missing.
The scenario is that I have an external linux box with a shared SMB folder. I've mounted this onto TrueNAS Scale (there doesn't seem to be a GUI) using command line for now as per below:
I've also created a custom docker app and have set the user and group in that also.
This works and I can browse and mount the share, I can write to it and files turn up on both sides with correct user and group if created on the other side.
I've even opened a shell within the container and the files are still writable across to the share. However, when running the application (Tdarr) I get the error:
This is because Tdarr requires the master node and slave node to access the same mounted directory for the cache file to be distributed amongst it's nodes.
Of course this may just be an error in the container config as simple as a missing trailing slash or something - however the GUI is broken for editing custom docker apps and that makes it hard to check. Being new to Truenas Scale, I haven't figured out how to do that through the console yet (if anyone has any tips on where to look in the docs I would appreciate them)
My question is, are there any tricks or limitations to the way TrueNAS Scale connects to custom mounted storage? If not then I'll keep progressing to see if I can check my config, but I did check it pretty thoroughly beforehand as I knew it was a one shot deal.
PS probably I should request this app be added to TrueCharts - haven't figured out how to do that yet either - I'm such a TrueNAS baby!
PPS I guess I should also mention this is TrueNAS Scale 21.04 Alpha 1.
Many thanks,
Marshalleq.
The scenario is that I have an external linux box with a shared SMB folder. I've mounted this onto TrueNAS Scale (there doesn't seem to be a GUI) using command line for now as per below:
mount -t cifs -o username=user,file_mode=0664,dir_mode=0775,uid=99,gid=100 //192.168.43.x/processing /mnt/processing
I've also created a custom docker app and have set the user and group in that also.
This works and I can browse and mount the share, I can write to it and files turn up on both sides with correct user and group if created on the other side.
I've even opened a shell within the container and the files are still writable across to the share. However, when running the application (Tdarr) I get the error:
The following transcode cache path cannot be accessed on Tdarr_Node OBIWAN_N1:
/mnt/transcode_cache/
To resolve this, make sure the Server and Node can access the same library and transcode cache paths.
This is because Tdarr requires the master node and slave node to access the same mounted directory for the cache file to be distributed amongst it's nodes.
Of course this may just be an error in the container config as simple as a missing trailing slash or something - however the GUI is broken for editing custom docker apps and that makes it hard to check. Being new to Truenas Scale, I haven't figured out how to do that through the console yet (if anyone has any tips on where to look in the docs I would appreciate them)
My question is, are there any tricks or limitations to the way TrueNAS Scale connects to custom mounted storage? If not then I'll keep progressing to see if I can check my config, but I did check it pretty thoroughly beforehand as I knew it was a one shot deal.
PS probably I should request this app be added to TrueCharts - haven't figured out how to do that yet either - I'm such a TrueNAS baby!
PPS I guess I should also mention this is TrueNAS Scale 21.04 Alpha 1.
Many thanks,
Marshalleq.
Last edited: