Jump to content

Samba mount share


unchio
Go to solution Solved by Luke,

Recommended Posts

Hi,

I've been waiting for long time direct samba connection support on Emby.

I installed emby on an Android TV box which is not rooted and which does not allow mounting samba mount locally.

All the medias files are stored on Synology NAS with samba share.

So, yesterday, I downloaded and installed version 4.8 0.59, and I tried in vain to connect to the samba shares

For information on the same android Box I also installed Kodi, and all samba shares work without problem, it is therefore not a network problem between emby and synology, nor a problem of configuring samba shares, nor a problem of credentials...

I've tried with with different syntaxes:

\\192.168.2.250\Clips
smb://192.168.2.250/Clips

But the result is always the same, in both case i see a connection ok on synology NAS Logs. But impossible to validate on emby configuration. In the emby logs I receive an "Authentication Failed".

Below the screenshot of the configuration process/error, the ok log of the synology and log file emby.

2023-11-17 09:27:32.406 Error Server: Error processing request
    *** Error Report *** 
    Version: 4.8.0.59
    Command line: /data/app/~~J69Oc2XQDMhcWtYFYUuaOg==/com.emby.embyserver-4hdbqR9_EnsjhJcFhSuT_Q==/base.apk
    Operating system: Android 11 (REL) SDK:30 BuildId:RTT0.211009.001  Incremental:5554 Patch-Level: 2023-06-05
    Framework: Mono 6.12.0 (2020-02/c633fe92383) 4.0.50524.0
    OS/Process: Arm/Arm
    Runtime: mscorlib.dll
    Processor count: 4
    Data path: /storage/emulated/0/Android/data/com.emby.embyserver/files
    Application path: /data/user/0/com.emby.embyserver
    Fingerprint: Nokia/SEI804NK/YYJ:11/RTT0.211009.001/5554:user/release-keys
    Model: Nokia Streaming Box 8010 - SEI Robotics/Nokia
    Hardware: YYJ/SEI804NK/amlogic/YYJ
    SupportedAbis: armeabi-v7a, armeabi
    System.IO.IOException: System.IO.IOException: Authentication Failed.
      at EzSmb.Transports.Connection..ctor (EzSmb.Paths.PathSet pathSet, EzSmb.Params.ParamSet paramSet) [0x000f1] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at EzSmb.Node.GetNode (System.String path, EzSmb.Params.ParamSet paramSet, System.Boolean isDirectory) [0x00006] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.IO.SmbFileSystem.GetNode (System.String path, MediaBrowser.Model.IO.FileSystemCredentials credentials, System.Boolean isDirectory) [0x00055] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.IO.SmbFileSystem.DirectoryExists (System.String path, MediaBrowser.Model.IO.FileSystemCredentials credentials) [0x00000] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.IO.SmbFileSystem.DirectoryExists (System.String path) [0x00000] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.IO.ManagedFileSystem.DirectoryExists (System.String path) [0x0000e] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.Library.LibraryManager.<AddVirtualFolder>b__237_0 (MediaBrowser.Model.Configuration.MediaPathInfo i) [0x0000c] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0003f] in <2b518444249345309542daed2e208536>:0 
      at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <2b518444249345309542daed2e208536>:0 
      at Emby.Server.Implementations.Library.LibraryManager.AddVirtualFolder (System.String name, MediaBrowser.Model.Configuration.LibraryOptions options, System.Boolean refreshLibrary) [0x0002b] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Api.Library.LibraryStructureService.Post (Emby.Api.Library.AddVirtualFolder request) [0x0007c] in <fd221a0af5d54d4ea896346689af375e>:0 
      at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,object,object)
      at Emby.Server.Implementations.Services.ServiceController+<>c__DisplayClass8_0.<VoidActionDelegate>b__0 (System.Object service, System.Object request) [0x00000] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.Services.ServiceController.Execute (Emby.Server.Implementations.HttpServer.HttpListenerHost appHost, System.Object requestDto, MediaBrowser.Model.Services.IRequest req, System.Type serviceType) [0x0008c] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync (Emby.Server.Implementations.HttpServer.HttpListenerHost httpHost, MediaBrowser.Controller.IServerApplicationHost appHost, MediaBrowser.Model.Services.IRequest httpReq, MediaBrowser.Model.Services.IResponse httpRes, MediaBrowser.Model.IO.IStreamHelper streamHelper, Emby.Server.Implementations.Services.RestPath restPath, System.String responseContentType, System.Threading.CancellationToken cancellationToken) [0x001d1] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler (MediaBrowser.Model.Services.IRequest httpReq, System.ReadOnlyMemory`1[T] urlString, System.ReadOnlyMemory`1[T] localPath, System.Threading.CancellationToken cancellationToken) [0x00b9c] in <744d8c38dcd24ce483348c18235c3f17>:0 
    Source: mscorlib
    TargetSite: Void Throw()


If anyone has any tips to help me out...

 

Capturedcrandu2023-11-1709-35-01.png.2fa49e0c63e84baee06769cbdf7b3108.png


    Capturedcrandu2023-11-1709-34-35.png.2a14bcb01f73ff7f58e639c7119cad59.png

 

Capturedcrandu2023-11-1709-35-32.png.f4999fd0b74461def7f43e55dc00ddb0.png

Capturedcrandu2023-11-1709-35-38.png.ff8eda1880435b735d3d4e2a94e57aac.png

Capturedcrandu2023-11-1709-35-43.png.e6071141fc8623884491cbcb44f4a1bb.png

 

Capturedcrandu2023-11-1709-38-59.png.ca91eac6df29a69c9adbb2f1491ab59b.png

Capturedcrandu2023-11-1709-39-05.png.fc218f329d6b046bbb3034620d2fcd27.png

Edited by unchio
Link to comment
Share on other sites

Hi, are you sure the username and password you entered is correct? This is a few feature in the 4.8 beta and others have reported success with it.

Link to comment
Share on other sites

hi, yes i'm sure. I used the same credentials in kodi server, and on corelec too.

Is there a specific samba version to use? 

Which are the best format to use?

\\ip\folder

smb://ip/folder

can I send you other logs or information to help? 

Link to comment
Share on other sites

I tried again by reinstalling emby, same result, it doesn't work...

when on the configuration screen I put a bad IP or a bad password it doesn't take me back to the previous window (media library).. .

The error occurs when validating this second window..

I also checked the samba protocols on the nas and they are ok..

I tested with a simpler password, same result...

Emby don't want me..

Link to comment
Share on other sites

Hi! Thans for your help!
Sure for full logs!

Here Full Log from Login to Error Message on Samba Mount with \\192.168.2.250\Films:

