Jump to content

Problems with libraries over smb


Go to solution Solved by ISeeTWizard,

Recommended Posts

ISeeTWizard
Posted

Hi

I have some libraries for my movies and entering them over a localy mapped drive on my Linux System where the Emby server runs on (loaded over fstab) works well as long as I don't play some 4k movies (some working some not)

When I than instead load as folder the smb path to my NAS where my movies are the movies are playing back correctly without studering every x seconds but for that he can't save the nfo files and images directly in the media folder

So for the one I can write my files and not playback every 4k video and for the other I can playback all movies but can't save the files

2025-05-04 15:22:14.148 Error ProviderManager: Error saving to smb://192.168.178.20/Media/Movies/german/Pacific Rim (2013)/fanart.jpg. Create Handle Failed: Movies\german\Pacific Rim (2013). NTStatus: FILE_DOES_NOT_EXIST.
2025-05-04 15:22:14.163 Info HttpClient: GET ....

And for both I'm using the same username and password - I have absolutely no clue where my issue could come from at the moment 😕

Does anyone here has a clue?

ISeeTWizard
Posted

Here some more data from the log:

 

2025-05-04 16:08:27.709 Error ProviderManager: Error in metadata saver
	*** Error Report ***
	Version: 4.8.11.0
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
	Operating system: Linux version 6.8.0-59-generic (buildd@lcy02-amd64-035) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0, GNU ld (GNU Binutils for Ubunt
	Framework: .NET 6.0.36
	OS/Process: x64/x64
	Runtime: opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 8
	Data path: /var/lib/emby
	Application path: /opt/emby-server/system
	System.IO.IOException: System.IO.IOException: Create Handle Failed: Movies\german\Pacific Rim (2013). 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)
	
2025-05-04 16:08:27.722 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: /opt/emby-server/bin/ffprobe -i "http://127.0.0.1:8096/Items/File?Id=smb%3A%2F%2F192.168.178.20%2FMedia%2FMovies%2Fgerman%2FPacific+Rim+-+Uprising+(2018)%2FPacific+Rim+-+Uprising+(2018)+-+2160p.mkv" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data
2025-05-04 16:08:28.286 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 0 - Succeeded

 

ISeeTWizard
Posted

I tried loading it as CIFS and even activated NFS on my Synology as a test (found something like that in the forums here

192.168.178.20:/volume1/Media /mnt/Media nfs defaults 0 0

But nothing seems to help

  • Solution
ISeeTWizard
Posted

OK - after 4 hours I wanted to gave up but I tested the 4k videos in the browser and here it worked.

So I checked my TV and found out that it was connected to the 2.4GHz Wifi instaed of my 5GHz- now the movies are running normally grmpf

  • Thanks 1
Posted

HI, just as a heads up, there are some cases with the 4.8 server where your smb credentials are not being applied. This has been resolved for the upcoming 4.9 server release. Thanks.

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