Jump to content

Repetitive error message on 4.6.1.0 - CLOSED


Recommended Posts

adrianwi
Posted (edited)

I'm seeing this error message over and over again after upgrading (it might have been there before):

*** Error Report ***
	Version: 4.6.1.0
	Command line: /usr/local/lib/emby-server/system/EmbyServer.exe -os freebsd -ffdetect /usr/local/lib/emby-server/bin/ffdetect -ffmpeg /usr/local/lib/emby-server/bin/ffmpeg -ffprobe /usr/local/lib/emby-server/bin/ffprobe -programdata /var/db/emby-server -updatepackage emby-server-freebsd12_{version}_amd64.txz
	Operating system: Unix 12.2.6.0 
	Framework: Mono: 5.10.1.57 (5.10.1.57 Sat May 22 03:05:01 UTC 2021)
	OS/Process: X64/X64
	Runtime: usr/local/lib/mono/4.5/mscorlib.dll
	Processor count: 8
	Data path: /var/db/emby-server
	Application path: /usr/local/lib/emby-server/system
	System.Net.Sockets.SocketException: System.Net.Sockets.SocketException (0x80004005): The requested address is not valid in this context
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <0e06830de9a44394a7e366951eabca52>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <0e06830de9a44394a7e366951eabca52>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <0e06830de9a44394a7e366951eabca52>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <0e06830de9a44394a7e366951eabca52>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <0e06830de9a44394a7e366951eabca52>:0 
	  at Rssdp.SsdpCommunicationsServer+<SendFromSocket>d__19.MoveNext () [0x000a9] in <875c5ee257fb4cccbc091d707cfe3a57>:0 
	Source: mscorlib
	TargetSite: Void Throw()
	
2021-05-25 22:10:07.661 Error App: Error sending socket message from 127.0.0.1:64757 to 239.255.255.250:1900

Everything is working fine, but wondered what's going on here?  Is it a message failing to send, and if so what's the message and who/what is it being sent to?

Thanks

Edited by adrianwi
Link to post
Share on other sites
Luke

Hi there, can you please attach the complete emby server log? thanks.

Link to post
Share on other sites
adrianwi

I don't have time to anonymise a complete log at the minute, but this message is repeating over and over again.  

Link to post
Share on other sites
Luke

It is harmless although I'd certainly like to clean it up and get it out of the log.

Link to post
Share on other sites
adrianwi
Posted (edited)

@LukeDid you managed to find what's causing this?

Edited by adrianwi
Link to post
Share on other sites
adrianwi

Ok.  You've stated it's harmless but what message is trying to be sent and to where?

Link to post
Share on other sites
Luke

I think I've got this resolved. Thanks.

Link to post
Share on other sites
  • 2 weeks later...
adrianwi

I don't appear to be seeing this on 4.6.3.0, so thanks!

I am seeing this one though:

2021-06-22 05:02:00.855 Error App: Error in Dynamic Image Provider
	*** Error Report ***
	Version: 4.6.3.0
	Command line: /usr/local/lib/emby-server/system/EmbyServer.exe -os freebsd -ffdetect /usr/local/lib/emby-server/bin/ffdetect -ffmpeg /usr/local/lib/emby-server/bin/ffmpeg -ffprobe /usr/local/lib/emby-server/bin/ffprobe -programdata /var/db/emby-server -updatepackage emby-server-freebsd12_{version}_amd64.txz
	Operating system: Unix 12.2.6.0 
	Framework: Mono: 5.10.1.57 (5.10.1.57 Sat May 22 03:05:01 UTC 2021)
	OS/Process: X64/X64
	Runtime: usr/local/lib/mono/4.5/mscorlib.dll
	Processor count: 8
	Data path: /var/db/emby-server
	Application path: /usr/local/lib/emby-server/system
	System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path "/media/photos/Xmas 2010/_MG_2742.CR2" or "/var/db/emby-server/cache/temp/96f91174b1564dfdb45c3bbd7c070fc7.CR2" is denied.
	  at System.IO.File.Copy (System.String sourceFileName, System.String destFileName, System.Boolean overwrite) [0x00192] in <0e06830de9a44394a7e366951eabca52>:0 
	  at Emby.Server.Implementations.IO.ManagedFileSystem.CopyFile (System.String source, System.String target, System.Boolean overwrite) [0x00038] in <1523add972e0408a8f6dd712afe369ee>:0 
	  at Emby.Server.Implementations.Images.BaseDynamicImageProvider`1[T].CreateSingleImage (System.Collections.Generic.IList`1[T] itemsWithImages, System.String outputPathWithoutExtension, MediaBrowser.Model.Entities.ImageType imageType) [0x00055] in <1523add972e0408a8f6dd712afe369ee>:0 
	  at Emby.Server.Implementations.Photos.BaseFolderImageProvider`1[T].CreateImage (MediaBrowser.Controller.Entities.BaseItem item, System.Collections.Generic.IList`1[T] itemsWithImages, System.String outputPathWithoutExtension, MediaBrowser.Model.Entities.ImageType imageType, System.Int32 imageIndex) [0x00000] in <1523add972e0408a8f6dd712afe369ee>:0 
	  at Emby.Server.Implementations.Images.BaseDynamicImageProvider`1+<FetchToFileInternal>d__21[T].MoveNext () [0x0004f] in <1523add972e0408a8f6dd712afe369ee>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <0e06830de9a44394a7e366951eabca52>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <0e06830de9a44394a7e366951eabca52>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <0e06830de9a44394a7e366951eabca52>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <0e06830de9a44394a7e366951eabca52>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <0e06830de9a44394a7e366951eabca52>:0 
	  at Emby.Server.Implementations.Images.BaseDynamicImageProvider`1+<FetchAsync>d__19[T].MoveNext () [0x000f4] in <1523add972e0408a8f6dd712afe369ee>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <0e06830de9a44394a7e366951eabca52>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <0e06830de9a44394a7e366951eabca52>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <0e06830de9a44394a7e366951eabca52>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <0e06830de9a44394a7e366951eabca52>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <0e06830de9a44394a7e366951eabca52>:0 
	  at MediaBrowser.Providers.Manager.MetadataService`2+<RunCustomProvider>d__40[TItemType,TIdType].MoveNext () [0x000df] in <86b2592156464d188a5923087a9b21dd>:0 
	Source: mscorlib
	TargetSite: Void Throw()

Is this just a permissions issue on that folder/file?

Thanks

Link to post
Share on other sites
Luke
System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path "/media/photos/Xmas 2010/_MG_2742.CR2" or "/var/db/emby-server/cache/temp/96f91174b1564dfdb45c3bbd7c070fc7.CR2" is denied.

That's for you to resolve.

Link to post
Share on other sites
adrianwi

Do the permissions work in the same way for all folders?  From what I can see I have the same permissions on my media folders (which I moved TV and movies into) as I do for the backup folders (which I store photos and home videos), but the photo's library doesn't seem to like them.  

Link to post
Share on other sites
Luke

Yes it's just trying to do a file copy from one location to the other.

Link to post
Share on other sites
adrianwi

I eventually got this working without any errors in the log, but I needed to delete the library and create a new one.  Didn't change the permissions, so really not sure what was going on.  I'd created my photo library some time ago, and never really used it, so perhaps something changed in an update along the way.

Link to post
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...