this post was submitted on 06 Aug 2024
16 points (94.4% liked)

Selfhosted

40347 readers
330 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] DmMacniel@feddit.org 3 points 3 months ago (7 children)

How did you set it up? As a docker container or directly under your OS?

[–] Daniel_Deghaye@sh.itjust.works 2 points 3 months ago (1 children)
[–] DmMacniel@feddit.org 3 points 3 months ago* (last edited 3 months ago) (2 children)

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)

[–] HybridSarcasm@lemmy.world 2 points 3 months ago

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.

[–] Daniel_Deghaye@sh.itjust.works 1 points 3 months ago (2 children)
[–] RandomLegend@lemmy.dbzer0.com 2 points 3 months ago

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

[–] DmMacniel@feddit.org 1 points 3 months ago (1 children)

I sadly do not know how to do it in truenas.

[–] Daniel_Deghaye@sh.itjust.works 1 points 3 months ago

I'll figure it out

load more comments (5 replies)