Jump to content

FreeBSD Package


Luke

Recommended Posts

On 8/19/2021 at 11:20 AM, Luke said:

Here are some updates related to our FreeBSD packages:

Thanks everyone.

Great news, they've merged it in. This should make the community plugin a more viable option now.

Link to comment
Share on other sites

  • 1 month later...
NinthWave
On 11/8/2014 at 7:54 PM, Luke said:

Starting a new topic. The download page will point to here for more info.

 

Installation Instructions

 

See https://emby.media/download

 

 

http://mediabrowser.tv/community/uploads/inline/2/545ebda5cbaad_logofullthumb.png

 

FreeBSD is an advanced computer operating system used to power modern servers, desktops and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.

I followed the instructions shown here: https://emby.media/truenas-server.html

But it failed

root@truenas[~/iocage-amd64]# iocage fetch -P emby-server.json dhcp="on" --branch truenas12
Plugin: emby-server
  Official Plugin: False
  Using RELEASE: 12.2-RELEASE
  Using Branch: truenas12
  Post-install Artifact: https://github.com/MediaBrowser/iocage-amd64.git
  These pkgs will be installed:
    - audio/libogg
    - audio/libvorbis
    - audio/opus
    - converters/fribidi
    - databases/sqlite3
    - converters/libiconv
    - devel/libzvbi
    - devel/ocl-icd
    - graphics/ImageMagick6
    - graphics/libdrm
    - graphics/libraw
    - graphics/png
    - graphics/tesseract
    - graphics/webp
    - lang/mono6.8
    - multimedia/intel-media-sdk
    - multimedia/libass
    - multimedia/libtheora
    - multimedia/libva
    - print/freetype2
    - security/gnutls
    - x11/libX11
    - x11-fonts/fontconfig
ELF interpreter /libexec/ld-elf.so.1 not found, error 2
ELF interpreter /libexec/ld-elf.so.1 not found, error 2
  + Starting services FAILED
ERROR:
[b'']

Refusing to start emby-server_1: exec_start failed
emby-server_1 had a failure
Exception: SystemExit Message: 1
Partial plugin destroyed

Any help ?

Link to comment
Share on other sites

16 minutes ago, NinthWave said:

I followed the instructions shown here: https://emby.media/truenas-server.html

But it failed

root@truenas[~/iocage-amd64]# iocage fetch -P emby-server.json dhcp="on" --branch truenas12
Plugin: emby-server
  Official Plugin: False
  Using RELEASE: 12.2-RELEASE
  Using Branch: truenas12
  Post-install Artifact: https://github.com/MediaBrowser/iocage-amd64.git
  These pkgs will be installed:
    - audio/libogg
    - audio/libvorbis
    - audio/opus
    - converters/fribidi
    - databases/sqlite3
    - converters/libiconv
    - devel/libzvbi
    - devel/ocl-icd
    - graphics/ImageMagick6
    - graphics/libdrm
    - graphics/libraw
    - graphics/png
    - graphics/tesseract
    - graphics/webp
    - lang/mono6.8
    - multimedia/intel-media-sdk
    - multimedia/libass
    - multimedia/libtheora
    - multimedia/libva
    - print/freetype2
    - security/gnutls
    - x11/libX11
    - x11-fonts/fontconfig
ELF interpreter /libexec/ld-elf.so.1 not found, error 2
ELF interpreter /libexec/ld-elf.so.1 not found, error 2
  + Starting services FAILED
ERROR:
[b'']

Refusing to start emby-server_1: exec_start failed
emby-server_1 had a failure
Exception: SystemExit Message: 1
Partial plugin destroyed

Any help ?

Does this help?

https://metin2.dev/topic/26714-elf-interpreter-libexecld-elfso1-not-found-error-8/

Link to comment
Share on other sites

NinthWave
18 minutes ago, Luke said:

Thanks for your quick reply.  The "ELF interpreter error" was common and it will surely fix it.

I just realized the jail is under a VLAN and can't resolve any WAN DNS.  I have asked help on TrueNAS to resolve this.  I will come back here once this is solved.

  • Thanks 1
Link to comment
Share on other sites

NinthWave
2 hours ago, NinthWave said:

I resolved my jail internet connection problem.

