Jump to content

Recommended Posts

Posted

I have re-installed Emby server using new plugin mechanism in FreeNAS 11.2 RC1.

 

I recreated my library (adding folders) from scratch. I can see the media and movie posters just fine on the web interface.

 

However, when I start to playback any videos, they never starts. This happen both on Chrome browser and Android app.

 

I have ran Emby server on this server many years, including reinstallig a few time. This has never happened before.

 

 

Log

Posted

Hi, is your system configured for quarterly packages or for latest packages?

Posted

Hi, is your system configured for quarterly packages or for latest packages?

Hi Luke, where can I find that out?

 

I looked everywhere in the server dashboard. All I can tell is I am running version 3.5.3.0

 

Sent from my Pixel 2 XL using Tapatalk

Posted

This is a freebsd system setting.

Posted

Hi Luke, where can I find that out?

 

I looked everywhere in the server dashboard. All I can tell is I am running version 3.5.3.0

 

Sent from my Pixel 2 XL using Tapatalk

Take a look at /etc/pkg/FreeBSD.conf you'll see from the URL in that file if you're set to latest or quarterly

Posted

Hi, is your system configured for quarterly packages or for latest packages?

On FreeNAS host, it is set to latest.

 

In the Emby iocage jail, it is set to quarterly.

 

Sent from my Pixel 2 XL using Tapatalk

Posted

Take a look at /etc/pkg/FreeBSD.conf you'll see from the URL in that file if you're set to latest or quarterly

Thanks, @@MRobi !

 

Sent from my Pixel 2 XL using Tapatalk

Posted (edited)

I had this issue before and this was the fix.  I am also having the same problem now.  Old ffmpeg log attached. 

 

18352 
Legendary

Posted 02 January 2017 - 02:23 PM

@riccote

 

I see similar errors all the time when I choose to rebuild ffmpeg for the plugin.

The plugin should have all libraries in /usr/pbi/emby-amd64/lib but since this is not normally searched they need to be linked to a standard location (/usr/local/lib).

The 'external-links' file does that during the PBI build process. https://github.com/j.../external-links

 

I see that my plugin jail came with the 'libiconv' package already installed, so that is probably why I didn't need to add that link for the plugin's ffmpeg to work.

Either this user deleted packages from their plugin jail, or the plugin jail has been updated and no longer comes with this package.

 

A workaround is either to install libiconv, or to run..

ln -s /usr/pbi/emby-amd64/lib/libiconv.so.3 /usr/local/lib
 

 

ffmpeg-transcode-ebbb850c-222f-4bd8-9ef9-883099f148f1.txt

Edited by riccote
Posted

hmm... running ln -s /usr/pbi/emby-amd64/lib/libiconv.so.3 /usr/local/lib did not fix the issue for me... how can in install "libiconv"?

Posted

hmm... running ln -s /usr/pbi/emby-amd64/lib/libiconv.so.3 /usr/local/lib did not fix the issue for me... how can in install "libiconv"?

 

That's not going to work now.  

skullitor13
Posted

Is there a manual way to fix this in the mean time until the plugin is fixed?

skullitor13
Posted

So I think I might be missing something, or maybe I have another problem

 

I installed version Version 3.6.0.61 by running the following command

pkg add -f https://github.com/MediaBrowser/Emby.Releases/releases/download/3.6.0.61/emby-server-freebsd_3.6.0.61_amd64.txz

But I still get this error in the logs when I try and watch live tv.

*** Error Report ***
	Version: 3.6.0.61
	Command line: /usr/local/opt/emby-server/system/EmbyServer.exe -os freebsd -ffmpeg /usr/local/opt/emby-server/bin/ffmpeg -ffprobe /usr/local/opt/emby-server/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 Thu Nov  1 07:23:24 UTC 2018)
	Processor count: 16
	Program data path: /var/db/emby-server
	Application directory: /usr/local/opt/emby-server/system
	System.Exception: System.Exception: Error running ffprobe for "http://127.0.0.1:8096/LiveTv/LiveStreamFiles/9b830176a1334ac4ad1498b648b7d85e/stream.ts" - Shared object "libx264.so.152" not found, required by "libavcodec.so.58"
Posted

Did you follow all of the instructions?

Posted

 

So I think I might be missing something, or maybe I have another problem

 

I installed version Version 3.6.0.61 by running the following command

pkg add -f https://github.com/MediaBrowser/Emby.Releases/releases/download/3.6.0.61/emby-server-freebsd_3.6.0.61_amd64.txz

But I still get this error in the logs when I try and watch live tv.

*** Error Report ***
	Version: 3.6.0.61
	Command line: /usr/local/opt/emby-server/system/EmbyServer.exe -os freebsd -ffmpeg /usr/local/opt/emby-server/bin/ffmpeg -ffprobe /usr/local/opt/emby-server/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 Thu Nov  1 07:23:24 UTC 2018)
	Processor count: 16
	Program data path: /var/db/emby-server
	Application directory: /usr/local/opt/emby-server/system
	System.Exception: System.Exception: Error running ffprobe for "http://127.0.0.1:8096/LiveTv/LiveStreamFiles/9b830176a1334ac4ad1498b648b7d85e/stream.ts" - Shared object "libx264.so.152" not found, required by "libavcodec.so.58"

 

 

roll back to 60, 61 has included outdated libraries

pkg add -f https://github.com/MediaBrowser/Emby.Releases/releases/download/3.6.0.60/emby-server-freebsd_3.6.0.60_amd64.txz

cheers

FreeBSD_Lover
Posted

Take a look at /etc/pkg/FreeBSD.conf you'll see from the URL in that file if you're set to latest or quarterly

 

True, but some of us run our own package respository, like Synth, and that configuration would seem to trump /etc/pkg/FreeBSD.conf.

 

On my machine:

$ less /etc/pkg/FreeBSD.conf
# $FreeBSD: releng/11.2/etc/pkg/FreeBSD.conf 333474 2018-05-10 23:58:33Z gjb $
#
# To disable this repository, instead of modifying or removing this file,
# create a /usr/local/etc/pkg/repos/FreeBSD.conf file:
#
#   mkdir -p /usr/local/etc/pkg/repos
#   echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
#

FreeBSD: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}

But here we see otherwise, that its set to latest.

pkg -vv

(omitted a bunch of output)

Repositories:
  Synth: { 
    url             : "file:///var/synth/live_packages",
    enabled         : yes,
    priority        : 0
  }
  FreeBSD: { 
    url             : "pkg+http://pkg.FreeBSD.org/FreeBSD:11:amd64/latest",
    enabled         : yes,
    priority        : 0,
    mirror_type     : "SRV",
    signature_type  : "FINGERPRINTS",
    fingerprints    : "/usr/share/keys/pkg"
  }

skullitor13
Posted

That fixed it makarai!

 

roll back to 60, 61 has included outdated libraries

pkg add -f https://github.com/MediaBrowser/Emby.Releases/releases/download/3.6.0.60/emby-server-freebsd_3.6.0.60_amd64.txz

cheers

FreeBSD_Lover
Posted

I'm gonna wait until its posted in the FreeBSD ports tree. :)

Posted

That fixed it makarai!

 

Yup. Rolling back to 3.6.0.60 fixed it for me as well. Thanks, @@makarai !

Posted

Latest beta 3.6.0.63 has updated libraries to hopefully resolve this for everyone. Thanks.

Posted

Yes updated to 63, everything runs great

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