Emby Plugin in 11.1 no longer works - needs updating

Status
Not open for further replies.

Ravenshield

Cadet
Joined
Aug 2, 2017
Messages
8
3.3.1.0 seems to be the latest version being offered.
The theatre app is showing an error that the server needs to be updated to allow sign in.

Based on these threads
https://forums.freenas.org/index.ph...-been-updated-in-some-time.68979/#post-473665
https://forums.freenas.org/index.php?threads/updating-local-plugin-plex-emby.64343/#post-460938

It looks like no one is going to update it, but at this point the plugin is useless
And 11.2 is still in beta

Is there any way someone can update the existing Plugin until 11.2 is out?
 

-Mael-

Dabbler
Joined
Mar 26, 2016
Messages
17
Last edited:

tobo

Dabbler
Joined
Feb 6, 2015
Messages
32
I have used this procedure to update my Emby plugin:

Code:
1: putty(or similar) into your freenas server
2: iocage console emby
3: service emby-server stop
4: cd /tmp
5: fetch https://github.com/MediaBrowser/Emby/releases/download/3.4.1.5/Emby.Mono.zip (swap with address of latest file found here: https://github.com/MediaBrowser/Emby/releases)
6: unzip -d /tmp/emby Emby.Mono.zip
7: cp -Rfp /tmp/emby/ /usr/local/lib/emby-server
8: rm -r /tmp/emby
9: rm /tmp/Emby.Mono.zip
10: service emby-server start


this is from https://emby.media/community/index.php?/topic/58920-manually-upgrading-emby-on-freenas-or-freebsd/

Note: my step 2 looks different, I am using "jls" to identify the jail number of the emby plugin, then (assuming the number is 9)

Code:
jexec 9 csh


and then continue with step 3. check the latest version of Emby.Mono.zip at https://github.com/MediaBrowser/Emby/releases/ and replace it accordingly in step 5 (3.5.0.0 as I write it)
 

-Mael-

Dabbler
Joined
Mar 26, 2016
Messages
17
Thanks for this.. Looking at the thread you referenced, there's an alternate series of steps referenced if you're still on the warden jail system in FreeNAS 9.10.2-U6.

Code:
1: putty(or similar) into your freenas server
2: jls (find the jail # that corresponds to emby from the list generated, in this example we will assume 5)
3: jexec 5
4: service emby-server stop
5: cd /tmp
6: fetch https://github.com/MediaBrowser/Emby/releases/download/3.4.1.5/Emby.Mono.zip (swap with address of latest file found here: https://github.com/MediaBrowser/Emby/releases)
7: unzip -d /tmp/emby Emby.Mono.zip
8: cp -Rfp /tmp/emby/ /usr/pbi/emby-amd64/lib/emby-server
9: rm -r /tmp/emby
10: rm /tmp/Emby.Mono.zip
11: service emby-server start


There'd some discussion of the need to upgrade mono as well. Do you know if I'll need to upgrade any other components?
 
Last edited:

tobo

Dabbler
Joined
Feb 6, 2015
Messages
32
I don't know, it works well for me.
If you create a snapshot before performing this, you should be fine.
 

-Mael-

Dabbler
Joined
Mar 26, 2016
Messages
17
I don't know, it works well for me.
If you create a snapshot before performing this, you should be fine.

Thanks again for your response... one last question. Can you tell me which version of mono and Emby server your running? To check the mono version I simply ran the following commands:

Code:
jexec 3
/usr/pbi/emby-amd64/bin/mono --version
 

tobo

Dabbler
Joined
Feb 6, 2015
Messages
32
I got the following result:

Code:
root@emby_1:/ # /usr/pbi/emby-amd64/bin/mono --version
Mono JIT compiler version 4.6.1 (Stable 4.6.1.5/ef43c15 Mon Jun 12 05:53:22 UTC 2017)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:		   __thread
	SIGSEGV:	   altstack
	Notification:  kqueue
	Architecture:  amd64
	Disabled:	  none
	Misc:		  softdebug
	LLVM:		  supported, not enabled.
	GC:			sgen


I am running FreeNAS 11.2Beta3 btw.

EDIT: Oh I see... my Emby version is still reported as 3.3.1.0...
 

-Mael-

Dabbler
Joined
Mar 26, 2016
Messages
17
I got it working. Looks like Ebmy server version 3.4.1.0 is compatible with Mono version 4.6.1.5. Here are the final set of steps that worked for me.

Code:
1: putty(or similar) into your freenas server
2: jls (find the jail # that corresponds to emby from the list generated, in this example we will assume 5)
3: jexec 5
4: service emby-server stop
5: cd /tmp
6: fetch https://github.com/MediaBrowser/Emby/releases/download/3.4.1.0/Emby.Mono.zip
7: unzip -d /tmp/emby Emby.Mono.zip
8: cp -Rfp /tmp/emby/ /usr/pbi/emby-amd64/lib/emby-server
9: rm -r /tmp/emby
10: rm /tmp/Emby.Mono.zip
11: service emby-server start
 
Last edited:

Ravenshield

Cadet
Joined
Aug 2, 2017
Messages
8
In case anyone else is trying this. These steps won't work using the Shell built into FreeNAS. You will need to enable the SSH service and create an account you can ssh with.

I backed up /usr/pbi/emby-amd64/lib/emby-server prior to doing the update just in case.

cp -Rfp /usr/pbi/emby-amd64/lib/emby-server /usr/pbi/emby-amd64/lib/emby-server.old
 

wolfie1_0

Cadet
Joined
Sep 26, 2015
Messages
9
I ran into an error when running the fetch command

22371:error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s23_clnt.c:585:
fetch: http://github.com/MediaBrowser/Emby/releases/download/3.4.1.0/Emby.Mono.zip: Authentication error


I just ended up downloading the file on my laptop, temporarily sharing the root of my jails volume and copying it over. I couldn't tell you when the jail was built but it looks like its running a copy of openSSL from ~2014....
 
Status
Not open for further replies.
Top