I did a "

package upgrade

I restarted the jail and it seems to be working...

Did I miss anything ?

@Luke

I just noticed it does play from the Web Interface : http://10.0.10.5:8096/web/index.html#!/home

But it fails to play from "Emby Next-Gen" addon in and Android box running Kodi.  How is that possible ?

Link to comment
Share on other sites

NinthWave
2 hours ago, NinthWave said:

I resolved my jail internet connection problem.

I did a "

package upgrade

I restarted the jail and it seems to be working...

Did I miss anything ?

image.thumb.png.f1c9d3a82c03f3d32136efe75094fdb1.png

I just have one jail named "embyserver" and yet, two servers are showing.  Is it possible that when I did a "package upgrade", the old version stayed and is still running  in the same jail along with the new 4.6.7.0 ?

Link to comment
Share on other sites

On 1/17/2022 at 2:16 PM, NinthWave said:

image.thumb.png.f1c9d3a82c03f3d32136efe75094fdb1.png

I just have one jail named "embyserver" and yet, two servers are showing.  Is it possible that when I did a "package upgrade", the old version stayed and is still running  in the same jail along with the new 4.6.7.0 ?

@NinthWavethat is likely an old installation. I would simply remove the older one from the server selection screen.

Link to comment
Share on other sites

  • 2 months later...
bbartlomiej

Hey, I've tested a bunch of recent beta versions on TrueNAS (running FreeBSD 12.3) in a jail. I can't start emby and connect to it. When I manually run
 

root@emby:/var/db/emby-server/logs # /usr/local/lib/emby-server/system/EmbyServer -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
Failed to create CoreCLR, HRESULT: 0x8007FF02

When I start it from /usr/local/etc/rc.d/emby-server it briefly shows this command and then it leaves me with:

emby 6232  0.0  0.0 10844 2296  -  SsJ  13:15   0:00.01 daemon: /usr/local/lib/emby-server/system/EmbyServer[6294] (daemon)

I tried latest 4.7.0.32 and earlier 4.7.0.30 and got the same result. This also happens on a clean jail. I've been running 4.7.0.18 beta successfully for past weeks. I have satisfied the dependencies mentioned on the web page.


Anybody hit this problem?

Edited by bbartlomiej
Link to comment
Share on other sites

adrianwi

Apologies as this doesn't really help, but no, I have 4.7.0.32 running on TrueNAS 12.0-U8 running in a FreeBSD 12.2-p12 jail.  It was created as a new jail around the .25 beta release (whichever one switched from mono to .NET) and I've updated it successfully ever since.  It runs significantly better than the 4.6.7.0 jail I was using before.

Link to comment
Share on other sites

raidflex

I am not experiencing any issues with Emby currently, with the most recent stable release, have you tried stable?

Currently I have Truenas 12.0-U8, FreeBSD Jail 12.3-P4 and Emby 4.6.7.0 and have not had any issues. 

Link to comment
Share on other sites

crunchyemby
4 hours ago, bbartlomiej said:

Hey, I've tested a bunch of recent beta versions on TrueNAS (running FreeBSD 12.3) in a jail. I can't start emby and connect to it. When I manually run
 

root@emby:/var/db/emby-server/logs # /usr/local/lib/emby-server/system/EmbyServer -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
Failed to create CoreCLR, HRESULT: 0x8007FF02

When I start it from /usr/local/etc/rc.d/emby-server it briefly shows this command and then it leaves me with:

emby 6232  0.0  0.0 10844 2296  -  SsJ  13:15   0:00.01 daemon: /usr/local/lib/emby-server/system/EmbyServer[6294] (daemon)

I tried latest 4.7.0.32 and earlier 4.7.0.30 and got the same result. This also happens on a clean jail. I've been running 4.7.0.18 beta successfully for past weeks. I have satisfied the dependencies mentioned on the web page.


Anybody hit this problem?

 

I'm running TrueNAS-12.0-U8 and recently upgraded my emby jails from 11.3 to 12.3-RELEASE-p4 ... 4.7.0.32-beta is running fine.

Since you mention that you installed the dependencies... the next thing I would check is that you have your FreeBSD packages set to "latest" instead of quarterly (see below).