2023-11-18 20:16:56.865 Info Server: http/1.1 POST http://192.168.2.150:8096/emby/Users/authenticatebyname?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.59&X-Emby-Token=x_secret1_x&X-Emby-Language=fr. Host=host1, Connection=keep-alive, Content-Length=30, accept=application/json, User-Agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36, Content-Type=application/x-www-form-urlencoded; charset=UTF-8, Sec-GPC=1, Origin=host2, Referer=http://192.168.2.150:8096/web/index.html, Accept-Encoding=gzip, deflate, Accept-Language=fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7
2023-11-18 20:16:57.316 Info UserManager: Authentication request for admin has succeeded.
2023-11-18 20:16:57.325 Info SessionManager: Creating new access token for user 1 admin
2023-11-18 20:16:58.630 Info Server: http/1.1 Response 200 to host3. Time: 1764ms. POST http://192.168.2.150:8096/emby/Users/authenticatebyname?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.59&X-Emby-Token=x_secret1_x&X-Emby-Language=fr
2023-11-18 20:16:58.861 Info HttpServer: WS http://192.168.2.150:8096/embywebsocket?api_key=f0699f995ba34f0d93acf707f13f5967&deviceId=51445ffd-8030-4587-b695-b0f1369d0bd8. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
2023-11-18 20:16:58.870 Info Server: http/1.1 POST http://192.168.2.150:8096/emby/Sessions/Capabilities/Full?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.59&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
2023-11-18 20:17:00.261 Info Server: http/1.1 Response 204 to host3. Time: 1391ms. POST http://192.168.2.150:8096/emby/Sessions/Capabilities/Full?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.59&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json
2023-11-18 20:17:00.367 Info App: Sqlite: 284 - automatic index on LastWatchedEpisodes(SeriesPresentationUniqueKey)
2023-11-18 20:17:18.499 Error Server: Error processing request
    *** Error Report ***
    Version: 4.8.0.59
    Command line: /data/app/~~lUH-BLPliKsWsptszb_fQw==/com.emby.embyserver-xy9UtzDLqBC8jxxhpHCgFA==/base.apk
    Operating system: Android 11 (REL) SDK:30 BuildId:RTT0.211009.001  Incremental:5554 Patch-Level: 2023-06-05
    Framework: Mono 6.12.0 (2020-02/c633fe92383) 4.0.50524.0
    OS/Process: Arm/Arm
    Runtime: mscorlib.dll
    Processor count: 4
    Data path: /storage/emulated/0/Android/data/com.emby.embyserver/files
    Application path: /data/user/0/com.emby.embyserver
    Fingerprint: Nokia/SEI804NK/YYJ:11/RTT0.211009.001/5554:user/release-keys
    Model: Nokia Streaming Box 8010 - SEI Robotics/Nokia
    Hardware: YYJ/SEI804NK/amlogic/YYJ
    SupportedAbis: armeabi-v7a, armeabi
    System.ArgumentException: System.ArgumentException: Invalid path
      at System.IO.Path.GetDirectoryName (System.String path) [0x0000d] in <1b39a03c32ec46258a7821e202e0269f>:0 
      at Emby.Server.Implementations.IO.ManagedFileSystem.GetDirectoryName (System.String path) [0x00028] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.IO.ManagedFileSystem.ToFileSystemMetadata (System.String path) [0x0001f] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at System.Linq.Enumerable+SelectEnumerableIterator`2[TSource,TResult].ToList () [0x0001b] in <2b518444249345309542daed2e208536>:0 
      at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <2b518444249345309542daed2e208536>:0 
      at Emby.Server.Implementations.IO.ManagedFileSystem.NormalizeDuplicates (MediaBrowser.Model.IO.FileSystemMetadata[] paths, System.Boolean checkSubPaths) [0x00122] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.IO.ManagedFileSystem.CreateCommonFolderList () [0x000a8] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.IO.ManagedFileSystem.get_CommonFolders () [0x00000] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Api.EnvironmentService.GetDrives () [0x00000] in <fd221a0af5d54d4ea896346689af375e>:0 
      at Emby.Api.EnvironmentService.Get (Emby.Api.GetDrives request) [0x00000] in <fd221a0af5d54d4ea896346689af375e>:0 
      at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,object,object)
      at Emby.Server.Implementations.Services.ServiceController.Execute (Emby.Server.Implementations.HttpServer.HttpListenerHost appHost, System.Object requestDto, MediaBrowser.Model.Services.IRequest req, System.Type serviceType) [0x0008c] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync (Emby.Server.Implementations.HttpServer.HttpListenerHost httpHost, MediaBrowser.Controller.IServerApplicationHost appHost, MediaBrowser.Model.Services.IRequest httpReq, MediaBrowser.Model.Services.IResponse httpRes, MediaBrowser.Model.IO.IStreamHelper streamHelper, Emby.Server.Implementations.Services.RestPath restPath, System.String responseContentType, System.Threading.CancellationToken cancellationToken) [0x001d1] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler (MediaBrowser.Model.Services.IRequest httpReq, System.ReadOnlyMemory`1[T] urlString, System.ReadOnlyMemory`1[T] localPath, System.Threading.CancellationToken cancellationToken) [0x00b9c] in <744d8c38dcd24ce483348c18235c3f17>:0 
    Source: mscorlib
    TargetSite: Void Throw()
    
2023-11-18 20:17:44.075 Info Server: http/1.1 POST http://192.168.2.150:8096/emby/Environment/ValidatePath?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.59&X-Emby-Token=x_secret2_x&X-Emby-Language=fr. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
2023-11-18 20:17:45.243 Info Server: http/1.1 Response 204 to host3. Time: 1168ms. POST http://192.168.2.150:8096/emby/Environment/ValidatePath?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.59&X-Emby-Token=x_secret2_x&X-Emby-Language=fr
2023-11-18 20:17:51.059 Info Server: http/1.1 POST http://192.168.2.150:8096/emby/Library/VirtualFolders?collectionType=movies&refreshLibrary=true&name=Films&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.59&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
2023-11-18 20:17:51.429 Error Server: Error processing request
    *** Error Report ***
    Version: 4.8.0.59
    Command line: /data/app/~~lUH-BLPliKsWsptszb_fQw==/com.emby.embyserver-xy9UtzDLqBC8jxxhpHCgFA==/base.apk
    Operating system: Android 11 (REL) SDK:30 BuildId:RTT0.211009.001  Incremental:5554 Patch-Level: 2023-06-05
    Framework: Mono 6.12.0 (2020-02/c633fe92383) 4.0.50524.0
    OS/Process: Arm/Arm
    Runtime: mscorlib.dll
    Processor count: 4
    Data path: /storage/emulated/0/Android/data/com.emby.embyserver/files
    Application path: /data/user/0/com.emby.embyserver
    Fingerprint: Nokia/SEI804NK/YYJ:11/RTT0.211009.001/5554:user/release-keys
    Model: Nokia Streaming Box 8010 - SEI Robotics/Nokia
    Hardware: YYJ/SEI804NK/amlogic/YYJ
    SupportedAbis: armeabi-v7a, armeabi
    System.IO.IOException: System.IO.IOException: Authentication Failed.
      at EzSmb.Transports.Connection..ctor (EzSmb.Paths.PathSet pathSet, EzSmb.Params.ParamSet paramSet) [0x000f1] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at EzSmb.Node.GetNode (System.String path, EzSmb.Params.ParamSet paramSet, System.Boolean isDirectory) [0x00006] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.IO.SmbFileSystem.GetNode (System.String path, MediaBrowser.Model.IO.FileSystemCredentials credentials, System.Boolean isDirectory) [0x00055] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.IO.SmbFileSystem.DirectoryExists (System.String path, MediaBrowser.Model.IO.FileSystemCredentials credentials) [0x00000] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.IO.SmbFileSystem.DirectoryExists (System.String path) [0x00000] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.IO.ManagedFileSystem.DirectoryExists (System.String path) [0x0000e] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.Library.LibraryManager.<AddVirtualFolder>b__237_0 (MediaBrowser.Model.Configuration.MediaPathInfo i) [0x0000c] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0003f] in <2b518444249345309542daed2e208536>:0 
      at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <2b518444249345309542daed2e208536>:0 
      at Emby.Server.Implementations.Library.LibraryManager.AddVirtualFolder (System.String name, MediaBrowser.Model.Configuration.LibraryOptions options, System.Boolean refreshLibrary) [0x0002b] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Api.Library.LibraryStructureService.Post (Emby.Api.Library.AddVirtualFolder request) [0x0007c] in <fd221a0af5d54d4ea896346689af375e>:0 
      at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,object,object)
      at Emby.Server.Implementations.Services.ServiceController+<>c__DisplayClass8_0.<VoidActionDelegate>b__0 (System.Object service, System.Object request) [0x00000] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.Services.ServiceController.Execute (Emby.Server.Implementations.HttpServer.HttpListenerHost appHost, System.Object requestDto, MediaBrowser.Model.Services.IRequest req, System.Type serviceType) [0x0008c] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync (Emby.Server.Implementations.HttpServer.HttpListenerHost httpHost, MediaBrowser.Controller.IServerApplicationHost appHost, MediaBrowser.Model.Services.IRequest httpReq, MediaBrowser.Model.Services.IResponse httpRes, MediaBrowser.Model.IO.IStreamHelper streamHelper, Emby.Server.Implementations.Services.RestPath restPath, System.String responseContentType, System.Threading.CancellationToken cancellationToken) [0x001d1] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler (MediaBrowser.Model.Services.IRequest httpReq, System.ReadOnlyMemory`1[T] urlString, System.ReadOnlyMemory`1[T] localPath, System.Threading.CancellationToken cancellationToken) [0x00b9c] in <744d8c38dcd24ce483348c18235c3f17>:0 
    Source: mscorlib
    TargetSite: Void Throw()
    
2023-11-18 20:17:51.431 Info Server: http/1.1 Response 500 to host3. Time: 373ms. POST http://192.168.2.150:8096/emby/Library/VirtualFolders?collectionType=movies&refreshLibrary=true&name=Films&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.59&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json


And second one with smb://192.168.2.250/Films:

2023-11-18 20:22:06.016 Info Server: http/1.1 POST http://192.168.2.150:8096/emby/Environment/ValidatePath?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.59&X-Emby-Token=x_secret2_x&X-Emby-Language=fr. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
2023-11-18 20:22:06.337 Info Server: http/1.1 Response 204 to host3. Time: 322ms. POST http://192.168.2.150:8096/emby/Environment/ValidatePath?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.59&X-Emby-Token=x_secret2_x&X-Emby-Language=fr
2023-11-18 20:22:09.620 Info Server: http/1.1 POST http://192.168.2.150:8096/emby/Library/VirtualFolders?collectionType=movies&refreshLibrary=true&name=Films&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.59&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
2023-11-18 20:22:09.671 Error Server: Error processing request
	*** Error Report ***
	Version: 4.8.0.59
	Command line: /data/app/~~lUH-BLPliKsWsptszb_fQw==/com.emby.embyserver-xy9UtzDLqBC8jxxhpHCgFA==/base.apk
	Operating system: Android 11 (REL) SDK:30 BuildId:RTT0.211009.001  Incremental:5554 Patch-Level: 2023-06-05
	Framework: Mono 6.12.0 (2020-02/c633fe92383) 4.0.50524.0
	OS/Process: Arm/Arm
	Runtime: mscorlib.dll
	Processor count: 4
	Data path: /storage/emulated/0/Android/data/com.emby.embyserver/files
	Application path: /data/user/0/com.emby.embyserver
	Fingerprint: Nokia/SEI804NK/YYJ:11/RTT0.211009.001/5554:user/release-keys
	Model: Nokia Streaming Box 8010 - SEI Robotics/Nokia
	Hardware: YYJ/SEI804NK/amlogic/YYJ
	SupportedAbis: armeabi-v7a, armeabi
	System.IO.IOException: System.IO.IOException: Authentication Failed.
	  at EzSmb.Transports.Connection..ctor (EzSmb.Paths.PathSet pathSet, EzSmb.Params.ParamSet paramSet) [0x000f1] in <744d8c38dcd24ce483348c18235c3f17>:0 
	  at EzSmb.Node.GetNode (System.String path, EzSmb.Params.ParamSet paramSet, System.Boolean isDirectory) [0x00006] in <744d8c38dcd24ce483348c18235c3f17>:0 
	  at Emby.Server.Implementations.IO.SmbFileSystem.GetNode (System.String path, MediaBrowser.Model.IO.FileSystemCredentials credentials, System.Boolean isDirectory) [0x00055] in <744d8c38dcd24ce483348c18235c3f17>:0 
	  at Emby.Server.Implementations.IO.SmbFileSystem.DirectoryExists (System.String path, MediaBrowser.Model.IO.FileSystemCredentials credentials) [0x00000] in <744d8c38dcd24ce483348c18235c3f17>:0 
	  at Emby.Server.Implementations.IO.SmbFileSystem.DirectoryExists (System.String path) [0x00000] in <744d8c38dcd24ce483348c18235c3f17>:0 
	  at Emby.Server.Implementations.IO.ManagedFileSystem.DirectoryExists (System.String path) [0x0000e] in <744d8c38dcd24ce483348c18235c3f17>:0 
	  at Emby.Server.Implementations.Library.LibraryManager.<AddVirtualFolder>b__237_0 (MediaBrowser.Model.Configuration.MediaPathInfo i) [0x0000c] in <744d8c38dcd24ce483348c18235c3f17>:0 
	  at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0003f] in <2b518444249345309542daed2e208536>:0 
	  at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <2b518444249345309542daed2e208536>:0 
	  at Emby.Server.Implementations.Library.LibraryManager.AddVirtualFolder (System.String name, MediaBrowser.Model.Configuration.LibraryOptions options, System.Boolean refreshLibrary) [0x0002b] in <744d8c38dcd24ce483348c18235c3f17>:0 
	  at Emby.Api.Library.LibraryStructureService.Post (Emby.Api.Library.AddVirtualFolder request) [0x0007c] in <fd221a0af5d54d4ea896346689af375e>:0 
	  at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,object,object)
	  at Emby.Server.Implementations.Services.ServiceController+<>c__DisplayClass8_0.<VoidActionDelegate>b__0 (System.Object service, System.Object request) [0x00000] in <744d8c38dcd24ce483348c18235c3f17>:0 
	  at Emby.Server.Implementations.Services.ServiceController.Execute (Emby.Server.Implementations.HttpServer.HttpListenerHost appHost, System.Object requestDto, MediaBrowser.Model.Services.IRequest req, System.Type serviceType) [0x0008c] in <744d8c38dcd24ce483348c18235c3f17>:0 
	  at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync (Emby.Server.Implementations.HttpServer.HttpListenerHost httpHost, MediaBrowser.Controller.IServerApplicationHost appHost, MediaBrowser.Model.Services.IRequest httpReq, MediaBrowser.Model.Services.IResponse httpRes, MediaBrowser.Model.IO.IStreamHelper streamHelper, Emby.Server.Implementations.Services.RestPath restPath, System.String responseContentType, System.Threading.CancellationToken cancellationToken) [0x001d1] in <744d8c38dcd24ce483348c18235c3f17>:0 
	  at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler (MediaBrowser.Model.Services.IRequest httpReq, System.ReadOnlyMemory`1[T] urlString, System.ReadOnlyMemory`1[T] localPath, System.Threading.CancellationToken cancellationToken) [0x00b9c] in <744d8c38dcd24ce483348c18235c3f17>:0 
	Source: mscorlib
	TargetSite: Void Throw()
	
2023-11-18 20:17:51.431 Info Server: http/1.1 Response 500 to host3. Time: 373ms. POST http://192.168.2.150:8096/emby/Library/VirtualFolders?collectionType=movies&refreshLibrary=true&name=Films&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.59&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json
Link to comment
Share on other sites

31 minutes ago, unchio said:

Hi! Thans for your help!
Sure for full logs!

Here Full Log from Login to Error Message on Samba Mount with \\192.168.2.250\Films:

2023-11-18 20:16:56.865 Info Server: http/1.1 POST http://192.168.2.150:8096/emby/Users/authenticatebyname?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.59&X-Emby-Token=x_secret1_x&X-Emby-Language=fr. Host=host1, Connection=keep-alive, Content-Length=30, accept=application/json, User-Agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36, Content-Type=application/x-www-form-urlencoded; charset=UTF-8, Sec-GPC=1, Origin=host2, Referer=http://192.168.2.150:8096/web/index.html, Accept-Encoding=gzip, deflate, Accept-Language=fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7
2023-11-18 20:16:57.316 Info UserManager: Authentication request for admin has succeeded.
2023-11-18 20:16:57.325 Info SessionManager: Creating new access token for user 1 admin
2023-11-18 20:16:58.630 Info Server: http/1.1 Response 200 to host3. Time: 1764ms. POST http://192.168.2.150:8096/emby/Users/authenticatebyname?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.59&X-Emby-Token=x_secret1_x&X-Emby-Language=fr
2023-11-18 20:16:58.861 Info HttpServer: WS http://192.168.2.150:8096/embywebsocket?api_key=f0699f995ba34f0d93acf707f13f5967&deviceId=51445ffd-8030-4587-b695-b0f1369d0bd8. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
2023-11-18 20:16:58.870 Info Server: http/1.1 POST http://192.168.2.150:8096/emby/Sessions/Capabilities/Full?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.59&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
2023-11-18 20:17:00.261 Info Server: http/1.1 Response 204 to host3. Time: 1391ms. POST http://192.168.2.150:8096/emby/Sessions/Capabilities/Full?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.59&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json
2023-11-18 20:17:00.367 Info App: Sqlite: 284 - automatic index on LastWatchedEpisodes(SeriesPresentationUniqueKey)
2023-11-18 20:17:18.499 Error Server: Error processing request
    *** Error Report ***
    Version: 4.8.0.59
    Command line: /data/app/~~lUH-BLPliKsWsptszb_fQw==/com.emby.embyserver-xy9UtzDLqBC8jxxhpHCgFA==/base.apk
    Operating system: Android 11 (REL) SDK:30 BuildId:RTT0.211009.001  Incremental:5554 Patch-Level: 2023-06-05
    Framework: Mono 6.12.0 (2020-02/c633fe92383) 4.0.50524.0
    OS/Process: Arm/Arm
    Runtime: mscorlib.dll
    Processor count: 4
    Data path: /storage/emulated/0/Android/data/com.emby.embyserver/files
    Application path: /data/user/0/com.emby.embyserver
    Fingerprint: Nokia/SEI804NK/YYJ:11/RTT0.211009.001/5554:user/release-keys
    Model: Nokia Streaming Box 8010 - SEI Robotics/Nokia
    Hardware: YYJ/SEI804NK/amlogic/YYJ
    SupportedAbis: armeabi-v7a, armeabi
    System.ArgumentException: System.ArgumentException: Invalid path
      at System.IO.Path.GetDirectoryName (System.String path) [0x0000d] in <1b39a03c32ec46258a7821e202e0269f>:0 
      at Emby.Server.Implementations.IO.ManagedFileSystem.GetDirectoryName (System.String path) [0x00028] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.IO.ManagedFileSystem.ToFileSystemMetadata (System.String path) [0x0001f] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at System.Linq.Enumerable+SelectEnumerableIterator`2[TSource,TResult].ToList () [0x0001b] in <2b518444249345309542daed2e208536>:0 
      at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <2b518444249345309542daed2e208536>:0 
      at Emby.Server.Implementations.IO.ManagedFileSystem.NormalizeDuplicates (MediaBrowser.Model.IO.FileSystemMetadata[] paths, System.Boolean checkSubPaths) [0x00122] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.IO.ManagedFileSystem.CreateCommonFolderList () [0x000a8] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.IO.ManagedFileSystem.get_CommonFolders () [0x00000] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Api.EnvironmentService.GetDrives () [0x00000] in <fd221a0af5d54d4ea896346689af375e>:0 
      at Emby.Api.EnvironmentService.Get (Emby.Api.GetDrives request) [0x00000] in <fd221a0af5d54d4ea896346689af375e>:0 
      at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,object,object)
      at Emby.Server.Implementations.Services.ServiceController.Execute (Emby.Server.Implementations.HttpServer.HttpListenerHost appHost, System.Object requestDto, MediaBrowser.Model.Services.IRequest req, System.Type serviceType) [0x0008c] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync (Emby.Server.Implementations.HttpServer.HttpListenerHost httpHost, MediaBrowser.Controller.IServerApplicationHost appHost, MediaBrowser.Model.Services.IRequest httpReq, MediaBrowser.Model.Services.IResponse httpRes, MediaBrowser.Model.IO.IStreamHelper streamHelper, Emby.Server.Implementations.Services.RestPath restPath, System.String responseContentType, System.Threading.CancellationToken cancellationToken) [0x001d1] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler (MediaBrowser.Model.Services.IRequest httpReq, System.ReadOnlyMemory`1[T] urlString, System.ReadOnlyMemory`1[T] localPath, System.Threading.CancellationToken cancellationToken) [0x00b9c] in <744d8c38dcd24ce483348c18235c3f17>:0 
    Source: mscorlib
    TargetSite: Void Throw()
    
