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

Selfhosted

61003 readers
419 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years 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?

top 10 comments
sorted by: hot top controversial new old
[–] DmMacniel@feddit.org 3 points 2 years ago (1 children)

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

[–] Daniel_Deghaye@sh.itjust.works 2 points 2 years ago (1 children)

docker thought truenas apps

[–] DmMacniel@feddit.org 3 points 2 years ago* (last edited 2 years 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 2 years 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 2 years ago (2 children)
[–] RandomLegend@lemmy.dbzer0.com 2 points 2 years 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 2 years ago (1 children)

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

[–] Daniel_Deghaye@sh.itjust.works 1 points 2 years ago (1 children)
[–] ClydapusGotwald@lemmy.world 1 points 2 years ago (1 children)

yes i did i have used the heck out of it