Jump to content

Emby unraid docker


Recommended Posts

Posted

Last Friday I set up Emby; I purchased the premier package to use my digital antenna. I love Emby's look and feel.

That being said, I am not thrilled with the operation. I have been trying to scan files and add intro skip for days. 

I have set up each Library to use only one metadata provider.

I click on Scan Library files for TV, and after some time, I see Scan Media Library in running tasks. This starts out moving fairly well but hits a wall at 40.6%

When I go to Library page I see 91% with a green circle almost complete. But right above that is Scan Library Files with progress bar about half way green.

If I let this run for several hrs, it will complete.

However even though it says it is done, it only adds a few series, it is far from complete.

Somehow it sees all of the folders but reports the majority as empty, they are not empty. 

Even when the folder scans, I can see it working in the logs, not all information get adopted, for example the system just finished a while ago, the last series added was The Resident. if I go to the resident it shows (Example) season 4 with green 13 implying 13 unwatched episodes but when I open the folder there are 14 unwatched episodes.

Also over the past several days, when my arrs download a file it does not get included, I am guessing that this is because the system is still trying to do it's original scan. 

However Plex sees the newly added files immediately.

Is there something that I should do, change or pray to?

Any help or assistance is greatly appreciated

Chas

 

 

seanbuff
Posted
11 minutes ago, kysdaddy said:

Is there something that I should do, change or pray to?

If you're trying to add a new library and have it detect intro's at the same time, there is an expectation that this will take a considerable amount of time. You can split out these tasks.

Are you following Emby's recommended naming scheme for media? TV Naming

Some server logs and screenshots of how your library is configured would also be helpful:   How to Report a Problem

 

 

  • Agree 1
Posted
3 hours ago, kysdaddy said:

Last Friday I set up Emby; I purchased the premier package to use my digital antenna. I love Emby's look and feel.

That being said, I am not thrilled with the operation. I have been trying to scan files and add intro skip for days. 

I have set up each Library to use only one metadata provider.

I click on Scan Library files for TV, and after some time, I see Scan Media Library in running tasks. This starts out moving fairly well but hits a wall at 40.6%

When I go to Library page I see 91% with a green circle almost complete. But right above that is Scan Library Files with progress bar about half way green.

If I let this run for several hrs, it will complete.

However even though it says it is done, it only adds a few series, it is far from complete.

Somehow it sees all of the folders but reports the majority as empty, they are not empty. 

Even when the folder scans, I can see it working in the logs, not all information get adopted, for example the system just finished a while ago, the last series added was The Resident. if I go to the resident it shows (Example) season 4 with green 13 implying 13 unwatched episodes but when I open the folder there are 14 unwatched episodes.

Also over the past several days, when my arrs download a file it does not get included, I am guessing that this is because the system is still trying to do it's original scan. 

However Plex sees the newly added files immediately.

Is there something that I should do, change or pray to?

Any help or assistance is greatly appreciated

Chas

 

 

It took my 25tb server 3-4 days to complete and that’s without intro detection. Intro detection should def be set after the original scan. Then I would change it to scheduled task and when added and then set a time limit.

  • Like 1
  • Thanks 1
Posted

Thank you, I turned off the intro detection and it is much, much better. On another issue, does the Real time monitoring work properly on Unraid docker? I have read several posts on the web that there are issues, but not sure what to believe. 

Running a scan now, have set something up wrong.

I turned off intro detection, and the system worked as originally expected and found all of the files. After completing it, I set intro to run every night for three hours starting at midnight.

However, if I run a scan now, it runs intro detection as well. Is that the expected action?

 

Chas

Posted
8 hours ago, kysdaddy said:

Thank you, I turned off the intro detection and it is much, much better. On another issue, does the Real time monitoring work properly on Unraid docker? I have read several posts on the web that there are issues, but not sure what to believe. 

Running a scan now, have set something up wrong.

I turned off intro detection, and the system worked as originally expected and found all of the files. After completing it, I set intro to run every night for three hours starting at midnight.

However, if I run a scan now, it runs intro detection as well. Is that the expected action?

 

Chas

I don’t have that issue although I do have ARRs to send updates to Emby when content is ready to be scanned. It makes sense manually scanning will trigger that behavior. You can scan the library using the scheduled task next time so it has the 3 hr cut off. But definitely look into having your arr stack to send an update to Emby. 

Posted

I am not sure if I have issues or if I just expect it to act differently. Every time it scans library files, it acts as if it is doing a complete scan. By that, I mean, if I go to the Movies folder while it is scanning, I either have no movies or my movies are there, but the primary image does not show up as the thumbnail.

The movies will play, you just see the movie icon not the image on the dashboard

Am I over thinking this?