Open this file in an editor: 
/usr/local/etc/pkg/repos/FreeBSD.conf

Paste in this:
FreeBSD: {
    url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest"
}

Then run: 
pkg update && pkg upgrade

Link to comment
Share on other sites

bbartlomiej

Thanks for all the suggestions. Unfortunately on another clean jail install it still fails even with "latest" packages.

root@emby:/var/db/emby-server # ls -l
total 0
root@emby:/var/db/emby-server # pwd
/var/db/emby-server
root@emby:/var/db/emby-server # pkg info
ImageMagick6-6.9.12.34_1,1     Image processing tools (legacy version)
avahi-app-0.8                  Service discovery on a local network
ca_root_nss-3.76               Root certificate bundle from the Mozilla Project
cairo-1.17.4,3                 Vector graphics library with cross-device output support
cmrtlib-20.1.1                 C for Metal Runtime
cups-2.3.3op2                  Common UNIX Printing System
curl-7.81.0                    Command line tool and library for transferring data with URLs
dbus-1.12.20_5                 Message bus system for inter-application communication
dbus-glib-0.112                GLib bindings for the D-BUS messaging system
dejavu-2.37_1                  Bitstream Vera Fonts clone with a wider range of characters
emby-server-4.7.0.32_1         Emby Server is a personal media server with apps on just about every device
encodings-1.0.5,1              X.Org Encoding fonts
expat-2.4.7                    XML 1.0 parser written in C
fftw3-3.3.10                   Fast C routines to compute the Discrete Fourier Transform
font-bh-ttf-1.0.3_4            X.Org Bigelow & Holmes TTF font
font-misc-ethiopic-1.0.4       X.Org miscellaneous Ethiopic font
font-misc-meltho-1.0.3_4       X.Org miscellaneous Meltho font
fontconfig-2.13.94_2,1         XML-based font configuration API for X Windows
freetype2-2.11.1               Free and portable TrueType font rendering engine
fribidi-1.0.11                 Free Implementation of the Unicode Bidirectional Algorithm
gdbm-1.23                      GNU database manager
gdk-pixbuf2-2.40.0             Graphic library for GTK+
gettext-runtime-0.21           GNU gettext runtime libraries and programs
ghostscript9-agpl-base-9.55.0  PostScript and PDF interpreter
ghostscript9-agpl-x11-9.55.0   PostScript and PDF interpreter, X11 support
giflib-5.2.1                   Tools and library routines for working with GIF images
glib-2.70.4_1,2                Some useful routines of C programming (current stable version)
gmp-6.2.1                      Free library for arbitrary precision arithmetic
gnome_subr-1.0                 Common startup and shutdown subroutines used by GNOME scripts
gnutls-3.6.16                  GNU Transport Layer Security library
graphite2-1.3.14               Rendering capabilities for complex non-Roman writing systems
gsfonts-8.11_8                 Standard Fonts for Ghostscript
harfbuzz-4.1.0                 OpenType text shaping engine
iconv-2.0_5                    Charset conversion library and utilities
icu-70.1_1,1                   International Components for Unicode (from IBM)
indexinfo-0.3.1                Utility to regenerate the GNU info page index
intel-media-sdk-22.3.0         Hardware video decoding/encoding/filtering on Intel GPUs
jbig2dec-0.19                  Decoder implementation of the JBIG2 image compression format
jbigkit-2.1_1                  Lossless compression for bi-level images such as scanned pages, faxes
jpeg-turbo-2.1.3               SIMD-accelerated JPEG codec which replaces libjpeg
krb5-1.19.3                    MIT implementation of RFC 4120 network authentication service
lcms2-2.12                     Accurate, fast, and small-footprint color management engine
leptonica-1.82.0               C library for efficient image processing and image analysis operations
libICE-1.0.10,1                Inter Client Exchange library for X11
libSM-1.2.3,1                  Session Management library for X11
libX11-1.7.2,1                 X11 library
libXau-1.0.9                   Authentication Protocol library for X11
libXdmcp-1.1.3                 X Display Manager Control Protocol library
libXext-1.3.4,1                X11 Extension library
libXfixes-6.0.0                X Fixes extension library
libXft-2.3.4                   Client-sided font API for X applications
libXrender-0.9.10_2            X Render extension library
libXt-1.2.1,1                  X Toolkit library
libarchive-3.6.0,1             Library to create and read several streaming archive formats
libass-0.15.2                  Portable ASS/SSA subtitle renderer
libdaemon-0.14_1               Lightweight C library that eases the writing of UNIX daemons
libdrm-2.4.110,1               Userspace interface to kernel Direct Rendering Module services
libedit-3.1.20210910,1         Command line editor library
libepoll-shim-0.0.20210418     Small epoll implementation using kqueue
libevent-2.1.12                API for executing callback functions on events or timeouts
libffi-3.3_1                   Foreign Function Interface
libfontenc-1.1.4               The fontenc Library
libgd-2.3.3,1                  Graphics library for fast creation of images
libglvnd-1.4.0_1               GL Vendor-Neutral Dispatch library
libiconv-1.16                  Character set conversion library
libidn-1.35                    Internationalized Domain Names command line tool
libidn2-2.3.2                  Implementation of IDNA2008 internationalized domain names
libinotify-20211018            Kevent based inotify compatible library
liblqr-1-0.4.2                 Easy to use C/C++ seam carving library
libltdl-2.4.6                  System independent dlopen wrapper
liblz4-1.9.3,1                 LZ4 compression library, lossless and very fast
libnghttp2-1.46.0              HTTP/2.0 C Library
libogg-1.3.5,4                 Ogg bitstream library
libpaper-1.1.28                Library providing routines for paper size management
libpciaccess-0.16              Generic PCI access library
libpthread-stubs-0.4           Weak aliases for pthread functions
libraqm-0.9.0                  Library that encapsulates complex text layout logic
libraw-0.20.2_2                Library for manipulating raw images
librsvg2-rust-2.52.8           Library for parsing and rendering SVG vector-graphic files
libssh2-1.10.0,3               Library implementing the SSH2 protocol
libtasn1-4.18.0                ASN.1 structure parser library
libtheora-1.1.1_7              Theora video codec for the Ogg multimedia streaming system
libunicode-0.4_11              Library for manipulating Unicode characters and strings
libunistring-1.0               Unicode string library
libunwind-20211201             Generic stack unwinding library
libva-2.14.0                   VAAPI wrapper and dummy driver
libvorbis-1.3.7_2,3            Audio compression codec library
libwmf-0.2.12                  Tools and library for converting Microsoft WMF (windows metafile)
libxcb-1.14_1                  The X protocol C-language Binding (XCB) library
libxml2-2.9.12                 XML parser library for GNOME
libzvbi-0.2.35_3               Routines to access raw VBI capture devices
mkfontscale-1.2.1              Creates an index of scalable font files for X
mpdecimal-2.5.1                C/C++ arbitrary precision decimal floating point libraries
nettle-3.7.3                   Low-level cryptographic library
ocl-icd-2.3.1                  OpenCL Installable Client Driver
openjpeg-2.4.0                 Open-source JPEG 2000 codec
openssl-1.1.1n,1               TLSv1.3 capable SSL and crypto library
opus-1.3.1                     IETF audio codec
p11-kit-0.24.1                 Library for loading and enumerating of PKCS#11 modules
pango-1.50.6                   Open-source framework for the layout and rendering of i18n text
pciids-20220225                Database of all known IDs used in PCI devices
pcre-8.45                      Perl Compatible Regular Expressions library
perl5-5.32.1_1                 Practical Extraction and Report Language
pixman-0.40.0_1                Low-level pixel manipulation library
pkg-1.17.5_1                   Package manager
pkgconf-1.8.0,1                Utility to help to configure compiler and linker flags
png-1.6.37_1                   Library for manipulating PNG images
poppler-data-0.4.11            Poppler encoding data
python38-3.8.12_2              Interpreted object-oriented programming language
readline-8.1.2                 Library for editing command lines as they are typed
shared-mime-info-2.0_2         MIME types database from the freedesktop.org project
sqlite3-3.37.2,1               SQL database engine in a C library
tesseract-5.1.0                Commercial quality open source OCR engine
tesseract-data-4.1.0           Trained language data for the Tesseract OCR engine
tiff-4.3.0                     Tools and library routines for working with TIFF images
tpm-emulator-0.7.4_2           Trusted Platform Module (TPM) emulator
trousers-0.3.14_3              Open-source TCG Software Stack
wayland-1.20.0                 Core Wayland window system code and protocol
webp-1.2.2                     Google WebP image format conversion tool
xorg-fonts-truetype-7.7_1      X.Org TrueType fonts
xorgproto-2021.5               X Window System unified protocol definitions
zstd-1.5.2                     Fast real-time compression algorithm
root@emby:/var/db/emby-server # ps aux
USER   PID %CPU %MEM   VSZ  RSS TT  STAT STARTED    TIME COMMAND
root 10134  0.0  0.0 11436 2828  -  SsJ  22:59   0:00.01 /usr/sbin/syslogd -c -ss
root 10178  0.0  0.0 11256 2616  -  SsJ  22:59   0:00.00 /usr/sbin/cron -J 15 -s
emby 12295  0.0  0.0 10852 2320  -  SsJ  23:07   0:00.01 daemon: /usr/local/lib/emby-server/system/EmbyServer[12357] (daemon)
root 10299  0.0  0.0 12188 3104  0  IJ   22:59   0:00.01 login [pam] (login)
root 10300  0.0  0.0 13300 4012  0  SJ   22:59   0:00.03 -csh (csh)
root 12358  0.0  0.0 11984 3168  0  R+J  23:08   0:00.00 ps aux
root@emby:/var/db/emby-server # uname -a
FreeBSD emby 12.2-RELEASE-p12 FreeBSD 12.2-RELEASE-p12 ec84e0c52a1(HEAD) TRUENAS  amd64

