Jump to content

FreeBSD Package


Recommended Posts

Posted

I'm also having problems after trying to upgrade on my freenas-core nas, but after some googling and trying to run the binary directly, I got "Failed to create CoreCLR". A github page for dotnet indicates that it could be due to the fact that the jail is on a newer version of freebsd than the host os. Guess it's time to reboot after over a year of uptime. This is what I get for tinkering :P.

  • Thanks 1
Posted

Updated the host to the latest version of 13.0, then updated the jail to 13.2 fixed it. Could also have just been the restart. 
Currently running  4.8.8.0 with no issues.

  • Thanks 2
  • 5 months later...
Posted

Hello, it seems mbedtls for FreeBSD has been deprecated and removed from pkg:

When running 

pkg install mbedtls

I get notification about missing package - I have pkg set to LATEST.

According to this: https://www.freshports.org/security/mbedtls/ port for mbedtls has been removed and replaced by mbedtls2 and mbedtls3. Those packages can indeed be installed, but since Emby package looks specifically for "mbedtls" the installation fails with missing dependency error.

It is there possibly any fix for this?

  • Like 2
ramaureirac
Posted
On 2/19/2025 at 6:37 AM, kaczorws said:

Hello, it seems mbedtls for FreeBSD has been deprecated and removed from pkg:

When running 

pkg install mbedtls

I get notification about missing package - I have pkg set to LATEST.

According to this: https://www.freshports.org/security/mbedtls/ port for mbedtls has been removed and replaced by mbedtls2 and mbedtls3. Those packages can indeed be installed, but since Emby package looks specifically for "mbedtls" the installation fails with missing dependency error.

It is there possibly any fix for this?

Got the same issue today. You can use flag -M to ignore missing dependencies:

pkg add -f -M https://github.com/MediaBrowser/Emby.Releases/releases/download/4.9.0.38/emby-server-freebsd14_4.9.0.38_amd64.pkg

I did the installation with mbedtls2. No issues so far.

Posted
On 2/22/2025 at 7:27 AM, ramaureirac said:

Got the same issue today. You can use flag -M to ignore missing dependencies:

pkg add -f -M https://github.com/MediaBrowser/Emby.Releases/releases/download/4.9.0.38/emby-server-freebsd14_4.9.0.38_amd64.pkg

I did the installation with mbedtls2. No issues so far.

Thanks, that indeed worked :)

Posted
On 2/24/2025 at 5:37 AM, kaczorws said:

Thanks, that indeed worked :)

We're updating our packages to use mbedtls3. Thanks guys.

  • Thanks 2
  • 3 months later...
FreeBSD_guy
Posted
On 01/03/2025 at 13:49, Luke said:

We're updating our packages to use mbedtls3. Thanks guys.


I'm curious as to when this is expected to be completed. Thanks.

Posted
16 minutes ago, FreeBSD_guy said:


I'm curious as to when this is expected to be completed. Thanks.

It is on the beta channel. We have a couple things that we're still working through and then we'll have the 4.9 release available to everyone.

  • 1 month later...
Posted

After doing an update/upgrade of my jail I am now on embyserver 4.8.11.0 but I get errors when adding new music:

2025-08-13 09:10:01.830 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: /usr/local/lib/emby-server/bin/ffprobe -i file:"/mnt/music/Albums/Artist/Album/Song.mp3" -threads 0 -v info -print_format json -show_streams -show_format -f mp3
2025-08-13 09:10:01.833 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 1 - Failed
2025-08-13 09:10:01.833 Error App: Error in ffprobe
	*** Error Report ***
	Version: 4.8.11.0
	Command line: /usr/local/lib/emby-server/system/EmbyServer.dll -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 -noautorunwebapp
	Operating system: FreeBSD 13.3-RELEASE-p4 FreeBSD 13.3-RELEASE-p4 n257491-41f6a830f8e TRUENAS
	Framework: .NET 6.0.31
	OS/Process: x64/x64
	Runtime: usr/local/lib/emby-server/system/System.Private.CoreLib.dll
	Processor count: 4
	Data path: /var/db/emby-server
	Application path: /usr/local/lib/emby-server/system
	Emby.Server.MediaEncoding.Unified.Ffmpeg.FfRunException: Emby.Server.MediaEncoding.Unified.Ffmpeg.FfRunException: Error running ffprobe: -i file:"/mnt/music/Albums/Artist/Album/Song.mp3" -threads 0 -v info -print_format json -show_streams -show_format -f mp3
	ld-elf.so.1: /usr/local/lib/libavcodec.so.60: version LIBAVCODEC_60 required by /usr/local/lib/libchromaprint.so.1 not defined
	   at Emby.Server.MediaEncoding.Probing.MediaProbeManager.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, String userAgent, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Boolean hasMixedProtocols, CancellationToken cancellationToken)
	   at Emby.Providers.MediaInfo.FFProbeAudioInfo.Probe[T](MetadataResult`1 metadataResult, MetadataRefreshOptions options, LibraryOptions libraryOptions, CancellationToken cancellationToken)
	   at Emby.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, MetadataResult`1 itemResult, String logName, MetadataRefreshOptions options, LibraryOptions libraryOptions, RefreshResult refreshResult, CancellationToken cancellationToken)
	Source: Emby.Server.MediaEncoding
	TargetSite: Void MoveNext()

I get this error on every mp3, haven't tested on other formats but since it's a libchromaprint error I'm guessing it's an error on all media I import. Any ideas what causes this?

Posted
8 hours ago, vambier said:

After doing an update/upgrade of my jail I am now on embyserver 4.8.11.0 but I get errors when adding new music:

