Jump to content

Multiple errors in ubuntu causing slow dashboard loading


medstudent12

Recommended Posts

medstudent12

these are the three most recurrent errors

2019-04-12 05:20:25.048 Error App: Error in ffprobe
*** Error Report ***
Version: 4.0.2.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: Unix 4.4.0.143
64-Bit OS: True
64-Bit Process: True
User Interactive: True
Processor count: 8
Program data path: /var/lib/emby
Application directory: /opt/emby-server/system
System.Exception: System.Exception: Error running ffprobe for "http://localhost:9988/default.py?mode=video&username=drive&filename=1Z5nMyang3uVdpCW2VlnfpQeuuB7SnRnj&title=Daawat-E-Ishq.2014.720p.BluRay.nHD.x264-NhaNc3.mkv" - 
   at Emby.Server.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Boolean forceEnableLogging, CancellationToken cancellationToken)
   at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, LibraryOptions libraryOptions, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken)
Source: Emby.Server.MediaEncoding
TargetSite: Void MoveNext()
   at Emby.Server.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Boolean forceEnableLogging, CancellationToken cancellationToken)
   at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, LibraryOptions libraryOptions, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken)


2019-04-12 05:20:25.110 Error MediaEncoder: ProcessRun 'ffprobe' Error Output:
ffprobe version 4.0.2-emby_2018_12_09 Copyright (c) 2007-2018 the FFmpeg developers
  built with gcc 6.3.0 (crosstool-NG crosstool-ng-1.23.0)
  configuration: --cc=x86_64-pc-linux-gnu-gcc --arch=x86_64 --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --pkg-config=pkg-config --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libwebp --enable-libx264 --enable-libzvbi --enable-version3 --enable-libsmbclient --enable-cuda --enable-cuvid --enable-libmfx --enable-nvenc --enable-vaapi --enable-cross-compile --cross-prefix=x86_64-pc-linux-gnu- --extra-libs='-lexpat -lfreetype -lfribidi -lfontconfig -liconv -lpng -lz -lvorbis -logg -lnettle -lhogweed -lgmp -laddns-samba4 -lasn1util-samba4 -lauthkrb5-samba4 -lCHARSET3-samba4 -lcliauth-samba4 -lcli-cldap-samba4 -lcli-ldap-common-samba4 -lcli-nbt-samba4 -lcli-smb-common-samba4 -lcom_err -lcommon-auth-samba4 -ldbwrap-samba4 -ldcerpc-binding -ldcerpc-samba-samba4 -ldl -lflag-mapping-samba4 -lgenrand-samba4 -lgensec-samba4 -lgse-samba4 -lgssapi_krb5 -llibcli-lsa3-samba4 -llibsmb-samba4 -linterfaces-samba4 -liov-buf-samba4 -lk5crypto -lkrb5 -lkrb5samba-samba4 -lkrb5support -lldb -lldbsamba-samba4 -lmessages-dgm-samba4 -lmessages-util-samba4 -lmsghdr-samba4 -lmsrpc3-samba4 -lndr -lndr-krb5pac -lndr-nbt -lndr-samba-samba4 -lndr-standard -lreplace-samba4 -lsamba-cluster-support-samba4 -lsamba-credentials -lsamba-debug-samba4 -lsamba-errors -lsamba-hostconfig -lsamba-modules-samba4 -lsamba-security-samba4 -lsamba-sockets-samba4 -lsamba-util -lsamba3-util-samba4 -lsamdb -lsamdb-common-samba4 -lsecrets3-samba4 -lserver-id-db-samba4 -lserver-role-samba4 -lsmbconf -lsmbd-shim-samba4 -lsmb-transport-samba4 -lsocket-blocking-samba4 -lsys-rw-samba4 -ltalloc -ltalloc-report-samba4 -ltdb -ltdb-wrap-samba4 -ltevent -ltevent-util -ltime-basic-samba4 -lutil-cmdline-samba4 -lutil-reg-samba4 -lutil-setid-samba4 -lutil-tdb-samba4 -luuid -lwbclient -lwinbind-client-samba4 -ldrm' --target-os=linux --enable-shared --disable-static
  libavutil      56. 14.100 / 56. 14.100
  libavcodec     58. 18.100 / 58. 18.100
  libavformat    58. 12.100 / 58. 12.100
  libavdevice    58.  3.100 / 58.  3.100
  libavfilter     7. 16.100 /  7. 16.100
  libswscale      5.  1.100 /  5.  1.100
  libswresample   3.  1.100 /  3.  1.100
  libpostproc    55.  1.100 / 55.  1.100