Is anybody from Emby able to confirm what changed in latest beta releases?

Link to comment
Share on other sites

1 hour ago, bbartlomiej said:

Thanks for all the suggestions. Unfortunately on another clean jail install it still fails even with "latest" packages.

root@emby:/var/db/emby-server # ls -l
total 0
root@emby:/var/db/emby-server # pwd
/var/db/emby-server
root@emby:/var/db/emby-server # pkg info
ImageMagick6-6.9.12.34_1,1     Image processing tools (legacy version)
avahi-app-0.8                  Service discovery on a local network
ca_root_nss-3.76               Root certificate bundle from the Mozilla Project
cairo-1.17.4,3                 Vector graphics library with cross-device output support
cmrtlib-20.1.1                 C for Metal Runtime
cups-2.3.3op2                  Common UNIX Printing System
curl-7.81.0                    Command line tool and library for transferring data with URLs
dbus-1.12.20_5                 Message bus system for inter-application communication
dbus-glib-0.112                GLib bindings for the D-BUS messaging system
dejavu-2.37_1                  Bitstream Vera Fonts clone with a wider range of characters
emby-server-4.7.0.32_1         Emby Server is a personal media server with apps on just about every device
encodings-1.0.5,1              X.Org Encoding fonts
expat-2.4.7                    XML 1.0 parser written in C
fftw3-3.3.10                   Fast C routines to compute the Discrete Fourier Transform
font-bh-ttf-1.0.3_4            X.Org Bigelow & Holmes TTF font
font-misc-ethiopic-1.0.4       X.Org miscellaneous Ethiopic font
font-misc-meltho-1.0.3_4       X.Org miscellaneous Meltho font
fontconfig-2.13.94_2,1         XML-based font configuration API for X Windows
freetype2-2.11.1               Free and portable TrueType font rendering engine
fribidi-1.0.11                 Free Implementation of the Unicode Bidirectional Algorithm
gdbm-1.23                      GNU database manager
gdk-pixbuf2-2.40.0             Graphic library for GTK+
gettext-runtime-0.21           GNU gettext runtime libraries and programs
ghostscript9-agpl-base-9.55.0  PostScript and PDF interpreter
ghostscript9-agpl-x11-9.55.0   PostScript and PDF interpreter, X11 support
giflib-5.2.1                   Tools and library routines for working with GIF images
glib-2.70.4_1,2                Some useful routines of C programming (current stable version)
gmp-6.2.1                      Free library for arbitrary precision arithmetic
gnome_subr-1.0                 Common startup and shutdown subroutines used by GNOME scripts
gnutls-3.6.16                  GNU Transport Layer Security library
graphite2-1.3.14               Rendering capabilities for complex non-Roman writing systems
gsfonts-8.11_8                 Standard Fonts for Ghostscript
harfbuzz-4.1.0                 OpenType text shaping engine
iconv-2.0_5                    Charset conversion library and utilities
icu-70.1_1,1                   International Components for Unicode (from IBM)
indexinfo-0.3.1                Utility to regenerate the GNU info page index
intel-media-sdk-22.3.0         Hardware video decoding/encoding/filtering on Intel GPUs
jbig2dec-0.19                  Decoder implementation of the JBIG2 image compression format
jbigkit-2.1_1                  Lossless compression for bi-level images such as scanned pages, faxes
jpeg-turbo-2.1.3               SIMD-accelerated JPEG codec which replaces libjpeg
krb5-1.19.3                    MIT implementation of RFC 4120 network authentication service
lcms2-2.12                     Accurate, fast, and small-footprint color management engine
leptonica-1.82.0               C library for efficient image processing and image analysis operations
libICE-1.0.10,1                Inter Client Exchange library for X11
libSM-1.2.3,1                  Session Management library for X11
libX11-1.7.2,1                 X11 library
libXau-1.0.9                   Authentication Protocol library for X11
libXdmcp-1.1.3                 X Display Manager Control Protocol library
libXext-1.3.4,1                X11 Extension library
libXfixes-6.0.0                X Fixes extension library
libXft-2.3.4                   Client-sided font API for X applications
libXrender-0.9.10_2            X Render extension library
libXt-1.2.1,1                  X Toolkit library
libarchive-3.6.0,1             Library to create and read several streaming archive formats
libass-0.15.2                  Portable ASS/SSA subtitle renderer
libdaemon-0.14_1               Lightweight C library that eases the writing of UNIX daemons
libdrm-2.4.110,1               Userspace interface to kernel Direct Rendering Module services
libedit-3.1.20210910,1         Command line editor library
libepoll-shim-0.0.20210418     Small epoll implementation using kqueue
libevent-2.1.12                API for executing callback functions on events or timeouts
libffi-3.3_1                   Foreign Function Interface
libfontenc-1.1.4               The fontenc Library
libgd-2.3.3,1                  Graphics library for fast creation of images
libglvnd-1.4.0_1               GL Vendor-Neutral Dispatch library
libiconv-1.16                  Character set conversion library
libidn-1.35                    Internationalized Domain Names command line tool
libidn2-2.3.2                  Implementation of IDNA2008 internationalized domain names
libinotify-20211018            Kevent based inotify compatible library
liblqr-1-0.4.2                 Easy to use C/C++ seam carving library
libltdl-2.4.6                  System independent dlopen wrapper
liblz4-1.9.3,1                 LZ4 compression library, lossless and very fast
libnghttp2-1.46.0              HTTP/2.0 C Library
libogg-1.3.5,4                 Ogg bitstream library
libpaper-1.1.28                Library providing routines for paper size management
libpciaccess-0.16              Generic PCI access library
libpthread-stubs-0.4           Weak aliases for pthread functions
libraqm-0.9.0                  Library that encapsulates complex text layout logic
libraw-0.20.2_2                Library for manipulating raw images
librsvg2-rust-2.52.8           Library for parsing and rendering SVG vector-graphic files
libssh2-1.10.0,3               Library implementing the SSH2 protocol
libtasn1-4.18.0                ASN.1 structure parser library
libtheora-1.1.1_7              Theora video codec for the Ogg multimedia streaming system
libunicode-0.4_11              Library for manipulating Unicode characters and strings
libunistring-1.0               Unicode string library
libunwind-20211201             Generic stack unwinding library
libva-2.14.0                   VAAPI wrapper and dummy driver
libvorbis-1.3.7_2,3            Audio compression codec library
libwmf-0.2.12                  Tools and library for converting Microsoft WMF (windows metafile)
libxcb-1.14_1                  The X protocol C-language Binding (XCB) library
libxml2-2.9.12                 XML parser library for GNOME
libzvbi-0.2.35_3               Routines to access raw VBI capture devices
mkfontscale-1.2.1              Creates an index of scalable font files for X
mpdecimal-2.5.1                C/C++ arbitrary precision decimal floating point libraries
nettle-3.7.3                   Low-level cryptographic library
ocl-icd-2.3.1                  OpenCL Installable Client Driver
openjpeg-2.4.0                 Open-source JPEG 2000 codec
openssl-1.1.1n,1               TLSv1.3 capable SSL and crypto library
opus-1.3.1                     IETF audio codec
p11-kit-0.24.1                 Library for loading and enumerating of PKCS#11 modules
pango-1.50.6                   Open-source framework for the layout and rendering of i18n text
pciids-20220225                Database of all known IDs used in PCI devices
pcre-8.45                      Perl Compatible Regular Expressions library
perl5-5.32.1_1                 Practical Extraction and Report Language
pixman-0.40.0_1                Low-level pixel manipulation library
pkg-1.17.5_1                   Package manager
pkgconf-1.8.0,1                Utility to help to configure compiler and linker flags
png-1.6.37_1                   Library for manipulating PNG images
poppler-data-0.4.11            Poppler encoding data
python38-3.8.12_2              Interpreted object-oriented programming language
readline-8.1.2                 Library for editing command lines as they are typed
shared-mime-info-2.0_2         MIME types database from the freedesktop.org project
sqlite3-3.37.2,1               SQL database engine in a C library
tesseract-5.1.0                Commercial quality open source OCR engine
tesseract-data-4.1.0           Trained language data for the Tesseract OCR engine
tiff-4.3.0                     Tools and library routines for working with TIFF images
tpm-emulator-0.7.4_2           Trusted Platform Module (TPM) emulator
trousers-0.3.14_3              Open-source TCG Software Stack
wayland-1.20.0                 Core Wayland window system code and protocol
webp-1.2.2                     Google WebP image format conversion tool
xorg-fonts-truetype-7.7_1      X.Org TrueType fonts
xorgproto-2021.5               X Window System unified protocol definitions
zstd-1.5.2                     Fast real-time compression algorithm
root@emby:/var/db/emby-server # ps aux
USER   PID %CPU %MEM   VSZ  RSS TT  STAT STARTED    TIME COMMAND
root 10134  0.0  0.0 11436 2828  -  SsJ  22:59   0:00.01 /usr/sbin/syslogd -c -ss
root 10178  0.0  0.0 11256 2616  -  SsJ  22:59   0:00.00 /usr/sbin/cron -J 15 -s
emby 12295  0.0  0.0 10852 2320  -  SsJ  23:07   0:00.01 daemon: /usr/local/lib/emby-server/system/EmbyServer[12357] (daemon)
root 10299  0.0  0.0 12188 3104  0  IJ   22:59   0:00.01 login [pam] (login)
root 10300  0.0  0.0 13300 4012  0  SJ   22:59   0:00.03 -csh (csh)
root 12358  0.0  0.0 11984 3168  0  R+J  23:08   0:00.00 ps aux
root@emby:/var/db/emby-server # uname -a
FreeBSD emby 12.2-RELEASE-p12 FreeBSD 12.2-RELEASE-p12 ec84e0c52a1(HEAD) TRUENAS  amd64