Posted

Another question.

I see this a lot in the logs:

2024-10-19 08:44:46.126 Error ProviderManager: Error in metadata saver
	*** Error Report ***
	Version: 4.8.10.0

 

Is there something wrong, or is this normal?

 

 

Posted

Without full logs, we can only guess.

 

Posted

Sorry about that here are a group of the errors.

Thx 

Chas

emby.txt

Posted

Its still only a snip of you logs.

But this says something, either file is not there, or there is permission problems.

But this is still guess work.

System.IO.IOException: System.IO.IOException: Create Handle Failed: movies\Foe (2023). NTStatus: FILE_DOES_NOT_EXIST

2024-10-20 07:19:25.421 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: /usr/bin/ffprobe-emby -i "http://127.0.0.1:8096/Items/File?Id=smb%3A%2F%2F192.168.1.2%2FMedia%2Fmovies%2FFoe+(2023)%2FFoe+(2023)+WEBRip-1080p.mkv" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data
2024-10-20 07:19:25.804 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 0 - Succeeded
2024-10-20 07:19:25.918 Info HttpClient: GET https://api.themoviedb.org/3/movie/760245?api_key=x_secret1_x&append_to_response=alternative_titles,reviews,casts,releases,images,keywords,trailers&language=en-US&include_image_language=en-US,null
2024-10-20 07:19:25.948 Info HttpClient: GET https://private.omdbapi.com?apikey=x_secret2_x&i=tt8258502&plot=short&r=json
2024-10-20 07:19:26.038 Info HttpClient: GET https://api.themoviedb.org/3/movie/760245?api_key=x_secret1_x&append_to_response=alternative_titles,reviews,casts,releases,images,keywords,trailers
2024-10-20 07:19:26.531 Error ProviderManager: Error in metadata saver
    *** Error Report ***
    Version: 4.8.10.0
    Command line: /usr/lib/emby-server/EmbyServer.dll -programdata /config -ffdetect /usr/bin/ffdetect-emby -ffmpeg /usr/bin/ffmpeg-emby -ffprobe /usr/bin/ffprobe-emby -restartexitcode 3
    Operating system: Linux version 6.1.106-Unraid (root@Develop-612) (gcc (GCC) 12.2.0, GNU ld version 2.40-slack151) #1 SMP PREEMPT_DYNAMIC Wed Aug 21 23:36:07 PDT 2024
    Framework: .NET 6.0.33
    OS/Process: x64/x64
    Runtime: usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.33/System.Private.CoreLib.dll
    Processor count: 56
    Data path: /config
    Application path: /usr/lib/emby-server
    System.IO.IOException: System.IO.IOException: Create Handle Failed: movies\Foe (2023). NTStatus: FILE_DOES_NOT_EXIST
       at EzSmb.Transports.Shares.Handlers.Bases.HandlerBase..ctor(SmbType smbType, ISMBFileStore store, String path, HandleType handleType, NodeType nodeType, HandleArgs args)
       at EzSmb.Transports.Shares.Smb2Share.GetHandler(String path, HandleType handleType, NodeType nodeType, HandleArgs args)
       at EzSmb.Transports.Shares.Bases.ShareBase.CreateFolder(Node node, String folderName)
       at EzSmb.Node.CreateFolder(String folderName, String relatedPath)
       at Emby.Server.Implementations.IO.SmbFileSystem.CreateDirectory(String path)
       at NfoMetadata.Savers.BaseNfoSaver.SaveToFile(Stream stream, String path, LibraryOptions libraryOptions, CancellationToken cancellationToken)
       at NfoMetadata.Savers.BaseNfoSaver.Save(BaseItem item, LibraryOptions libraryOptions, CancellationToken cancellationToken)
       at Emby.Providers.Manager.ProviderManager.SaveMetadata(BaseItem item, LibraryOptions libraryOptions, ItemUpdateType updateType, IMetadataSaver[] savers, CancellationToken cancellationToken)
    Source: Emby.Server.Implementations
    TargetSite: Void .ctor(EzSmb.Params.Enums.SmbType, SMBLibrary.Client.ISMBFileStore, System.String, EzSmb.Transports.Shares.Handlers.Enums.HandleType, EzSmb.NodeType, EzSmb.Transports.Shares.Handlers.HandleArgs)

 

Posted

I'm sorry. does emby obfuscate any identifiable information in the logs? There are so many pages, I just want to be sure that I am not exposing a security risk by posting the complete log

 

Posted

image.thumb.png.b528da672fd4f9bdbd3cfbe0a4b2e55d.png

image.thumb.png.734e1d32c1c396bec1cb3bfe8da4818f.png

 

Happy2Play
Posted