2023-11-18 20:17:44.075 Info Server: http/1.1 POST http://192.168.2.150:8096/emby/Environment/ValidatePath?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.59&X-Emby-Token=x_secret2_x&X-Emby-Language=fr. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
2023-11-18 20:17:45.243 Info Server: http/1.1 Response 204 to host3. Time: 1168ms. POST http://192.168.2.150:8096/emby/Environment/ValidatePath?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.59&X-Emby-Token=x_secret2_x&X-Emby-Language=fr
2023-11-18 20:17:51.059 Info Server: http/1.1 POST http://192.168.2.150:8096/emby/Library/VirtualFolders?collectionType=movies&refreshLibrary=true&name=Films&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.59&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
2023-11-18 20:17:51.429 Error Server: Error processing request
    *** Error Report ***
    Version: 4.8.0.59
    Command line: /data/app/~~lUH-BLPliKsWsptszb_fQw==/com.emby.embyserver-xy9UtzDLqBC8jxxhpHCgFA==/base.apk
    Operating system: Android 11 (REL) SDK:30 BuildId:RTT0.211009.001  Incremental:5554 Patch-Level: 2023-06-05
    Framework: Mono 6.12.0 (2020-02/c633fe92383) 4.0.50524.0
    OS/Process: Arm/Arm
    Runtime: mscorlib.dll
    Processor count: 4
    Data path: /storage/emulated/0/Android/data/com.emby.embyserver/files
    Application path: /data/user/0/com.emby.embyserver
    Fingerprint: Nokia/SEI804NK/YYJ:11/RTT0.211009.001/5554:user/release-keys
    Model: Nokia Streaming Box 8010 - SEI Robotics/Nokia
    Hardware: YYJ/SEI804NK/amlogic/YYJ
    SupportedAbis: armeabi-v7a, armeabi
    System.IO.IOException: System.IO.IOException: Authentication Failed.
      at EzSmb.Transports.Connection..ctor (EzSmb.Paths.PathSet pathSet, EzSmb.Params.ParamSet paramSet) [0x000f1] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at EzSmb.Node.GetNode (System.String path, EzSmb.Params.ParamSet paramSet, System.Boolean isDirectory) [0x00006] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.IO.SmbFileSystem.GetNode (System.String path, MediaBrowser.Model.IO.FileSystemCredentials credentials, System.Boolean isDirectory) [0x00055] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.IO.SmbFileSystem.DirectoryExists (System.String path, MediaBrowser.Model.IO.FileSystemCredentials credentials) [0x00000] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.IO.SmbFileSystem.DirectoryExists (System.String path) [0x00000] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.IO.ManagedFileSystem.DirectoryExists (System.String path) [0x0000e] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.Library.LibraryManager.<AddVirtualFolder>b__237_0 (MediaBrowser.Model.Configuration.MediaPathInfo i) [0x0000c] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0003f] in <2b518444249345309542daed2e208536>:0 
      at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <2b518444249345309542daed2e208536>:0 
      at Emby.Server.Implementations.Library.LibraryManager.AddVirtualFolder (System.String name, MediaBrowser.Model.Configuration.LibraryOptions options, System.Boolean refreshLibrary) [0x0002b] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Api.Library.LibraryStructureService.Post (Emby.Api.Library.AddVirtualFolder request) [0x0007c] in <fd221a0af5d54d4ea896346689af375e>:0 
      at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,object,object)
      at Emby.Server.Implementations.Services.ServiceController+<>c__DisplayClass8_0.<VoidActionDelegate>b__0 (System.Object service, System.Object request) [0x00000] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.Services.ServiceController.Execute (Emby.Server.Implementations.HttpServer.HttpListenerHost appHost, System.Object requestDto, MediaBrowser.Model.Services.IRequest req, System.Type serviceType) [0x0008c] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync (Emby.Server.Implementations.HttpServer.HttpListenerHost httpHost, MediaBrowser.Controller.IServerApplicationHost appHost, MediaBrowser.Model.Services.IRequest httpReq, MediaBrowser.Model.Services.IResponse httpRes, MediaBrowser.Model.IO.IStreamHelper streamHelper, Emby.Server.Implementations.Services.RestPath restPath, System.String responseContentType, System.Threading.CancellationToken cancellationToken) [0x001d1] in <744d8c38dcd24ce483348c18235c3f17>:0 
      at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler (MediaBrowser.Model.Services.IRequest httpReq, System.ReadOnlyMemory`1[T] urlString, System.ReadOnlyMemory`1[T] localPath, System.Threading.CancellationToken cancellationToken) [0x00b9c] in <744d8c38dcd24ce483348c18235c3f17>:0 
    Source: mscorlib
    TargetSite: Void Throw()
    