Is anybody from Emby able to confirm what changed in latest beta releases?

It could be the new mlock requirement: 

 

Link to comment
Share on other sites

bbartlomiej
21 hours ago, Luke said:

It could be the new mlock requirement: 

 

Yes, that's it! Thanks!
Could it be perhaps added as information to the download page or somewhere in the installation docs?

Link to comment
Share on other sites

25 minutes ago, bbartlomiej said:

Yes, that's it! Thanks!
Could it be perhaps added as information to the download page or somewhere in the installation docs?

It already is on our website for new installs, however, we need to document it with the 4.7 release because it will also have to be set when upgrading to 4.7.

Link to comment
Share on other sites

hjason7812
On 4/1/2022 at 6:31 PM, Luke said:

It could be the new mlock requirement: 

 

What is mlock exactly? Never heard of it 

Link to comment
Share on other sites

21 hours ago, hjason7812 said:

Oh, I've never heard if it before and I have installed emby a lot over the years. 

It became necessary after switching the Emby FreeBSD package to be based on the .NET runtime rather than mono, which is a great thing as it's now smaller, consumes fewer resources and performs better.

Link to comment
Share on other sites

FreeBSD_Lover

Sorry, I didn't scroll too far back so I apologize if I have missed something. And I really should try to spend a bit more time in this forum, but time is not in abundance. 🙄

