Jump to content

FreeNAS iocage plugin Emby 3.5.3.0 ffmpeg SOLUTION


gbarone123

Recommended Posts

makarai

@stuardsjg

 

Firstly. The command ought to fix the bug introduced with the update of freenas U2 of not having a default vnet set up. You can read all about it here https://redmine.ixsystems.com/issues/75648 . One workaround is when you have existing jails that wont start the command i posted the other workaround iclick ADVANCED PLUGIN INSTALLATION in the installation screen and select “auto” for the VNET option or the command after you installed a jail.

Secondly, the jls function is depreciated and the warden jail system will disappear soon. iocage to the rescue. I suppose you dont have any jails running. So lets start with a manual installation. follow this

Thridly, the plugin route is still not possible with emby as the plugin fetch from freenas still installs the 3.5.X which is borked. It'll update at some point.

 

Create an empty jail Dhcp or static -> use GUI and enter jail shell if it works great (use dhcp) 

#enter the jail shell
pkg install mono libass fontconfig freetype2 fribidi gnutls iconv opus samba48 sqlite3 libtheora libva libvorbis webp libx264 libzvbi libraw
pkg add -f https://github.com/MediaBrowser/Emby.Releases/releases/download/4.0.2.0/emby-server-freebsd_4.0.2.0_amd64.txz

sysrc -f /etc/rc.conf emby_server_enable="YES"
service emby-server start 2>/dev/null
restart jail
Edited by makarai
Link to comment
Share on other sites

  • 5 months later...
sproon

I posted this on another forum. Its the easiest solution to get the most updated emby server and works when updating to a new version.

 

If this is still a problem, I noticed an easy fix for FreeNAS users. My issues happen when updating using the following commands from emby.media:

pkg install mono libass fontconfig freetype2 fribidi gnutls iconv opus samba48 sqlite3 libtheora libva libvpx libvorbis webp libx264 libzvbi libraw ImageMagick6

pkg add -f https://github.com/MediaBrowser/Emby.Releases/releases/download/4.3.0.0/emby-server-freebsd11_4.3.0.0_amd64.txz

 

After installing the new version, ffmpeg can't find several shared libraries that are actually included in the emby server package. You can check if something is missing in the iocage command line:

ldd /usr/local/lib/emby-server/bin/ffmpeg
 
All I did was copy all the libraries from the emby server package to the root directory and ran the above command to ensure ffmpeg had everything it needed

cp /usr/local/lib/emby-server/lib/* /usr/local/lib/

 

After that, all content plays! Hope this helps!

Edited by sproon
Link to comment
Share on other sites

  • 1 month 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...