2019-04-12 13:29:46.519 Error ProviderManager: Error in metadata saver
*** Error Report ***
Version: 4.0.2.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: Unix 4.4.0.143
64-Bit OS: True
64-Bit Process: True
User Interactive: True
Processor count: 8
Program data path: /var/lib/emby
Application directory: /opt/emby-server/system
System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/home/muneeb/pythondrive/movies/darr(1993)/darr(1993) - 420p.nfo' is denied. ---> System.IO.IOException: Permission denied
   --- End of inner exception stack trace ---
   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream(String path, FileOpenMode mode, FileAccessMode access, FileShareMode share, FileOpenOptions fileOpenOptions)
   at NfoMetadata.Savers.BaseNfoSaver.SaveToFile(Stream stream, String path)
   at NfoMetadata.Savers.BaseNfoSaver.Save(BaseItem item, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.ProviderManager.SaveMetadata(BaseItem item, ItemUpdateType updateType, IMetadataSaver[] savers, CancellationToken cancellationToken)
Source: System.Private.CoreLib
TargetSite: Void ThrowExceptionForIoErrno(ErrorInfo, System.String, Boolean, System.Func`2[Interop+ErrorInfo,Interop+ErrorInfo])
   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream(String path, FileOpenMode mode, FileAccessMode access, FileShareMode share, FileOpenOptions fileOpenOptions)
   at NfoMetadata.Savers.BaseNfoSaver.SaveToFile(Stream stream, String path)
   at NfoMetadata.Savers.BaseNfoSaver.Save(BaseItem item, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.ProviderManager.SaveMetadata(BaseItem item, ItemUpdateType updateType, IMetadataSaver[] savers, CancellationToken cancellationToken)
InnerException: System.IO.IOException: Permission denied
Source: 
TargetSite: 
2019-04-12 17:29:09.450 Error App: FfmpegCommandHandler:SendThrottleCommand Timeout waiting for throttle confirmation.
*** Error Report ***
Version: 4.0.2.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: Unix 4.4.0.143
64-Bit OS: True
64-Bit Process: True
User Interactive: True
Processor count: 8
Program data path: /var/lib/emby
Application directory: /opt/emby-server/system
System.Threading.Tasks.TaskCanceledException: System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at Emby.Server.MediaEncoding.ProcessRun.Extensions.InteractiveCommandHandler.ResponseReader.WaitForResponse(Int32 timeoutMs, CancellationToken token)
   at Emby.Server.MediaEncoding.ProcessRun.Extensions.FfmpegCommandHandler.SendThrottleCommand(Int32 throttleMs, CancellationToken token)
Source: System.Private.CoreLib
TargetSite: Void ThrowForNonSuccess(System.Threading.Tasks.Task)
   at Emby.Server.MediaEncoding.ProcessRun.Extensions.InteractiveCommandHandler.ResponseReader.WaitForResponse(Int32 timeoutMs, CancellationToken token)
   at Emby.Server.MediaEncoding.ProcessRun.Extensions.FfmpegCommandHandler.SendThrottleCommand(Int32 throttleMs, CancellationToken token)

 

Log 144.txt

Edited by medstudent12
Link to comment
Share on other sites

Hi there, please attach the complete emby server log.

 

However the second one is something you'll need to look at. You enabled nfo file saving but did not ensure that Emby has write access to your media folders. Thanks.

Link to comment
Share on other sites

medstudent12

Hi there, please attach the complete emby server log.

 

However the second one is something you'll need to look at. You enabled nfo file saving but did not ensure that Emby has write access to your media folders. Thanks.

thank you so much for your extremely fast reply I forgot to click attach file fixed the error now

 

also I had already done  chmod -R 755 ./    on the media file that contains the strm files

 

it is still giving the errors

 

do I need to do it anywhere else?

Edited by medstudent12
Link to comment
Share on other sites

To improve the performance of your Emby Server, you could remove the following plugins:

	Statistics 2.0.9.1

You could turn off the realtime monitor for your Emby libraries, as it appears in this log you had a lot of file updates occurring and Emby Server was reacting to those changes.

 

And you could also turn off subtitle downloading. But I would probably start with the realtime monitor. It's a setting for each individual library. And then restart the server after turning it off. Please let us know if this helps. Thanks.

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