Jump to content

Emby unable to read library files on TrueNas community edition


Go to solution Solved by dgrigo,

Recommended Posts

AshPhantom32
Posted

Hi,

I have Emby installed on TrueNas community edition and when i am setting up the libraries i put the path in and im able to access all folders in the host path except the folder which contain my movies and shows. when i just type the path in instead its unable to scan the folders and none of the media is appearing on the server.

In TrueNas Emby has been given full access to the host path, i have tried it while shared with SMB, after that didn't work i deleted the share and tried to access it then but still no luck

image.png.59f0d198d29e5b4f71fafbc5d117b683.png

here is the host path in using for my media.

any help would be appreciated as this is driving me mad

Posted

Hi, does this question and answer help?

 

AshPhantom32
Posted

off the back of this i just tried creating a new group within TrueNas for Emby with the GID of 3002 and then set the GID in the config to 3002 and then made sure in the ACL that the group has full control of the host path but im still getting the same problem, i can access all folders within the host bath except the ones where my media is.

at this point im not sure its a permissions problem

Posted

How exactly are you trying to access them in Emby Server?

AshPhantom32
Posted

im trying to access them through the libraries ive set up

image.png.8cf516f7cb5db332c9c54b09ef39c70d.png

You can see the host path in the other screenshot i took is also setup on the config in TrueNas

Posted

OK yea we can see it right there:

2026-01-20 01:55:43.875 Error App: Error in validateChildren for 24 /emby/movies
	*** Error Report ***
	Version: 4.9.4.1
	Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
	Operating system: Linux version 6.12.33-production+truenas (root@tnsbuilds02) (gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREE
	OS/Process: x64/x64
	Framework: .NET 8.0.22
	Runtime: system/System.Private.CoreLib.dll
	Processor count: 2
	Data path: /config
	Application path: /system
	System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/emby/movies' is denied.

 

AshPhantom32
Posted

Just tried this but still no different. checked the logs and its the same thing. access denied

  • 2 weeks later...
Posted

Did you figure this out?

@dgrigomay have some tips on this. Thanks.

AshPhantom32
Posted

no luck unfortunately

  • Solution
dgrigo
Posted (edited)

Hmm dunno if it works like this, on root of a dataset, I suggest to create datasets for the categories MOVIES, TV etc.

Understand?

Ignore my dataset storage its a backup , so different setup. Focus on datasets I have in root, those are my library folders

If not I will be back later

and here is some examples of mount paths

    volumes:
      - bind:
          create_host_path: False
          propagation: rprivate
        read_only: False
        source: /mnt/storage/emby
        target: /backup
        type: bind
      - bind:
          create_host_path: False
          propagation: rprivate
        read_only: False
        source: /mnt/storage/watchfolder
        target: /watchfolder
        type: bind
      - bind:
          create_host_path: False
          propagation: rprivate
        read_only: False
        source: /mnt/tv/books_library
        target: /books
        type: bind
      - bind:
          create_host_path: False
          propagation: rprivate
        read_only: False
        source: /mnt/apps/embyserver
        target: /config
        type: bind
      - bind:
          create_host_path: False
          propagation: rprivate
        read_only: False
        source: /mnt/movies/movies_library
        target: /movies
        type: bind
      - bind:
          create_host_path: False
          propagation: rprivate
        read_only: False
        source: /mnt/music/music_library
        target: /music
        type: bind
      - bind:
          create_host_path: False
          propagation: rprivate
        read_only: False
        source: /mnt/tv/tv_recording
        target: /recording
        type: bind
      - bind:
          create_host_path: False
          propagation: rprivate
        read_only: False
        source: /mnt/tv/tv_library
        target: /tv
        type: bind
      - bind:
          create_host_path: False
          propagation: rprivate
        read_only: False
        source: /mnt/tv/video_library
        target: /video
        type: bind

 

datasets.jpg

Edited by dgrigo
insert picture
AshPhantom32
Posted

This worked!!

Thank you for the help guys, i appreciate it

dgrigo
Posted

@Lukedo I see a new naming of beta builds? has one more digit ? , i wonder is this made to help the truenas maintainer ?

and a question , will this naming will be held from now on?

 

Thanks

Posted

It was made to help them yes.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...