Jump to content

Samba mount share


Go to solution Solved by Luke,

Recommended Posts

Posted
2 hours ago, GiGo said:

Any else having issue with the SMB in the latest beta `4.9.1.36-beta`

I can connect via a SMB browser without authentication but with Emby it fails, even if I do add credentials it still fails.

HI there, can you please provide a specific example?

How to Report a Problem

Thanks !

 

Posted
On 01/10/2025 at 16:42, Luke said:

HI there, can you please provide a specific example?

How to Report a Problem

Thanks !

 

All sorted. I got the issue after the latest update, rebooted the device and all is good.

  • Thanks 1
Posted (edited)
On 01/10/2025 at 16:42, Luke said:

HI there, can you please provide a specific example?

How to Report a Problem

Thanks !

 

Not sure if it's an issue with Emby or if it's my device, but every few hours if I'm accessing a SMB it fails. Local plugged in devices are accessed fine. I have to restart Emby for the SMB link to work, SMB's work fine in file apps.

Log attached:
Relevant part here:
 

OS/Process: Arm64/Arm64
Framework: .NET 8.0.20
Runtime: System.Private.CoreLib.dll
Processor count: 8
Data path: /storage/emulated/0/Android/data/com.emby.embyserver/files
Application path: /data/user/0/com.emby.embyserver
Fingerprint: Xiaomi/umi_eea/umi:13/TKQ1.221114.001/V816.0.1.0.TJBEUXM:user/release-keys
Model: Mi 10 - Xiaomi/Xiaomi
Hardware: umi/umi_eea/qcom/umi
SupportedAbis: arm64-v8a, armeabi-v7a, armeabi
System.IO.IOException: System.IO.IOException: Authentication Failed.
at EzSmb.Transports.Connection..ctor(PathSet pathSet, ParamSet paramSet)
at EzSmb.Node.GetNode(String path, ParamSet paramSet, Nullable`1 isDirectory)
at Emby.Server.Implementations.IO.SmbFileSystem.GetNode(String path, FileSystemCredentials credentials, Nullable`1 isDirectory)
at Emby.Server.Implementations.IO.SmbFileSystem.CreateSmbDirectoryForListFiles(String path, FileSystemCredentials credentials)
at Emby.Server.Implementations.IO.SmbFileSystem.GetFileSystemEntries(String path, FileSystemCredentials credentials, Boolean recursive)
at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries(String path, Boolean recursive, FileSystemCredentials credentials)
at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntriesInternal(String path)
at System.Collections.Concurrent.ConcurrentDictionary`2[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[MediaBrowser.Model.IO.FileSystemMetadata[], MediaBrowser.Model, Version=4.9.1.36, Culture=neutral, PublicKeyToken=null]].GetOrAdd(String key, Func`2 valueFactory)
at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path, Boolean clearCache)
at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path)
at MediaBrowser.Controller.Entities.Video.GetBifsFromFolder(IDirectoryService directoryService, String folder, String requiredPrefix)
at MediaBrowser.Controller.Entities.Video.GetLocalBifs(String videoPath, IDirectoryService directoryService)
at MediaBrowser.Controller.Entities.Video.GetLocalThumbnailSetInfos(String videoPath, Guid itemGuid, Boolean enableCache, IDirectoryService directoryService)
at MediaBrowser.Controller.Entities.Video.GetThumbnailSetInfos(String videoPath, Guid itemGuid, Boolean enableCache, IDirectoryService directoryService)
at MediaBrowser.Controller.Entities.Video.GetThumbnailSetInfos(String videoPath, Guid itemGuid, IDirectoryService directoryService, Int32 maxWidth, Boolean enableStrictWidthRequirement)
at RokuMetadata.Api.BifService.Get(GetThumbnails request)
at System.Object.lambda_method576(Closure , Object , Object )
at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req, Type serviceType)
at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, IStreamHelper streamHelper, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, RestPath restPath, String urlString, String localPath, String contentTypeInPath, CancellationToken cancellationToken)
Source: Emby.Server.Implementations
TargetSite: Void .ctor(EzSmb.Paths.PathSet, EzSmb.Params.ParamSet)
2025-10-05 20:21:08.942 Info BifService-0HNG3RP0UM1DR:00000006: http/1.1 Response 500 to host3. Time: 59ms. GET http://192.168.68.108:8096/emby/items/7762/ThumbnailSet?MediaSourceId=mediasource_7762.
2025-10-05 20:21:08.983 Info PlaystateService-0HNG3RP0UM1DQ:00000025: http/1.1 Response 204 to host3. Time: 103ms. POST http://192.168.68.108:8096/emby/Sessions/Playing.
2025-10-05 20:21:08.994 Info Trakt: Playback Started
2025-10-05 20:21:09.101 Info HttpClient: POST https://api.trakt.tv/oauth/token
2025-10-05 20:21:09.244 Info HttpClient: Http response 200 from https://api.trakt.tv/oauth/token after 142ms
2025-10-05 20:21:09.282 Info Trakt: New trakt token info: {"access_token":"675eea35ee47a488569fd7e6f73f87b259d90b9b80b706d5beb69be2b310b874","token_type":"Bearer","expires_in":86400,"refresh_token":"60f75d1735eb33698e5757affc84024d4da66183a8a28fe9d14e76c71e8805f0","scope":"public","created_at":1759692069}.
2025-10-05 20:21:09.283 Info BaseItem: Updating trakt user, reset pin info: False

 

embyserver.txt

Edited by GiGo
attachment added as it didn't upload
Posted
1 hour ago, GiGo said:

Not sure if it's an issue with Emby or if it's my device, but every few hours if I'm accessing a SMB it fails. Local plugged in devices are accessed fine. I have to restart Emby for the SMB link to work, SMB's work fine in file apps.

