i’m trying to setup audiobookshelf on my truenas box and i have it installed, but i when i try to show where my audiobooks are i can not find the smb share setup on the same box. what am I doing wrong?
i’m trying to setup audiobookshelf on my truenas box and i have it installed, but i when i try to show where my audiobooks are i can not find the smb share setup on the same box. what am I doing wrong?
How did you set it up? As a docker container or directly under your OS?
docker thought truenas apps
Have you bind your audiobook directory to the containers /audiobook directory?
What format are your audiobooks?
Have you tried uploading one via the GUI?
Perhaps it’s a permission issue (e.g. add the user that runs audiobookshelf to the shares group)
This seems the correct advice. If the container is on the same host as the data, there’s no need to access the data via Samba. In fact, it’s likely the container doesn’t contain the samba client needed for such connectivity.
Assuming TrueNAS allows the containers to see local data, a bind mount is the way to go.
how do i bind it?
I sadly do not know how to do it in truenas.
I’ll figure it out
https://www.truenas.com/docs/scale/22.12/scaletutorials/apps/docker/#adding-custom-applications
Scrolling down should show you the different screenshots. Point 6. of the list should show the “Storage” Tab where you have the “Host Path Volumes”
That should enable you to link a path on your host to a path on your docker container.
For example Host: /mnt/mediashare/audiobooks Container: /media/audiobooks