Jump to content

Check for Plugin and Application Updates failed


Skyobliwind
 Share

Recommended Posts

Skyobliwind

Hi, since I installed teh FreeNas Plugin a few days ago I see warings regarding checks for application and plugin updates are failed in the webgui overview.

 

That's the error Message it shows me wen clicking on the info i :

at Emby.Server.Implementations.HttpClientManager.HttpClientManager+<SendAsyncInternal>d__19.MoveNext () [0x00689] in <450b368eae8f4cb8ab4853f8ffe89952>: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.HttpClientManager.HttpClientManager+<SendAsync>d__16.MoveNext () [0x001f4] in <450b368eae8f4cb8ab4853f8ffe89952>: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.Common.Updates.GithubUpdater+<CheckForUpdateResult>d__3.MoveNext () [0x000f6] in <e88e67a86b714aa8b917b2c675e7302a>: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.ApplicationHost+<CheckForApplicationUpdate>d__397.MoveNext () [0x00157] in <450b368eae8f4cb8ab4853f8ffe89952>: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.ScheduledTasks.SystemUpdateTask+<Execute>d__11.MoveNext () [0x00086] in <450b368eae8f4cb8ab4853f8ffe89952>: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+ConfiguredTaskAwaiter.GetResult () [0x00000] in <0e06830de9a44394a7e366951eabca52>:0
at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker+<ExecuteInternal>d__69.MoveNext () [0x00188] in <450b368eae8f4cb8ab4853f8ffe89952>:0

The end of the emby.txt Logfile shows that:

2020-01-06 21:39:57.712 Error PortMapper: Error creating port map
        *** Error Report ***
        Version: 4.2.1.0
        Command line: /usr/local/lib/emby-server/system/EmbyServer.exe -os freebsd -ffmpeg /usr/local/bin/ffmpeg -ffprobe /usr/local/bin/ffprobe -programdata /var/db/emby-server -updatepackage emby-server-freebsd_{version}_amd64.txz
        Operating system: Unix 11.2.0.0
        64-Bit OS: True
        64-Bit Process: True
        User Interactive: False
        Mono: 5.10.1.57 (5.10.1.57 Tue Dec 10 07:40:49 UTC 2019)
        Runtime: file:///usr/local/lib/mono/4.5/mscorlib.dll
        Processor count: 12
        Program data path: /var/db/emby-server
        Application directory: /usr/local/lib/emby-server/system
        MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: The remote server returned an error: (500) Internal Server Error. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
          at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00058] in <b3922b7d60404fa9ae645f1fb97f5b6b>:0
          at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x0000f] in <0e06830de9a44394a7e366951eabca52>:0
           --- End of inner exception stack trace ---
          at Emby.Server.Implementations.HttpClientManager.HttpClientManager+<SendAsyncInternal>d__19.MoveNext () [0x00689] in <450b368eae8f4cb8ab4853f8ffe89952>: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.HttpClientManager.HttpClientManager+<SendAsync>d__16.MoveNext () [0x0009e] in <450b368eae8f4cb8ab4853f8ffe89952>: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 Mono.Nat.Upnp.UpnpNatDevice+<CreatePortMap>d__24.MoveNext () [0x0009c] in <47b55f4f151e462cbc0e43e453118463>: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+ConfiguredTaskAwaiter.GetResult () [0x00000] in <0e06830de9a44394a7e366951eabca52>:0
          at Emby.PortMapper.ExternalPortForwarding+<CreateRules>d__17.MoveNext () [0x00106] in <47b55f4f151e462cbc0e43e453118463>:0
        Source: mscorlib
        TargetSite: Void Throw()
        InnerException: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
        Source: System
        TargetSite: System.Net.WebResponse EndGetResponse(System.IAsyncResult)
          at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00058] in <b3922b7d60404fa9ae645f1fb97f5b6b>:0
          at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x0000f] in <0e06830de9a44394a7e366951eabca52>:0

I don't use emby and freenas long enogh to interprete everything, but "The remote server returned an error: (500) Internal Server Error" sounds like the problem is with the download source?

 

The normal Network connection works without issues internal and external. I can reach the server from the internet so the pure connection shouldn't be the problem.
 

Link to comment
Share on other sites

Skyobliwind

Ok, full log attached.

 

Maybe it matters:

 

I use FreeNas 11.2U7 with the emby Plugin Version 4.2.1.0_1 on release 11.2 P15 of FreeBSD.

embyserver.txt

Edited by Skyobliwind
Link to comment
Share on other sites

have you configured the network for the jail? From our perspective it just looks like something is blocking the outgoing communications.

 

@@makarai

@@MRobi

 

Do you have any tips?

Link to comment
Share on other sites

Skyobliwind

The logfile contains some DNS error. The DNS Server is the default router. Maybe the Vnet is a problem?

 

5e13a5d891701_emby.png

Link to comment
Share on other sites

Skyobliwind

Which scheduled task do I have to trigger to manually start the search for plugin and application updates?

Edited by Skyobliwind
Link to comment
Share on other sites

Skyobliwind