I am literally running a default installation of Emby on a default installation of FreeBSD (latest RELEASE) and never get caught up in any issues. And I don't recall any installation prompts or "make" options regarding mlock.

Link to comment
Share on other sites

2 hours ago, FreeBSD_Lover said:

Sorry, I didn't scroll too far back so I apologize if I have missed something. And I really should try to spend a bit more time in this forum, but time is not in abundance. 🙄

I am literally running a default installation of Emby on a default installation of FreeBSD (latest RELEASE) and never get caught up in any issues. And I don't recall any installation prompts or "make" options regarding mlock.

There isn't really a way for us to present you with a pre-installation prompt, so when 4.7 goes stable, we're just going to have to make it part of the release announcement and hopefully as many people as possible will be made aware of it.

Link to comment
Share on other sites

  • 4 months later...
dhenzler
On 11/8/2014 at 7:54 PM, Luke said:

Luke didn't say this... I did...image.png.ce9024187d73fcfceab9edb338fb96b2.png

Spent the last few hours trying to recover from an attempted upgrade from a year or so old version of emby.  I thought it would be pretty simple.  Familiar with Free BSD and so just removed the existing version and went to the download instructions found herein... ran the required dependencies, then the install.    I got the following when I ran "top"

nanslp is SLEEP MODE and is waiting for a timeout from the system.  Which never comes...  the TIME indicator moves VERY slowly, and it would take days to reach 1.  Tried killing 3129, but if you run service emby-server start again... it's back.

 