2023-11-18 20:17:51.431 Info Server: http/1.1 Response 500 to host3. Time: 373ms. POST http://192.168.2.150:8096/emby/Library/VirtualFolders?collectionType=movies&refreshLibrary=true&name=Films&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.59&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json


And second one with smb://192.168.2.250/Films:

2023-11-18 20:22:06.016 Info Server: http/1.1 POST http://192.168.2.150:8096/emby/Environment/ValidatePath?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.59&X-Emby-Token=x_secret2_x&X-Emby-Language=fr. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
2023-11-18 20:22:06.337 Info Server: http/1.1 Response 204 to host3. Time: 322ms. POST http://192.168.2.150:8096/emby/Environment/ValidatePath?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.59&X-Emby-Token=x_secret2_x&X-Emby-Language=fr
2023-11-18 20:22:09.620 Info Server: http/1.1 POST http://192.168.2.150:8096/emby/Library/VirtualFolders?collectionType=movies&refreshLibrary=true&name=Films&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.59&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
2023-11-18 20:22:09.671 Error Server: Error processing request
	*** Error Report ***
	Version: 4.8.0.59
	Command line: /data/app/~~lUH-BLPliKsWsptszb_fQw==/com.emby.embyserver-xy9UtzDLqBC8jxxhpHCgFA==/base.apk
	Operating system: Android 11 (REL) SDK:30 BuildId:RTT0.211009.001  Incremental:5554 Patch-Level: 2023-06-05
	Framework: Mono 6.12.0 (2020-02/c633fe92383) 4.0.50524.0
	OS/Process: Arm/Arm
	Runtime: mscorlib.dll
	Processor count: 4
	Data path: /storage/emulated/0/Android/data/com.emby.embyserver/files
	Application path: /data/user/0/com.emby.embyserver
	Fingerprint: Nokia/SEI804NK/YYJ:11/RTT0.211009.001/5554:user/release-keys
	Model: Nokia Streaming Box 8010 - SEI Robotics/Nokia
	Hardware: YYJ/SEI804NK/amlogic/YYJ
	SupportedAbis: armeabi-v7a, armeabi
	System.IO.IOException: System.IO.IOException: Authentication Failed.
	  at EzSmb.Transports.Connection..ctor (EzSmb.Paths.PathSet pathSet, EzSmb.Params.ParamSet paramSet) [0x000f1] in <744d8c38dcd24ce483348c18235c3f17>:0 
	  at EzSmb.Node.GetNode (System.String path, EzSmb.Params.ParamSet paramSet, System.Boolean isDirectory) [0x00006] in <744d8c38dcd24ce483348c18235c3f17>:0 
	  at Emby.Server.Implementations.IO.SmbFileSystem.GetNode (System.String path, MediaBrowser.Model.IO.FileSystemCredentials credentials, System.Boolean isDirectory) [0x00055] in <744d8c38dcd24ce483348c18235c3f17>:0 
	  at Emby.Server.Implementations.IO.SmbFileSystem.DirectoryExists (System.String path, MediaBrowser.Model.IO.FileSystemCredentials credentials) [0x00000] in <744d8c38dcd24ce483348c18235c3f17>:0 
	  at Emby.Server.Implementations.IO.SmbFileSystem.DirectoryExists (System.String path) [0x00000] in <744d8c38dcd24ce483348c18235c3f17>:0 
	  at Emby.Server.Implementations.IO.ManagedFileSystem.DirectoryExists (System.String path) [0x0000e] in <744d8c38dcd24ce483348c18235c3f17>:0 
	  at Emby.Server.Implementations.Library.LibraryManager.<AddVirtualFolder>b__237_0 (MediaBrowser.Model.Configuration.MediaPathInfo i) [0x0000c] in <744d8c38dcd24ce483348c18235c3f17>:0 
	  at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0003f] in <2b518444249345309542daed2e208536>:0 
	  at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <2b518444249345309542daed2e208536>:0 
	  at Emby.Server.Implementations.Library.LibraryManager.AddVirtualFolder (System.String name, MediaBrowser.Model.Configuration.LibraryOptions options, System.Boolean refreshLibrary) [0x0002b] in <744d8c38dcd24ce483348c18235c3f17>:0 
	  at Emby.Api.Library.LibraryStructureService.Post (Emby.Api.Library.AddVirtualFolder request) [0x0007c] in <fd221a0af5d54d4ea896346689af375e>:0 
	  at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,object,object)
	  at Emby.Server.Implementations.Services.ServiceController+<>c__DisplayClass8_0.<VoidActionDelegate>b__0 (System.Object service, System.Object request) [0x00000] in <744d8c38dcd24ce483348c18235c3f17>:0 
	  at Emby.Server.Implementations.Services.ServiceController.Execute (Emby.Server.Implementations.HttpServer.HttpListenerHost appHost, System.Object requestDto, MediaBrowser.Model.Services.IRequest req, System.Type serviceType) [0x0008c] in <744d8c38dcd24ce483348c18235c3f17>:0 
	  at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync (Emby.Server.Implementations.HttpServer.HttpListenerHost httpHost, MediaBrowser.Controller.IServerApplicationHost appHost, MediaBrowser.Model.Services.IRequest httpReq, MediaBrowser.Model.Services.IResponse httpRes, MediaBrowser.Model.IO.IStreamHelper streamHelper, Emby.Server.Implementations.Services.RestPath restPath, System.String responseContentType, System.Threading.CancellationToken cancellationToken) [0x001d1] in <744d8c38dcd24ce483348c18235c3f17>:0 
	  at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler (MediaBrowser.Model.Services.IRequest httpReq, System.ReadOnlyMemory`1[T] urlString, System.ReadOnlyMemory`1[T] localPath, System.Threading.CancellationToken cancellationToken) [0x00b9c] in <744d8c38dcd24ce483348c18235c3f17>:0 
	Source: mscorlib
	TargetSite: Void Throw()
	