Log attached:
Relevant part here:
 

OS/Process: Arm64/Arm64
Framework: .NET 8.0.20
Runtime: System.Private.CoreLib.dll
Processor count: 8
Data path: /storage/emulated/0/Android/data/com.emby.embyserver/files
Application path: /data/user/0/com.emby.embyserver
Fingerprint: Xiaomi/umi_eea/umi:13/TKQ1.221114.001/V816.0.1.0.TJBEUXM:user/release-keys
Model: Mi 10 - Xiaomi/Xiaomi
Hardware: umi/umi_eea/qcom/umi
SupportedAbis: arm64-v8a, armeabi-v7a, armeabi
System.IO.IOException: System.IO.IOException: Authentication Failed.
at EzSmb.Transports.Connection..ctor(PathSet pathSet, ParamSet paramSet)
at EzSmb.Node.GetNode(String path, ParamSet paramSet, Nullable`1 isDirectory)
at Emby.Server.Implementations.IO.SmbFileSystem.GetNode(String path, FileSystemCredentials credentials, Nullable`1 isDirectory)
at Emby.Server.Implementations.IO.SmbFileSystem.CreateSmbDirectoryForListFiles(String path, FileSystemCredentials credentials)
at Emby.Server.Implementations.IO.SmbFileSystem.GetFileSystemEntries(String path, FileSystemCredentials credentials, Boolean recursive)
at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries(String path, Boolean recursive, FileSystemCredentials credentials)
at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntriesInternal(String path)
at System.Collections.Concurrent.ConcurrentDictionary`2[[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[MediaBrowser.Model.IO.FileSystemMetadata[], MediaBrowser.Model, Version=4.9.1.36, Culture=neutral, PublicKeyToken=null]].GetOrAdd(String key, Func`2 valueFactory)
at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path, Boolean clearCache)
at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries(String path)
at MediaBrowser.Controller.Entities.Video.GetBifsFromFolder(IDirectoryService directoryService, String folder, String requiredPrefix)
at MediaBrowser.Controller.Entities.Video.GetLocalBifs(String videoPath, IDirectoryService directoryService)
at MediaBrowser.Controller.Entities.Video.GetLocalThumbnailSetInfos(String videoPath, Guid itemGuid, Boolean enableCache, IDirectoryService directoryService)
at MediaBrowser.Controller.Entities.Video.GetThumbnailSetInfos(String videoPath, Guid itemGuid, Boolean enableCache, IDirectoryService directoryService)
at MediaBrowser.Controller.Entities.Video.GetThumbnailSetInfos(String videoPath, Guid itemGuid, IDirectoryService directoryService, Int32 maxWidth, Boolean enableStrictWidthRequirement)
at RokuMetadata.Api.BifService.Get(GetThumbnails request)
at System.Object.lambda_method576(Closure , Object , Object )
at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req, Type serviceType)
at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, IStreamHelper streamHelper, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, RestPath restPath, String urlString, String localPath, String contentTypeInPath, CancellationToken cancellationToken)
Source: Emby.Server.Implementations
TargetSite: Void .ctor(EzSmb.Paths.PathSet, EzSmb.Params.ParamSet)
2025-10-05 20:21:08.942 Info BifService-0HNG3RP0UM1DR:00000006: http/1.1 Response 500 to host3. Time: 59ms. GET http://192.168.68.108:8096/emby/items/7762/ThumbnailSet?MediaSourceId=mediasource_7762.
2025-10-05 20:21:08.983 Info PlaystateService-0HNG3RP0UM1DQ:00000025: http/1.1 Response 204 to host3. Time: 103ms. POST http://192.168.68.108:8096/emby/Sessions/Playing.
2025-10-05 20:21:08.994 Info Trakt: Playback Started
2025-10-05 20:21:09.101 Info HttpClient: POST https://api.trakt.tv/oauth/token
2025-10-05 20:21:09.244 Info HttpClient: Http response 200 from https://api.trakt.tv/oauth/token after 142ms
2025-10-05 20:21:09.282 Info Trakt: New trakt token info: {"access_token":"675eea35ee47a488569fd7e6f73f87b259d90b9b80b706d5beb69be2b310b874","token_type":"Bearer","expires_in":86400,"refresh_token":"60f75d1735eb33698e5757affc84024d4da66183a8a28fe9d14e76c71e8805f0","scope":"public","created_at":1759692069}.
2025-10-05 20:21:09.283 Info BaseItem: Updating trakt user, reset pin info: False

 

embyserver.txt 17.96 MB · 0 downloads

Hi, are you sure you configured your smb credentials in the options for the library?

Posted
6 hours ago, Luke said:

Hi, are you sure you configured your smb credentials in the options for the library?

Yes, 100% did and it has connected and played perfectly fine before. I've done it again and saved so I'll monitor it and see what happens. Could it possibly loose the credentials causing the issue?

Posted

I don't think so but please let us know how that goes. Thanks.

Posted
On 06/10/2025 at 04:53, Luke said:

I don't think so but please let us know how that goes. Thanks.

Seems I have an the same issue again, a restart of the server solved the issue, ie I can then stream from my SMB mount. The device was still connected to the network, it could still access my SMB mounts in other apps.
 

Logged attached.

embyserver.txt

Posted

Hi, that log looks OK. what exactly happened?

Posted
10 hours ago, Luke said:

Hi, that log looks OK. what exactly happened?

It fails to play anything from my SMB mount point.  I get the usual 'no valid streams available' and it skips to the next file, which of course then fails too.  I have to restart the server app for it to stream again.

Posted

OK that’s odd. We’ll take a look at it. 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...