Just like the other topics, Emby is choking on SMB paths and devs recommend mounting path locally.

pretty much the exact same issue over here "FILE_DOES_NOT_EXIST error"

 

  • Like 1
Posted

OK, I'm running a docker on Unraid for Emby, I checked my paths in the Emby container, and while it was working, I think an error was in my Patn:/Media: mapping

I originally had it mapped to

/mnt/usr

rather than 

/mnt/usr/media

 

Could that have been creating that error?

 

 

Posted (edited)
49 minutes ago, kysdaddy said:

OK, I'm running a docker on Unraid for Emby, I checked my paths in the Emby container, and while it was working, I think an error was in my Patn:/Media: mapping

I originally had it mapped to

/mnt/usr

rather than 

/mnt/usr/media

 

Could that have been creating that error?

 

 

Yes. When mounting the media folders in unraid you have to use /mnt/user/sharename/Movies etc…

Edited by guunter
Posted

Hi, so are you all set now?

Posted

That is a great question. Currently, the Emby container has a single path to media. Are you saying that I need to create two paths and separate Movies and TV.

as I said my path to Media is /mnt/user/media

inside of the media folder, I have folders for TV, Movies, Music, Books, Audiobooks

I could delete this line Path: /media: and the current path /mnt/user/media

and add these two 

   Path: /TV:  /mnt/user/media/TV

and

   Path: /movies:   /mnt/user/media/movies

 

But I am not sure that this is necessary as Emby finds the tv and movies folders

 

 

Happy2Play
Posted

Can you show the paths used when you set up your libraries?

Path: smb://192.168.1.2/Media/movies/Roald Dahl's Matilda the Musical (2022), Id: 1219474

System.IO.IOException: Create Handle Failed: movies\Roald Dahl's Matilda the Musical (2022). NTStatus: FILE_DOES_NOT_EXIST

As It shows you used SMB path and Emby for one reason or another chokes on them.

Posted

 

This is my Emby Docker Settings

image.thumb.png.4bc033707fc1de65e592d4360c78b9a1.png

 

This is from within Emby; this path is NOT editable

 

image.thumb.png.4bbc136e3b80a69f14f14cfe2897c332.png

This is viewing the movie data

 

image.thumb.png.bb6f3a24bbae602b1b3883848e778190.png

 

I am confused about how and where to change the path. The only place that I entered the path was in Emby docker settings, and it is correct. 

I couldn't edit the smb path within emby, I was able to add (Optional) Shared network folder /mnt/user/media/movies

was that what you were suggesting?

 

seanbuff
Posted
1 hour ago, kysdaddy said:

I am confused about how and where to change the path.

Why are you using an smb path? You already configured your docker to map your media directory, so all you need to do is select it from the list.

When you click the '+ Add' button next to 'Folders' the list should contain the mapping you created. Scroll the list you should see /media  - once you select it, you can then select the sub folder Movies or TV Series, etc

Try adding the top level folders that way, then remove the existing smb paths. It should kick off a new library scan. See how that goes.

  • Agree 2
Posted
2 hours ago, kysdaddy said:

 

This is my Emby Docker Settings

image.thumb.png.4bc033707fc1de65e592d4360c78b9a1.png

 

This is from within Emby; this path is NOT editable

 

image.thumb.png.4bbc136e3b80a69f14f14cfe2897c332.png

This is viewing the movie data

 

image.thumb.png.bb6f3a24bbae602b1b3883848e778190.png

 

I am confused about how and where to change the path. The only place that I entered the path was in Emby docker settings, and it is correct. 

I couldn't edit the smb path within emby, I was able to add (Optional) Shared network folder /mnt/user/media/movies

was that what you were suggesting?

 

You set it up wrong. When you look at your docker settings do you see the yellow lettering that says container path? That will be the mount point in the docker. So it’ll be /media ….

  • Agree 1
Posted
39 minutes ago, guunter said:

You set it up wrong. When you look at your docker settings do you see the yellow lettering that says container path? That will be the mount point in the docker. So it’ll be /media ….

The docker only provides one path to media both tv and movies, I asked if I needed to remove that path and add one for tv and one for movies in the earlier post.

 

Posted

On short " YES "

Posted
2 hours ago, seanbuff said:

Why are you using an smb path? You already configured your docker to map your media directory, so all you need to do is select it from the list.

When you click the '+ Add' button next to 'Folders' the list should contain the mapping you created. Scroll the list you should see /media  - once you select it, you can then select the sub folder Movies or TV Series, etc

Try adding the top level folders that way, then remove the existing smb paths. It should kick off a new library scan. See how that goes.

I tried this with the Movies library, I am attaching the logs, I still see that error.

 

embyserver (3).txt

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...