Hm, I tried if enabling the "allow tun-adapter" option helps anything, but seems it doesnt.

I also read it may be some dns problems, that kinda also is what I read in another topic also related to this error,

but if I connect to the emby via ssh (yes I am on the emby iocage, not the freenas host) I can ping every domain I want.

Also I can INSTALL plugins,so the connection seems to work. Maybe it's some timing problem?

Does the network need longer to establish than the emby service to search for plugins?

 

Next I will try if enabling the netwait feature in freenas settings will fix this.

 

Is there a way to clear all messages shown under warinings in emby webgui?

Link to comment
Share on other sites

The timeout is 20 seconds so that should be enough. There's currently no way to clear alerts but that's not a bad idea.

Link to comment
Share on other sites

MRobi

The logfile contains some DNS error. The DNS Server is the default router. Maybe the Vnet is a problem?

 

BPF does not need to be enabled for Emby, but I don't think that would cause a dns issue.

 

Have you configured your network interface in the FreeNAS settings?

Link to comment
Share on other sites

Skyobliwind

As expected this didn't fix anything. But I rly don't understand what the problem is. I can resolve any domain and and internal client from emby and ping everything. Also I can INSTALL plugins from the emby webconsole. It just casts that error on every boot. But everything works fine. The Log definitly says DNS error. What I also find in the log is:

MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: Error: TrustFailure (One or more errors occurred.) 
---> System.Net.WebException: Error: TrustFailure (One or more errors occurred.) 
---> System.AggregateException: One or more errors occurred. 
---> System.Security.Authentication.AuthenticationException: A call to SSPI failed, see inner exception. 
---> Mono.Btls.MonoBtlsException: Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED

I explicitly deactivated secure connection and didn't put any ssl certificate. Do Plugin Updates need a secure connection?

 

But I see this error many times in the logfile especially when the server tries to connect to MusicBrainz or example it seems to need an ssl certificate for musicbraniz.

 

Also the automatic port mapping seems to cast an error sometimes. But it doesn't let me save if I disable it in the webgui.  I set 8096 as local and public port and forwarded that port tcp and udp to the emby in the router. I can connect from external and view videos, so I'd say it works...

rror PortMapper: Error creating port map
	*** Error Report ***
	Version: 4.2.1.0
	Command line: /usr/local/lib/emby-server/system/EmbyServer.exe -os freebsd -ffmpeg /usr/local/bin/ffmpeg -ffprobe /usr/local/bin/ffprobe -programdata /var/db/emby-server -updatepackage emby-server-freebsd_{version}_amd64.txz
	Operating system: Unix 11.2.0.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: False
	Mono: 5.10.1.57 (5.10.1.57 Tue Dec 10 07:40:49 UTC 2019)
	Runtime: file:///usr/local/lib/mono/4.5/mscorlib.dll
	Processor count: 12
	Program data path: /var/db/emby-server
	Application directory: /usr/local/lib/emby-server/system
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: The remote server returned an error: (500) Internal Server Error. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
	  at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00058] in <b3922b7d60404fa9ae645f1fb97f5b6b>:0 
	  at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x0000f] in <0e06830de9a44394a7e366951eabca52>:0 
	   --- End of inner exception stack trace ---
	  at Emby.Server.Implementations.HttpClientManager.HttpClientManager+<SendAsyncInternal>d__19.MoveNext () [0x00689] in <450b368eae8f4cb8ab4853f8ffe89952>: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.HttpClientManager.HttpClientManager+<SendAsync>d__16.MoveNext () [0x0009e] in <450b368eae8f4cb8ab4853f8ffe89952>: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 Mono.Nat.Upnp.UpnpNatDevice+<CreatePortMap>d__24.MoveNext () [0x0009c] in <47b55f4f151e462cbc0e43e453118463>: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+ConfiguredTaskAwaiter.GetResult () [0x00000] in <0e06830de9a44394a7e366951eabca52>:0 
	  at Emby.PortMapper.ExternalPortForwarding+<CreateRules>d__17.MoveNext () [0x00106] in <47b55f4f151e462cbc0e43e453118463>:0 
	Source: mscorlib
	TargetSite: Void Throw()
	InnerException: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
	Source: System
	TargetSite: System.Net.WebResponse EndGetResponse(System.IAsyncResult)
	  at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00058] in <b3922b7d60404fa9ae645f1fb97f5b6b>:0 
	  at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x0000f] in <0e06830de9a44394a7e366951eabca52>:0 
	

I will try if adding an ssl certificate does something. At least it will make musicbrainz available if I see that errorlog ^^
 

Link to comment
Share on other sites

 

 

I will try if adding an ssl certificate does something.

 

It will have no impact on these outgoing requests.

Link to comment
Share on other sites

Skyobliwind

well, I STILL don't understand this. I still says "Check for plugin updates failed" and "Check for application updates failed" after booting.

BUT it updates plugins when updates are available. The messages are just disturbing but don't seem to have any impact. I don't rly understand whats going on there. (And normally I know what my computers do :D )

But a real DNS problem would cause problems and not only a message. Automatic updates shouldn't work, but they do.

 