2025-08-13 09:10:01.830 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: /usr/local/lib/emby-server/bin/ffprobe -i file:"/mnt/music/Albums/Artist/Album/Song.mp3" -threads 0 -v info -print_format json -show_streams -show_format -f mp3
2025-08-13 09:10:01.833 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 1 - Failed
2025-08-13 09:10:01.833 Error App: Error in ffprobe
	*** Error Report ***
	Version: 4.8.11.0
	Command line: /usr/local/lib/emby-server/system/EmbyServer.dll -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 -noautorunwebapp
	Operating system: FreeBSD 13.3-RELEASE-p4 FreeBSD 13.3-RELEASE-p4 n257491-41f6a830f8e TRUENAS
	Framework: .NET 6.0.31
	OS/Process: x64/x64
	Runtime: usr/local/lib/emby-server/system/System.Private.CoreLib.dll
	Processor count: 4
	Data path: /var/db/emby-server
	Application path: /usr/local/lib/emby-server/system
	Emby.Server.MediaEncoding.Unified.Ffmpeg.FfRunException: Emby.Server.MediaEncoding.Unified.Ffmpeg.FfRunException: Error running ffprobe: -i file:"/mnt/music/Albums/Artist/Album/Song.mp3" -threads 0 -v info -print_format json -show_streams -show_format -f mp3
	ld-elf.so.1: /usr/local/lib/libavcodec.so.60: version LIBAVCODEC_60 required by /usr/local/lib/libchromaprint.so.1 not defined
	   at Emby.Server.MediaEncoding.Probing.MediaProbeManager.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, String userAgent, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Boolean hasMixedProtocols, CancellationToken cancellationToken)
	   at Emby.Providers.MediaInfo.FFProbeAudioInfo.Probe[T](MetadataResult`1 metadataResult, MetadataRefreshOptions options, LibraryOptions libraryOptions, CancellationToken cancellationToken)
	   at Emby.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, MetadataResult`1 itemResult, String logName, MetadataRefreshOptions options, LibraryOptions libraryOptions, RefreshResult refreshResult, CancellationToken cancellationToken)
	Source: Emby.Server.MediaEncoding
	TargetSite: Void MoveNext()

I get this error on every mp3, haven't tested on other formats but since it's a libchromaprint error I'm guessing it's an error on all media I import. Any ideas what causes this?

HI, are you able to try the beta and see how that compares?

Posted
27 minutes ago, Luke said:

HI, are you able to try the beta and see how that compares?

Hi, how do I try the beta?

Posted
9 hours ago, vambier said:

Hi, how do I try the beta?

How did you install Emby Server?

Posted
4 hours ago, Luke said:

How did you install Emby Server?

I installed it with the package manager.

Posted

But noone has had this problem with this version of Emby?

Happy2Play
Posted
32 minutes ago, vambier said:

But noone has had this problem with this version of Emby?

Probably need more info on your issue but thing there is a version requirement.

 

Posted
4 hours ago, Happy2Play said:

Probably need more info on your issue but thing there is a version requirement.

 

I installed Emby Server in a jail on TrueNas Core. But that is EOL so I can't update Freebsd anymore, it's now on 13.3. So I ended up installing the beta like @Lukesaid and that worked!! At least it works for now until I have a new server:-)

  • Thanks 1
adrianwi
Posted

I have my emby jail updated to 13.4, and I'm pretty sure you can get them to 13.5, which is still supported until 2026.  Time to start thinking about a replacement for FreeNAS, though, which is very sad 😢

  • 3 months later...
Posted (edited)

Version 4.8.11.0_4 is apparently broken for FreeBSD 14.3-RELEASE-p5, video playback doesn't work.

I'm getting this error from ffprobe when trying to transcode with embycon and from playback from the web interface:

ld-elf.so.1: /usr/local/lib/libavcodec.so.60: version LIBAVCODEC_60 required by /usr/local/lib/libchromaprint.so.1 not defined

 

Edited by Samkook
Posted
23 minutes ago, Samkook said:

Version 4.8.11.0_4 is apparently broken for FreeBSD 14.3-RELEASE-p5, video playback doesn't work.

I'm getting this error from ffprobe when trying to transcode with embycon and from playback from the web interface:

ld-elf.so.1: /usr/local/lib/libavcodec.so.60: version LIBAVCODEC_60 required by /usr/local/lib/libchromaprint.so.1 not defined

 

HI, are you able to install 4.9?

Posted

If I do a search for emby-server with pkg, 4.8.11 is the only one that shows up at the moment so that's not currently possible for the official release, which I want to stick to on my production server:

pkg search emby-server
emby-server-4.8.11.0_4         Media server to organize, play & stream audio/video to various devices

 

Posted

It seems the official package is in need of a rebuild, however the freebsd maintainer who maintained the official freebsd package has been MIA for several months, not sure when another maintainer will take his place. You can install our packages from github in the meantime, they are production ready.
https://github.com/MediaBrowser/Emby.Releases/releases/download/4.9.1.90/emby-server-freebsd14_4.9.1.90_amd64.pkg

Posted

Manually installing a package is opening a door to package dependency hell so I'll probably just wait.

It was changed less than a month ago so someone is doing things on it at least.

  • 3 weeks later...
Posted

Hi!

What ffdetect/ffmpeg version fits emby-server-4.9.1.90 ?

Thanks in advance!

redwards
Posted

FYI libtheora 1.2.0 causes playback issues with Emby 4.9.2.7, reinstalling libtheora 1.1.1 works. It's an issue with ffmpeg and h264 transcoding.

Samkook
Posted

It is currently working again now with the default freebsd packages, a few media packages have been updated.

For version 4.8.11 at least.

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