2023-11-18 20:17:51.431 Info Server: http/1.1 Response 500 to host3. Time: 373ms. POST http://192.168.2.150:8096/emby/Library/VirtualFolders?collectionType=movies&refreshLibrary=true&name=Films&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.59&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json

HI, the authentication errors should be resolved in the next beta build. Thanks for providing this. 

Can you please attach the complete log file though, rather than a snippet? 

Link to comment
Share on other sites

between authentication and the 2 attempts I didn't remove the logs...I just cut them out for readability between the 2 attempts, but there is nothing more...

is it possible to activate a verbose mode /debug?

I will test the next build to see if there is any improvement...

Best regards

Link to comment
Share on other sites

21 hours ago, unchio said:

between authentication and the 2 attempts I didn't remove the logs...I just cut them out for readability between the 2 attempts, but there is nothing more...

is it possible to activate a verbose mode /debug?

I will test the next build to see if there is any improvement...

Best regards

OK please let us know how the next build compares. Thanks.

Link to comment
Share on other sites

Hi,


This morning I downloaded the latest build 4.8.0.60 and installed it on top of build xx.59.

I notice some difference, I now have an interactive list of locations when configuring the media library (something I didn't have with build xx.59).
In this list I find the network option, which when I select it detects Samba shares on my network. By then selecting the IP of my NAS, nothing more happens through this menu, and i can't validate anything.

Capturedcrandu2023-11-2008-15-24.png.b95418b90dccebd7f8e4537583d3e0e6.png

 

Capturedcrandu2023-11-2008-15-31.png.dbd646e13d9d604a953df209b3456656.png

 

So I tried to configure manually again with \\192.168.2.250\Films, then with smb://192.168.2.250/Films.

Unfortunately I come across the same failures as with the previous build...

I hope this will be fixed one day so I can use emby again.

I am attaching the full logs of my tests this morning as soon as the build is updated if that helps you.

Link to comment
Share on other sites

To be sure I completely uninstalled emby and installed the latest build. I find myself in the same situation.

However, I discovered something, when I want to configure a new media library if I go to the network menu, I find the IP of my NAS but I cannot validate anything (because I do not have the fields for authentication), you then just have to enter \\ in the folder field to bring up the user/password fields, by then clicking again on the NAS IP, I can clearly see its contents and I can select a folder.

image.png.21d1f74b806e41116b124bb37a6d01f3.png

 

image.png.105bab8382feb26f91076774d49a0b34.png

 

image.png.6d435a2e146a3996a109c8f98c7e5fe7.png

image.thumb.png.eea1d959473cff121e608842f9159380.png

image.thumb.png.1c416a4b827617b89aed40fb1ae3a63a.png

However, on the next validation I get the error again, and I end up with empty folders.

In any case emby is capable of reading the contents of my NAS, and the credentials to access it are therefore correct.

I will once again provide you with full logs.

Log2.txt

Link to comment
Share on other sites

Validating a path therefore always returns the following error (even though the authentication is good since emby manages to parse the content of the samba share).
 

2023-11-20 09:04:24.943 Info Server: http/1.1 POST http://192.168.2.150:8096/emby/ScheduledTasks/Running/6330ee8fb4a957f33981f89aa78b030f?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.60&X-Emby-Token=x_secret2_x&X-Emby-Language=fr. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
2023-11-20 09:04:24.956 Info TaskManager: Executing Scan media library
2023-11-20 09:04:24.957 Info Server: http/1.1 Response 204 to host1. Time: 15ms. POST http://192.168.2.150:8096/emby/ScheduledTasks/Running/6330ee8fb4a957f33981f89aa78b030f?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.60&X-Emby-Token=x_secret2_x&X-Emby-Language=fr
2023-11-20 09:04:24.976 Info TaskManager: Scan media library Completed after 0 minute(s) and 0 seconds
2023-11-20 09:04:48.313 Info Server: http/1.1 POST http://192.168.2.150:8096/emby/Library/VirtualFolders/LibraryOptions?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.60&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
2023-11-20 09:04:48.323 Info Server: http/1.1 Response 204 to host1. Time: 10ms. POST http://192.168.2.150:8096/emby/Library/VirtualFolders/LibraryOptions?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.60&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json
2023-11-20 09:05:17.552 Info Server: http/1.1 POST http://192.168.2.150:8096/emby/Environment/DirectoryContents?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.60&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
2023-11-20 09:05:17.957 Info Server: http/1.1 Response 200 to host1. Time: 405ms. POST http://192.168.2.150:8096/emby/Environment/DirectoryContents?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.60&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json
2023-11-20 09:05:22.406 Info Server: http/1.1 POST http://192.168.2.150:8096/emby/Environment/DirectoryContents?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.60&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
2023-11-20 09:05:23.160 Info Server: http/1.1 Response 200 to host1. Time: 754ms. POST http://192.168.2.150:8096/emby/Environment/DirectoryContents?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.60&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json
2023-11-20 09:05:25.969 Info Server: http/1.1 POST http://192.168.2.150:8096/emby/Environment/ValidatePath?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.60&X-Emby-Token=x_secret2_x&X-Emby-Language=fr. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
2023-11-20 09:05:26.294 Info Server: http/1.1 Response 204 to host1. Time: 326ms. POST http://192.168.2.150:8096/emby/Environment/ValidatePath?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.60&X-Emby-Token=x_secret2_x&X-Emby-Language=fr
2023-11-20 09:05:26.548 Info Server: http/1.1 POST http://192.168.2.150:8096/emby/Library/VirtualFolders/Paths?refreshLibrary=true&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.60&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
2023-11-20 09:05:26.618 Error Server: Error processing request
    *** Error Report ***
    Version: 4.8.0.60
    Command line: /data/app/~~PJ8VLfIUxjwFjg6tgibtDQ==/com.emby.embyserver-fFFQG2CtjiqovHTg_fr5Ww==/base.apk
    Operating system: Android 11 (REL) SDK:30 BuildId:RTT0.211009.001  Incremental:5554 Patch-Level: 2023-06-05
    Framework: Mono 6.12.0 (2020-02/c633fe92383) 4.0.50524.0
    OS/Process: Arm/Arm
    Runtime: mscorlib.dll
    Processor count: 4
    Data path: /storage/emulated/0/Android/data/com.emby.embyserver/files
    Application path: /data/user/0/com.emby.embyserver
    Fingerprint: Nokia/SEI804NK/YYJ:11/RTT0.211009.001/5554:user/release-keys
    Model: Nokia Streaming Box 8010 - SEI Robotics/Nokia
    Hardware: YYJ/SEI804NK/amlogic/YYJ
    SupportedAbis: armeabi-v7a, armeabi
    System.IO.IOException: System.IO.IOException: Authentication Failed.
      at EzSmb.Transports.Connection..ctor (EzSmb.Paths.PathSet pathSet, EzSmb.Params.ParamSet paramSet) [0x000f1] in <f32bbf46716e42be9ead2d22e8201797>:0 
      at EzSmb.Node.GetNode (System.String path, EzSmb.Params.ParamSet paramSet, System.Boolean isDirectory) [0x00006] in <f32bbf46716e42be9ead2d22e8201797>:0 
      at Emby.Server.Implementations.IO.SmbFileSystem.GetNode (System.String path, MediaBrowser.Model.IO.FileSystemCredentials credentials, System.Boolean isDirectory) [0x00055] in <f32bbf46716e42be9ead2d22e8201797>:0 
      at Emby.Server.Implementations.IO.SmbFileSystem.GetDirectoryInfo (System.String path) [0x00000] in <f32bbf46716e42be9ead2d22e8201797>:0 
      at Emby.Server.Implementations.IO.ManagedFileSystem.GetDirectoryInfo (System.String path) [0x0000e] in <f32bbf46716e42be9ead2d22e8201797>:0 
      at Emby.Server.Implementations.Library.LibraryManager.AddMediaPaths (MediaBrowser.Controller.Entities.CollectionFolder item, MediaBrowser.Model.Configuration.MediaPathInfo[] pathInfos, System.Boolean refreshLibrary) [0x0002e] in <f32bbf46716e42be9ead2d22e8201797>:0 
      at Emby.Api.Library.LibraryStructureService.Post (Emby.Api.Library.AddMediaPath request) [0x00048] in <35d2c48cde9747b7ac16993857ceec1e>:0 
      at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,object,object)
      at Emby.Server.Implementations.Services.ServiceController+<>c__DisplayClass8_0.<VoidActionDelegate>b__0 (System.Object service, System.Object request) [0x00000] in <f32bbf46716e42be9ead2d22e8201797>:0 
      at Emby.Server.Implementations.Services.ServiceController.Execute (Emby.Server.Implementations.HttpServer.HttpListenerHost appHost, System.Object requestDto, MediaBrowser.Model.Services.IRequest req, System.Type serviceType) [0x0008c] in <f32bbf46716e42be9ead2d22e8201797>:0 
      at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync (Emby.Server.Implementations.HttpServer.HttpListenerHost httpHost, MediaBrowser.Controller.IServerApplicationHost appHost, MediaBrowser.Model.Services.IRequest httpReq, MediaBrowser.Model.Services.IResponse httpRes, MediaBrowser.Model.IO.IStreamHelper streamHelper, Emby.Server.Implementations.Services.RestPath restPath, System.String responseContentType, System.Threading.CancellationToken cancellationToken) [0x001d1] in <f32bbf46716e42be9ead2d22e8201797>:0 
      at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler (MediaBrowser.Model.Services.IRequest httpReq, System.ReadOnlyMemory`1[T] urlString, System.ReadOnlyMemory`1[T] localPath, System.Threading.CancellationToken cancellationToken) [0x00b9c] in <f32bbf46716e42be9ead2d22e8201797>:0 
    Source: mscorlib
    TargetSite: Void Throw()
    
