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?

macniel
link
fedilink
English
33M

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

@Daniel_Deghaye@sh.itjust.works
creator
link
fedilink
English
23M

docker thought truenas apps

macniel
link
fedilink
English
3
edit-2
3M

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
mod
link
fedilink
English
23M

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
creator
link
fedilink
English
13M

how do i bind it?

macniel
link
fedilink
English
13M

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

@Daniel_Deghaye@sh.itjust.works
creator
link
fedilink
English
13M

I’ll figure it out

RandomLegend [He/Him]
link
fedilink
English
23M

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

Create a post

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!

  • 1 user online
  • 127 users / day
  • 422 users / week
  • 1.16K users / month
  • 3.85K users / 6 months
  • 1 subscriber
  • 3.68K Posts
  • 74.2K Comments
  • Modlog