Zellogize 3 Posted January 14, 2023 Posted January 14, 2023 Hello! After upgrading to titles version of Emby I started experiencing an issue with playing music. The issue is that it takes a few seconds before playing, both first song and loading the next one. Around maybe 5-10 seconds delay/loading/pause. Tried with android app(over same network/wifi and on 4g/mobile network), local emby theater and web-browser. Playing the same songs with different applications, both from the same pc and over the network, works without issues. I've had it up for a few days just to be sure, with a few restarts of both the server and emby-server. When downgrading to my previous version, 4.7.8.0, it works fine again. I can't see any errors or weird numbers in the log. 1ms when playing locally. Attaching logs, the one ending in 3380 you can see it both in the beginning and the end of the log. And the current log you see the playback at the end. This is straight after downgrading. Anyone else experiencing this? I couldn't find any recent topics on Linux with this. My system is Ubuntu 22.04.1. Let me know if any more info is needed! embyserver(2).txt embyserver-63809293380.txt
Happy2Play 9780 Posted January 15, 2023 Posted January 15, 2023 Looks like you have a network issue on 4.7.11.0. 2023-01-14 01:08:10.495 Error MediaSourceManager: Error getting media sources *** Error Report *** Version: 4.7.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 5.15.0-58-generic (buildd@lcy02-amd64-101) (gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #64-Ubuntu Framework: .NET 6.0.8 OS/Process: x64/x64 Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 24 Data path: /var/lib/emby Application path: /opt/emby-server/system SharpCifs.Smb.SmbException: SharpCifs.Smb.SmbException: Failed to connect: 0.0.0.0<00>/192.168.1.68 at SharpCifs.Smb.SmbTransport.Connect() at SharpCifs.Smb.SmbTree.TreeConnect(ServerMessageBlock andx, ServerMessageBlock andxResponse) at SharpCifs.Smb.SmbFile.DoConnect() at SharpCifs.Smb.SmbFile.Connect() at SharpCifs.Smb.SmbFile.Connect0() at SharpCifs.Smb.SmbFile.QueryPath(String path, Int32 infoLevel) at SharpCifs.Smb.SmbFile.Exists() at Emby.Server.Implementations.IO.SharpCifsFileSystem.AssertDirectoryExists(SmbFile file, String path) at Emby.Server.Implementations.IO.SharpCifsFileSystem.GetFiles(String path, String[] extensions, Boolean enableCaseSensitiveExtensions, Boolean recursive) at FolderSync.SyncProvider.GetFiles(String[] directoryPathParts, SyncTarget target, CancellationToken cancellationToken) at Emby.Server.Sync.SyncedMediaSourceProvider.GetMediaSources(BaseItem item, CancellationToken cancellationToken) at Emby.Server.Implementations.Library.MediaSourceManager.GetDynamicMediaSources(BaseItem item, IMediaSourceProvider provider, CancellationToken cancellationToken) SharpCifs.Util.Transport.TransportException: I/O error occurred. at SharpCifs.Util.Transport.Transport.Connect(Int64 timeout) at SharpCifs.Smb.SmbTransport.Connect() SharpCifs.Util.Transport.TransportException: I/O error occurred. at SharpCifs.Util.Transport.Transport.Connect(Int64 timeout) SharpCifs.Util.Sharpen.ConnectException: Can't connect to end point. at SharpCifs.Util.Sharpen.SocketEx.Connect(IPEndPoint endPoint, Int32 timeOut) at SharpCifs.Smb.SmbTransport.Negotiate(Int32 port, ServerMessageBlock resp) at SharpCifs.Smb.SmbTransport.DoConnect() at SharpCifs.Util.Transport.Transport.Run() Source: Emby.Server.Implementations TargetSite: Void Connect()
Luke 42078 Posted January 15, 2023 Posted January 15, 2023 Hi, is your smb share available? What I would suggest is instead of adding an smb path directly into emby server, try mounting the share to a local path in the OS, and then import that local path into emby server.
Zellogize 3 Posted January 15, 2023 Author Posted January 15, 2023 12 hours ago, Happy2Play said: Looks like you have a network issue on 4.7.11.0. 2023-01-14 01:08:10.495 Error MediaSourceManager: Error getting media sources *** Error Report *** Version: 4.7.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 5.15.0-58-generic (buildd@lcy02-amd64-101) (gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #64-Ubuntu Framework: .NET 6.0.8 OS/Process: x64/x64 Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 24 Data path: /var/lib/emby Application path: /opt/emby-server/system SharpCifs.Smb.SmbException: SharpCifs.Smb.SmbException: Failed to connect: 0.0.0.0<00>/192.168.1.68 at SharpCifs.Smb.SmbTransport.Connect() at SharpCifs.Smb.SmbTree.TreeConnect(ServerMessageBlock andx, ServerMessageBlock andxResponse) at SharpCifs.Smb.SmbFile.DoConnect() at SharpCifs.Smb.SmbFile.Connect() at SharpCifs.Smb.SmbFile.Connect0() at SharpCifs.Smb.SmbFile.QueryPath(String path, Int32 infoLevel) at SharpCifs.Smb.SmbFile.Exists() at Emby.Server.Implementations.IO.SharpCifsFileSystem.AssertDirectoryExists(SmbFile file, String path) at Emby.Server.Implementations.IO.SharpCifsFileSystem.GetFiles(String path, String[] extensions, Boolean enableCaseSensitiveExtensions, Boolean recursive) at FolderSync.SyncProvider.GetFiles(String[] directoryPathParts, SyncTarget target, CancellationToken cancellationToken) at Emby.Server.Sync.SyncedMediaSourceProvider.GetMediaSources(BaseItem item, CancellationToken cancellationToken) at Emby.Server.Implementations.Library.MediaSourceManager.GetDynamicMediaSources(BaseItem item, IMediaSourceProvider provider, CancellationToken cancellationToken) SharpCifs.Util.Transport.TransportException: I/O error occurred. at SharpCifs.Util.Transport.Transport.Connect(Int64 timeout) at SharpCifs.Smb.SmbTransport.Connect() SharpCifs.Util.Transport.TransportException: I/O error occurred. at SharpCifs.Util.Transport.Transport.Connect(Int64 timeout) SharpCifs.Util.Sharpen.ConnectException: Can't connect to end point. at SharpCifs.Util.Sharpen.SocketEx.Connect(IPEndPoint endPoint, Int32 timeOut) at SharpCifs.Smb.SmbTransport.Negotiate(Int32 port, ServerMessageBlock resp) at SharpCifs.Smb.SmbTransport.DoConnect() at SharpCifs.Util.Transport.Transport.Run() Source: Emby.Server.Implementations TargetSite: Void Connect() Hhm, the IP 192.168.1.68 was my previous local IP for the server. Not sure why it's trying to connect to that.. After a firmware upgrade on my router I changed the local IPs. I don't have any libraries connected with SMB either, all stored on the same PC. Mounted using the fstab file on restarts. LABEL=18 /mnt/18 auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=18 0 0 LABEL=8tb-nas /media/zellogi auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=8tb 0 0 ^ This is from fstab. 10 hours ago, Luke said: Hi, is your smb share available? What I would suggest is instead of adding an smb path directly into emby server, try mounting the share to a local path in the OS, and then import that local path into emby server. I have one smb share, but nothing connected from/with emby. All libraries are directly mounted, and are stored on the same PC as the emby-server. For reference I don't have a NAS or anything other than this server. Just devices connecting to emby.
Luke 42078 Posted January 19, 2023 Posted January 19, 2023 On 1/15/2023 at 9:23 AM, Zellogize said: Hhm, the IP 192.168.1.68 was my previous local IP for the server. Not sure why it's trying to connect to that.. After a firmware upgrade on my router I changed the local IPs. I don't have any libraries connected with SMB either, all stored on the same PC. Mounted using the fstab file on restarts. LABEL=18 /mnt/18 auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=18 0 0 LABEL=8tb-nas /media/zellogi auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=8tb 0 0 ^ This is from fstab. I have one smb share, but nothing connected from/with emby. All libraries are directly mounted, and are stored on the same PC as the emby-server. For reference I don't have a NAS or anything other than this server. Just devices connecting to emby. You must have something still pointing there, either a library, or maybe in the Folder Sync plugin?
Zellogize 3 Posted January 21, 2023 Author Posted January 21, 2023 On 19/01/2023 at 23:36, Luke said: You must have something still pointing there, either a library, or maybe in the Folder Sync plugin? Went through all plugins, libraries and settings. I can't see anything pointing to any IP. I'm also fairly sure I've never used any network disc/smb on emby. Only local storage so far. The goal is to do that later, but not for the moment. Two spinning disks mounted at /mnt and /media. Transcode folder is on /media. I had sync plugin installed, but never used so now uninstalled. Cache is default. Been spending some time looking for something. Searching and looked through all the settings I can see. Tried using a grep command for that IP, but seems there is too much in those folders(/opt/emby-server and /var/lib/emby), so it's still going after 24ish hours.. Will update if/when it completes. I can't read the DLL files, so can't check the error location said above. I could take a ton of screenshots, but that seems unnecessary. Since I have two folders on most libraries I can't show from the overview. But like I said all are on /media or /mnt.
Solution Zellogize 3 Posted April 25, 2023 Author Solution Posted April 25, 2023 I've been meaning to post the issue/solving a while. Always forgot.. For some reason when upgraded it used the settings of foldersync(was not installed when browsing plugins). I cannot remember clearly, but pretty sure I could not install or find it on the updated server. To solve it I reverted back, installed Foldersync again, removed all settings and lastly updated again. Updating just in case someone some day experience a similar issue. 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now