2023-11-20 09:05:26.620 Info Server: http/1.1 Response 500 to host1. Time: 73ms. POST http://192.168.2.150:8096/emby/Library/VirtualFolders/Paths?refreshLibrary=true&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.60&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json

 

Link to comment
Share on other sites

9 hours ago, unchio said:

Validating a path therefore always returns the following error (even though the authentication is good since emby manages to parse the content of the samba share).
 

2023-11-20 09:04:24.943 Info Server: http/1.1 POST http://192.168.2.150:8096/emby/ScheduledTasks/Running/6330ee8fb4a957f33981f89aa78b030f?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.60&X-Emby-Token=x_secret2_x&X-Emby-Language=fr. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
2023-11-20 09:04:24.956 Info TaskManager: Executing Scan media library
2023-11-20 09:04:24.957 Info Server: http/1.1 Response 204 to host1. Time: 15ms. POST http://192.168.2.150:8096/emby/ScheduledTasks/Running/6330ee8fb4a957f33981f89aa78b030f?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.60&X-Emby-Token=x_secret2_x&X-Emby-Language=fr
2023-11-20 09:04:24.976 Info TaskManager: Scan media library Completed after 0 minute(s) and 0 seconds
2023-11-20 09:04:48.313 Info Server: http/1.1 POST http://192.168.2.150:8096/emby/Library/VirtualFolders/LibraryOptions?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.60&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
2023-11-20 09:04:48.323 Info Server: http/1.1 Response 204 to host1. Time: 10ms. POST http://192.168.2.150:8096/emby/Library/VirtualFolders/LibraryOptions?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.60&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json
2023-11-20 09:05:17.552 Info Server: http/1.1 POST http://192.168.2.150:8096/emby/Environment/DirectoryContents?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.60&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
2023-11-20 09:05:17.957 Info Server: http/1.1 Response 200 to host1. Time: 405ms. POST http://192.168.2.150:8096/emby/Environment/DirectoryContents?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.60&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json
2023-11-20 09:05:22.406 Info Server: http/1.1 POST http://192.168.2.150:8096/emby/Environment/DirectoryContents?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.60&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
2023-11-20 09:05:23.160 Info Server: http/1.1 Response 200 to host1. Time: 754ms. POST http://192.168.2.150:8096/emby/Environment/DirectoryContents?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.60&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json
2023-11-20 09:05:25.969 Info Server: http/1.1 POST http://192.168.2.150:8096/emby/Environment/ValidatePath?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.60&X-Emby-Token=x_secret2_x&X-Emby-Language=fr. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
2023-11-20 09:05:26.294 Info Server: http/1.1 Response 204 to host1. Time: 326ms. POST http://192.168.2.150:8096/emby/Environment/ValidatePath?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.60&X-Emby-Token=x_secret2_x&X-Emby-Language=fr
2023-11-20 09:05:26.548 Info Server: http/1.1 POST http://192.168.2.150:8096/emby/Library/VirtualFolders/Paths?refreshLibrary=true&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.60&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
2023-11-20 09:05:26.618 Error Server: Error processing request
    *** Error Report ***
    Version: 4.8.0.60
    Command line: /data/app/~~PJ8VLfIUxjwFjg6tgibtDQ==/com.emby.embyserver-fFFQG2CtjiqovHTg_fr5Ww==/base.apk
    Operating system: Android 11 (REL) SDK:30 BuildId:RTT0.211009.001  Incremental:5554 Patch-Level: 2023-06-05
    Framework: Mono 6.12.0 (2020-02/c633fe92383) 4.0.50524.0
    OS/Process: Arm/Arm
    Runtime: mscorlib.dll
    Processor count: 4
    Data path: /storage/emulated/0/Android/data/com.emby.embyserver/files
    Application path: /data/user/0/com.emby.embyserver
    Fingerprint: Nokia/SEI804NK/YYJ:11/RTT0.211009.001/5554:user/release-keys
    Model: Nokia Streaming Box 8010 - SEI Robotics/Nokia
    Hardware: YYJ/SEI804NK/amlogic/YYJ
    SupportedAbis: armeabi-v7a, armeabi
    System.IO.IOException: System.IO.IOException: Authentication Failed.
      at EzSmb.Transports.Connection..ctor (EzSmb.Paths.PathSet pathSet, EzSmb.Params.ParamSet paramSet) [0x000f1] in <f32bbf46716e42be9ead2d22e8201797>:0 
      at EzSmb.Node.GetNode (System.String path, EzSmb.Params.ParamSet paramSet, System.Boolean isDirectory) [0x00006] in <f32bbf46716e42be9ead2d22e8201797>:0 
      at Emby.Server.Implementations.IO.SmbFileSystem.GetNode (System.String path, MediaBrowser.Model.IO.FileSystemCredentials credentials, System.Boolean isDirectory) [0x00055] in <f32bbf46716e42be9ead2d22e8201797>:0 
      at Emby.Server.Implementations.IO.SmbFileSystem.GetDirectoryInfo (System.String path) [0x00000] in <f32bbf46716e42be9ead2d22e8201797>:0 
      at Emby.Server.Implementations.IO.ManagedFileSystem.GetDirectoryInfo (System.String path) [0x0000e] in <f32bbf46716e42be9ead2d22e8201797>:0 
      at Emby.Server.Implementations.Library.LibraryManager.AddMediaPaths (MediaBrowser.Controller.Entities.CollectionFolder item, MediaBrowser.Model.Configuration.MediaPathInfo[] pathInfos, System.Boolean refreshLibrary) [0x0002e] in <f32bbf46716e42be9ead2d22e8201797>:0 
      at Emby.Api.Library.LibraryStructureService.Post (Emby.Api.Library.AddMediaPath request) [0x00048] in <35d2c48cde9747b7ac16993857ceec1e>:0 
      at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,object,object)
      at Emby.Server.Implementations.Services.ServiceController+<>c__DisplayClass8_0.<VoidActionDelegate>b__0 (System.Object service, System.Object request) [0x00000] in <f32bbf46716e42be9ead2d22e8201797>:0 
      at Emby.Server.Implementations.Services.ServiceController.Execute (Emby.Server.Implementations.HttpServer.HttpListenerHost appHost, System.Object requestDto, MediaBrowser.Model.Services.IRequest req, System.Type serviceType) [0x0008c] in <f32bbf46716e42be9ead2d22e8201797>:0 
      at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync (Emby.Server.Implementations.HttpServer.HttpListenerHost httpHost, MediaBrowser.Controller.IServerApplicationHost appHost, MediaBrowser.Model.Services.IRequest httpReq, MediaBrowser.Model.Services.IResponse httpRes, MediaBrowser.Model.IO.IStreamHelper streamHelper, Emby.Server.Implementations.Services.RestPath restPath, System.String responseContentType, System.Threading.CancellationToken cancellationToken) [0x001d1] in <f32bbf46716e42be9ead2d22e8201797>:0 
      at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler (MediaBrowser.Model.Services.IRequest httpReq, System.ReadOnlyMemory`1[T] urlString, System.ReadOnlyMemory`1[T] localPath, System.Threading.CancellationToken cancellationToken) [0x00b9c] in <f32bbf46716e42be9ead2d22e8201797>:0 
    Source: mscorlib
    TargetSite: Void Throw()
    
