Jump to content

Check for Plugin and Application Updates failed


Skyobliwind

Recommended Posts

Skyobliwind

For me that doesn't seem to be the Problem, but I reasearched a little, installed a second instance of the plugin, also installed a freebsd jail and setup the newest beta in it.

When installing the beta I noticed the downloadlink

"https://github.com/MediaBrowser/Emby.Releases/releases/download/4.4.0.30/emby-server-freebsd11_4.4.0.30_amd64.txz"

and when revieweing my errorlog I see

-updatepackage emby-server-freebsd_{version}_amd64.txz at the end of the update command

 

The small but BIG difference I noticed is the missing of the freebsd version in that Link

if I manually try to resolve https://github.com/MediaBrowser/Emby.Releases/releases/download/4.2.1.0/emby-server-freebsd_4.2.1.0_amd64.txz in my Browser I also get Error 404

but if I add the FreeBSD Version 11 in the Link to

https://github.com/MediaBrowser/Emby.Releases/releases/download/4.2.1.0/emby-server-freebsd11_4.2.1.0_amd64.txz

it resolves perfectly good.

 

Is it possible that you forgot to change the Update Link when you included FreeBSD12 support?

I am rly sure changing this would fix the Problem for me.

(But I think for security reasons I can't change the Updatelink myself ?)

 

Regards

Link to comment
Share on other sites

For me that doesn't seem to be the Problem, but I reasearched a little, installed a second instance of the plugin, also installed a freebsd jail and setup the newest beta in it.

When installing the beta I noticed the downloadlink

"https://github.com/MediaBrowser/Emby.Releases/releases/download/4.4.0.30/emby-server-freebsd11_4.4.0.30_amd64.txz"

and when revieweing my errorlog I see

-updatepackage emby-server-freebsd_{version}_amd64.txz at the end of the update command

 

The small but BIG difference I noticed is the missing of the freebsd version in that Link

if I manually try to resolve https://github.com/MediaBrowser/Emby.Releases/releases/download/4.2.1.0/emby-server-freebsd_4.2.1.0_amd64.txz in my Browser I also get Error 404

but if I add the FreeBSD Version 11 in the Link to

https://github.com/MediaBrowser/Emby.Releases/releases/download/4.2.1.0/emby-server-freebsd11_4.2.1.0_amd64.txz

it resolves perfectly good.

 

Is it possible that you forgot to change the Update Link when you included FreeBSD12 support?

I am rly sure changing this would fix the Problem for me.

(But I think for security reasons I can't change the Updatelink myself ?)

 

Regards

 

Hi, can you please attach the emby server log so that we can see an example of that? Thanks.

Link to comment
Share on other sites

For me that doesn't seem to be the Problem, but I reasearched a little, installed a second instance of the plugin, also installed a freebsd jail and setup the newest beta in it.

When installing the beta I noticed the downloadlink

"https://github.com/MediaBrowser/Emby.Releases/releases/download/4.4.0.30/emby-server-freebsd11_4.4.0.30_amd64.txz"

and when revieweing my errorlog I see

-updatepackage emby-server-freebsd_{version}_amd64.txz at the end of the update command

 

The small but BIG difference I noticed is the missing of the freebsd version in that Link

if I manually try to resolve https://github.com/MediaBrowser/Emby.Releases/releases/download/4.2.1.0/emby-server-freebsd_4.2.1.0_amd64.txz in my Browser I also get Error 404

but if I add the FreeBSD Version 11 in the Link to

https://github.com/MediaBrowser/Emby.Releases/releases/download/4.2.1.0/emby-server-freebsd11_4.2.1.0_amd64.txz

it resolves perfectly good.

 

Is it possible that you forgot to change the Update Link when you included FreeBSD12 support?

I am rly sure changing this would fix the Problem for me.

(But I think for security reasons I can't change the Updatelink myself ?)

 

Regards

 

Ok reading through this again, the freebsd package urls have changed since 4.3 so that's the difference. Back during Emby Server 4.2 development was only had one freebsd package. Then during 4.3 we split it into two packages, one for each freebsd version.

 

Does this answer your question?

Link to comment
Share on other sites

Skyobliwind

Kind of. It confirms my guess, but how do I fix this? I have the newest available FreeNas plugin installed (4.2.10). Can I somehow manually change the link on which the server tries to search for updates? Or will the 4.3.10 Version release as FreeNAS Plugin in near future with the fix? I just want to stop the "Search for Plugin Updates failed" and "Search for Server Updates failed" messages ^^

Link to comment
Share on other sites

 

 

Or will the 4.3.10 Version release as FreeNAS Plugin in near future with the fix?

We're hoping it will, although we'll be releasing 4.4 any day now.

Link to comment
Share on other sites

Skyobliwind

I can also Post the whole Log, but the Interesting part will be:

20 19:14:47.779 Info TaskManager: StartupTrigger fired for task: Check for plugin updates
2020-03-20 19:14:47.779 Info TaskManager: StartupTrigger fired for task: Check for application updates
2020-03-20 19:14:47.780 Info TaskManager: Queueing task PluginUpdateTask
2020-03-20 19:14:47.780 Info TaskManager: Queueing task SystemUpdateTask
2020-03-20 19:14:47.782 Info TaskManager: Executing Check for application updates
2020-03-20 19:14:47.782 Info TaskManager: Executing Check for plugin updates
2020-03-20 19:14:47.786 Info HttpClient: HttpClientManager GET: https://www.mb3admin.com/admin/service/EmbyPackages.json
2020-03-20 19:14:47.842 Info TaskManager: Check for application updates Completed after 0 minute(s) and 0 seconds
2020-03-20 19:14:47.851 Info TaskManager: ExecuteQueuedTasks
2020-03-20 19:14:50.834 Error HttpClient: Error NameResolutionFailure getting response from 
	*** 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.3.6.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
	System.Net.WebException: System.Net.WebException: Error: NameResolutionFailure
	  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 
	Source: System
	TargetSite: System.Net.WebResponse EndGetResponse(System.IAsyncResult)

As you can see in the End of "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"
it says emby-server-freebsd and not emby-server-freebsd11

 

Same for the Server and for the Plugin Updates

Edited by Skyobliwind
Link to comment
Share on other sites

Generally this is caused by something blocking Emby Server from sending the requests, such as a firewall, security software, or VPN. Can you look into this? 

Link to comment
Share on other sites

Skyobliwind

Nah, we turn around I think ^^

 

I already looked Up everything for quite some time now. Everything works BUT

the Update link inside the automatically created Freenas Plugin Jail seems to bee broken.

Just try to manually type in your Browser --github.com/MediaBrowser/Emby.Releases/releases/download/4.2.1.0/emby-server-freebsd_4.2.1.0_amd64.txz-- (THAT is the Link my emby plugin looks for updates) and you will get Error 404

The actually WORKING link is --github.com/MediaBrowser/Emby.Releases/releases/download/4.2.1.0/emby-server-freebsd11_4.2.1.0_amd64.txz--

 

The link that my plugin uses misses the 11 in it so it can't find anything there, because you seem to have changed the link AFTER the plugin was released and it still uses the old Link.

Link to comment
Share on other sites

We don't actually release the FreeNAS plugin ourselves. We submit to FreeBSD ports, and FreeNAS picks it up from there. 

Link to comment
Share on other sites

Skyobliwind

So there is no way for me to fix the Link somewhere in the Update config? Any File on the System or something?

In the Log I can see the command that is run, but not from where it is triggered.

Link to comment
Share on other sites

There is no automatic update for FreeBSD. The only thing that does is notify you when an update is available, so that notification is all you're missing out on. Well that and plugin updates.

Link to comment
Share on other sites

MRobi

If you're decently fluent with FreeNAS you could also manually install 4.3.1.0 from shell using the beta instructions with the 4.3.1.0 package

Link to comment
Share on other sites

  • 5 weeks later...

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