5e20e0106a1da_Hm.png

Link to comment
Share on other sites

It's two different domains. It checks github for server releases, and our domain for plugin updates. So it sounds like it's unable to reach github to check for server updates.

Link to comment
Share on other sites

  • 1 month later...
Skyobliwind

I still couldn't figure out whats the "problem". I will try if this also occurs when I manually setup a FreeBSD Jail and install emby there instead of using the official freenas Plugin.

Link to comment
Share on other sites

MRobi

@@MRobi do you run into this on FreeBSD?

Similar. It was a permissions issue where FreeNAS didn't have read/write permission to the plugins directory so not really an issue with being able to connect to the server.

 

@@Skyobliwind do you run any sort of firewall software that may be blocking this connection? 

Link to comment
Share on other sites

MRobi

@@MRobi do you run into this on FreeBSD?

I take it back. On my stable server I'm actually seeing the same error for "Check for Plugin Updates". On my beta server I'm not.

Link to comment
Share on other sites

I take it back. On my stable server I'm actually seeing the same error for "Check for Plugin Updates". On my beta server I'm not.

 

What's the error message?

Link to comment
Share on other sites

Happy2Play

I take it back. On my stable server I'm actually seeing the same error for "Check for Plugin Updates". On my beta server I'm not.

The task runs every 3 hours is it alway failing?

Link to comment
Share on other sites

MRobi

What's the error message?

Here's the error. I'm on my way out the door so I can't troubleshoot, but looking at the error I've got a theory.

I'm using a plugin that's in testing and not on the server. I've never looked at the permissions of the plugin file which means they likely have a different owner and emby may not have write access to it. I'll check the permissions tonight and see if that stops the error.

 

EDIT: I couldn't leave without looking. That plugin had permissions set to 0644 and a different file owner, so Emby did not have write access to the file. I just changed the file owner and I'll see what happens tonight.

*** Error Report ***
	Version: 4.3.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 -noautorunwebapp
	Operating system: Unix 11.2.0.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: False
	Mono: 5.10.1.57 (5.10.1.57 Thu Nov 21 02:14:56 UTC 2019)
	Runtime: file:///usr/local/lib/mono/4.5/mscorlib.dll
	Processor count: 32
	Program data path: /var/db/emby-server
	Application directory: /usr/local/lib/emby-server/system
	System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path "/var/db/emby-server/cache/temp/3db4caa1-64d1-4853-8c8e-54a18dd5efae.tmp" or "/var/db/emby-server/plugins/SamsungSmartThings.dll" 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 <ea16a5cfc8b849ea8a8b03b4ad685e1f>:0 
	  at Emby.Server.Implementations.Updates.InstallationManager+<PerformPackageInstallation>d__63.MoveNext () [0x00205] in <ea16a5cfc8b849ea8a8b03b4ad685e1f>: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+ConfiguredTaskAwaiter.GetResult () [0x00000] in <0e06830de9a44394a7e366951eabca52>:0 
	  at Emby.Server.Implementations.Updates.InstallationManager+<InstallPackageInternal>d__62.MoveNext () [0x00118] in <ea16a5cfc8b849ea8a8b03b4ad685e1f>: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+ConfiguredTaskAwaiter.GetResult () [0x00000] in <0e06830de9a44394a7e366951eabca52>:0 
	  at Emby.Server.Implementations.Updates.InstallationManager+<InstallPackage>d__61.MoveNext () [0x003ab] in <ea16a5cfc8b849ea8a8b03b4ad685e1f>: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+ConfiguredTaskAwaiter.GetResult () [0x00000] in <0e06830de9a44394a7e366951eabca52>:0 
	  at Emby.Server.Implementations.ScheduledTasks.PluginUpdateTask+<Execute>d__7.MoveNext () [0x0017d] in <ea16a5cfc8b849ea8a8b03b4ad685e1f>: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+ConfiguredTaskAwaiter.GetResult () [0x00000] in <0e06830de9a44394a7e366951eabca52>:0 
	  at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker+<ExecuteInternal>d__69.MoveNext () [0x00190] in <ea16a5cfc8b849ea8a8b03b4ad685e1f>:0 
	Source: mscorlib
	TargetSite: Void Throw()
	
2020-03-06 00:13:42.700 Info TaskManager: Check for plugin updates Failed after 0 minute(s) and 1 seconds

Edited by MRobi
Link to comment
Share on other sites

@@MRobi, that's a write access problem:

System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path "/var/db/emby-server/cache/temp/3db4caa1-64d1-4853-8c8e-54a18dd5efae.tmp" or "/var/db/emby-server/plugins/SamsungSmartThings.dll" is denied.
	
Link to comment
Share on other sites

MRobi

 

@@MRobi, that's a write access problem:

System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path "/var/db/emby-server/cache/temp/3db4caa1-64d1-4853-8c8e-54a18dd5efae.tmp" or "/var/db/emby-server/plugins/SamsungSmartThings.dll" is denied.
	

Exactly as I thought. Changing the permission on SamsungSmartThings.dll solved the error message.

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
 Share

×
×
  • Create New...