2023-11-20 09:05:26.620 Info Server: http/1.1 Response 500 to host1. Time: 73ms. POST http://192.168.2.150:8096/emby/Library/VirtualFolders/Paths?refreshLibrary=true&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=51445ffd-8030-4587-b695-b0f1369d0bd8&X-Emby-Client-Version=4.8.0.60&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json

 

Thanks, resolved for next build.

Link to comment
Share on other sites

  • 2 weeks later...

Hi,

As promised, the 4.8.0.61 review.

So I can now add network folders and navigate through subfolders from the add to media library wizard:

image.png.4168061f9c7af13d35f5de3a7fe0f5f3.png

image.png.c3f017d944f07e92d881348c87c4e4c1.png

 

This allows me to correctly add my different sources to my media library:


image.thumb.png.c198ed5569ce40b4a23bbe1f9f49394b.png

But, Unfortunately the folders then remain empty, and I end up with very long logs, because when scanning the library, emby ends up with an authentication error for each sub-folder of each share...

For example, for the folder that we can enter via the wizard (See screen above), we then end up with this type of error when scanning with emby:
 

2023-11-28 19:19:08.771 Error App: Error in GetFileSystemEntries for smb://192.168.2.250/Films/Merci patron
    *** Error Report ***
    Version: 4.8.0.61
    Command line: /data/app/~~9-CSMnx9zPYUyfEyApnlWA==/com.emby.embyserver-Fa8nOQUtnncqjaFIREb9xA==/base.apk
    Operating system: Android 11 (REL) SDK:30 BuildId:RTT0.211009.001  Incremental:5554 Patch-Level: 2023-06-05
    Framework: Mono 6.12.0 (2020-02/c633fe92383) 4.0.50524.0
    OS/Process: Arm/Arm
    Runtime: mscorlib.dll
    Processor count: 4
    Data path: /storage/emulated/0/Android/data/com.emby.embyserver/files
    Application path: /data/user/0/com.emby.embyserver
    Fingerprint: Nokia/SEI804NK/YYJ:11/RTT0.211009.001/5554:user/release-keys
    Model: Nokia Streaming Box 8010 - SEI Robotics/Nokia
    Hardware: YYJ/SEI804NK/amlogic/YYJ
    SupportedAbis: armeabi-v7a, armeabi
    System.IO.IOException: System.IO.IOException: Authentication Failed.
      at EzSmb.Transports.Connection..ctor (EzSmb.Paths.PathSet pathSet, EzSmb.Params.ParamSet paramSet) [0x000f1] in <20f43d6ec8d94f69ab1db8ffbecf92ae>:0 
      at EzSmb.Node.GetNode (System.String path, EzSmb.Params.ParamSet paramSet, System.Boolean isDirectory) [0x00006] in <20f43d6ec8d94f69ab1db8ffbecf92ae>:0 
      at Emby.Server.Implementations.IO.SmbFileSystem.GetNode (System.String path, MediaBrowser.Model.IO.FileSystemCredentials credentials, System.Boolean isDirectory) [0x00055] in <20f43d6ec8d94f69ab1db8ffbecf92ae>:0 
      at Emby.Server.Implementations.IO.SmbFileSystem.CreateSmbDirectoryForListFiles (System.String path, MediaBrowser.Model.IO.FileSystemCredentials credentials) [0x00011] in <20f43d6ec8d94f69ab1db8ffbecf92ae>:0 
      at Emby.Server.Implementations.IO.SmbFileSystem.GetFileSystemEntries (System.String path, System.Boolean recursive, MediaBrowser.Model.IO.FileSystemCredentials credentials) [0x00000] in <20f43d6ec8d94f69ab1db8ffbecf92ae>:0 
      at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemEntries (System.String path, System.Boolean recursive, MediaBrowser.Model.IO.FileSystemCredentials credentials) [0x0000e] in <20f43d6ec8d94f69ab1db8ffbecf92ae>:0 
      at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntriesInternal (System.String path) [0x00000] in <2b725545666c41a299912cf837ce89d6>:0 
      at System.Collections.Concurrent.ConcurrentDictionary`2[TKey,TValue].GetOrAdd (TKey key, System.Func`2[T,TResult] valueFactory) [0x00034] in <1b39a03c32ec46258a7821e202e0269f>:0 
      at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries (System.String path, System.Boolean clearCache) [0x00015] in <2b725545666c41a299912cf837ce89d6>:0 
      at MediaBrowser.Controller.Providers.DirectoryService.GetFileSystemEntries (System.String path) [0x00000] in <2b725545666c41a299912cf837ce89d6>:0 
      at MediaBrowser.Controller.Resolvers.BaseItemResolver`1[T].GetFileSystemEntries (MediaBrowser.Controller.Providers.IDirectoryService directoryService, System.String path) [0x00000] in <2b725545666c41a299912cf837ce89d6>:0 
    Source: Emby.Server.Implementations
    TargetSite: Void .ctor(EzSmb.Paths.PathSet, EzSmb.Params.ParamSet)

Authentication should be preserved whatever the action carried out by Emby and whatever the depth level at the folder level (so as not to then have the same problem with serial sub-folders for example)...

If you need additional information, do not hesitate.

Link to comment
Share on other sites

9 hours ago, unchio said:

Hi, OK,

I will test it and report back to you here!

Hi, I have never had much success with samba as it always would freeze or stutter on me but using shared drives worked really well. I used freenas years ago and did have it setup good so I thought but it would still stutter on video. Out of frustration I bought a cheap computer tower that was able to house lots of hard drives and I installed windows and set all hard drives as shared, this was hard wired to modem and I still use this as it now does not stutter or freeze. I know you have your mind set on samba so I wish you the best, cheers!

Also this all runs through routerOS I use it as my source for vpn/socks which my family uses to connect to emby, also it allows them to use my netflix with my ip address so we don't get the nag of using it outside of the home message.

Link to comment
Share on other sites

@WokenHi,
 

Thank you for your feedback.

In reality, I have been using multimedia solutions for more than 15 years, first on hard drives that had a mini OS and codecs adapted with a local drive, then with an HTPC under Freenas on a network, then with a NAS and a Corelec server on Cubox-i, then under XBMC, for some time with samba shares on a Synology NAS, and emby installed on a non-rooted Android TV (on which I cannot locally mount the samba for share it with an application)...

I also have a KODI server installed on the same device which works perfectly well in samba, without any freezes or lags. And in the end, if I want to do without samba, I take the disk from my NAS and I put it in an external box that I connect via USB to my Android TV...There are plenty of solutions indeed!

However:
- I like Emby's client-server approach, and the fact of being able to install the client on many devices, which is much less native on Kodi due to its architecture.
- For years Emby administrators indicated that only local shares were authorized, which effectively excluded all non-rootable devices, network mounts have been overdue for a very long time.
- The new version "finally" brings this functionality which I think can be useful to lots of people. And it has to work perfectly before the final version if Emby wants the users who will use it to adhere without turning to another solution.
- it also helps developers to test their solutions and provide them with exhaustive feedback which then allows them to correct for as many people as possible. They do a lot of work on the solution and can't test everything on all devices.

So I will continue to test the releases, until the samba works perfectly ;) Even if, you are right, for those who can, avoid this connection method.

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Hello,

I installed and tested version 4.8.0.62 and everything now seems to work in terms of samba authentication.

I indeed managed to connect all the shares and access the resources on them!

Thank you for the work, for my part I consider that emby now correctly manages authenticated network shares.

  • Thanks 1
Link to comment
Share on other sites

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