Just for fun I created another jail and installed the emby plugin.  I've gotten away from plugins and don't use them now.  But the odd thing is it fails to work too.  Very frustrating as there seems to be no one who knows the answer on how to stop nanslp.

Please contact me if you do.  This is a backup system that has a few files that my main system doesn't.  So I occasionally use it for that odd one...that I want to see again.

On 11/8/2014 at 7:54 PM, Luke said:

Installation Instructions

See https://emby.media/download

http://mediabrowser.tv/community/uploads/inline/2/545ebda5cbaad_logofullthumb.png

FreeBSD is an advanced computer operating system used to power modern servers, desktops and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.

 

Edited by dhenzler
Link to comment
Share on other sites

hjason7812
11 hours ago, dhenzler said:

Just for fun I created another jail and installed the emby plugin.  I've gotten away from plugins and don't use them now.  But the odd thing is it fails to work too.  Very frustrating as there seems to be no one who knows the answer on how to stop nanslp.

Please contact me if you do.  This is a backup system that has a few files that my main system doesn't.  So I occasionally use it for that odd one...that I want to see again.

 

I had the same issue figured it out though. All you have to do is make a second jail for the plug in to work, you have to setup a dummy jail for it. You shouldn't have to do this but for some reason you have to now with all plug-ins to install and work. 

  • Sad 1
Link to comment
Share on other sites

dhenzler
5 hours ago, hjason7812 said:

I had the same issue figured it out though. All you have to do is make a second jail for the plug in to work, you have to setup a dummy jail for it. You shouldn't have to do this but for some reason you have to now with all plug-ins to install and work. 

I have tried all the tricks I know... searched for nanslp (sleep) and found nothing of value.  Some mention of editing the jail.conf file, but I don't find one inside the jail... Perhaps outside.  But they also mentioned that the patch shown on https://emby.media/freebsd-server.html If you're installing Emby Server into a jail, update jail.conf:

allow.mlock = 1;
ip6 = inherit;
 
isn't valid after FreeBSD 12.  I'm assuming 12.3 is fixed.
I might install FreeBSD 13
 
I'm using TrueNAS running as root on a Linux machine.  Have a 4T drive for content.  Has worked flawlessly for a couple years.  Now... thanks to wanting to update it... I've got nada...
 
I'll try one more thing, and then forget about it.
Link to comment
Share on other sites

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