Jump to content

Emby Server 4.7.0.60 seems to be alive, but I cannot connect to it


dml33

Recommended Posts

dml33

Hi.

I have just updated my Emby Server 4.7.0.20 to Emby Server 4.7.0.60 in a FreeBSD 12.3p5 jail using Bastille in XigmaNAS 12.3.0.4 rev 9047.

I get ERR_CONNECTION_REFUSED while connecting to 8096 port.

It seems that Emby-server is alive

root@Emby:/ # service emby-server status
emby_server is running as pid 73535.

But, no log is created under

/var/db/emby-server/logs

Pkg info:

root@Emby:/var/db/emby-server # pkg info emby-server
emby-server-4.7.0.60_1
Name           : emby-server
Version        : 4.7.0.60_1
Installed on   : Sat May 21 16:48:55 2022 UTC
Origin         : multimedia/emby-server-4.7.0.60
Architecture   : FreeBSD:12:amd64
Prefix         : /usr/local
Categories     : multimedia
Licenses       : UNKNOWN
Maintainer     : apps@emby.media
WWW            : UNKNOWN
Comment        : Emby Server is a personal media server with apps on just about every device
Shared Libs required:
        libwebpmux.so.3
        libzvbi.so.0
        libtheoraenc.so.1
        libunwind-x86_64.so.8
        libfreetype.so.6
        libopus.so.0
        libfribidi.so.0
        libvorbisenc.so.2
        libva-drm.so.2
        libunwind.so.8
        libgssapi_krb5.so.2.2
        libpng16.so.16
        libwebp.so.7
        libvorbis.so.0
        libdrm.so.2
        libmfx.so.1
        libiconv.so.2
        libfontconfig.so.1
        libgnutls.so.30
        libass.so.9
        libOpenCL.so.1
        libtheoradec.so.1
        libva.so.2
        libinotify.so.0
Shared Libs provided:
        libpostproc.so.56
        libmscordaccore.so
        libavutil.so.57
        libavfilter.so.8
        libavcodec.so.59
        libcoreclr.so
        libswresample.so.4
        libhostpolicy.so
        libSystem.Globalization.Native.so
        libdbgshim.so
        libSystem.Net.Security.Native.so
        libswscale.so.6
        libSystem.Security.Cryptography.Native.OpenSsl.so
        libcoreclrtraceptprovider.so
        libSkiaSharp.so.80.2
        libhostfxr.so
        libavdevice.so.59
        libclrjit.so
        libmscordbi.so
        libavformat.so.59
        libSystem.IO.Compression.Native.so
        libSystem.Native.so
Annotations    :
        FreeBSD_version: 1203000
Flat size      : 145MiB
Description    :
Emby Server is a personal media server with apps on just about every device

FreeBSD version:

root@Emby:/var/db/emby-server/logs # freebsd-version
12.3-RELEASE-p5

Any clue?
 

Thanks!

 

Link to comment
Share on other sites

dml33

BTW, the 4.7.0.20 beta I was working with runs perfectly in the same FreeBSD 12.3p5 jail using Bastille in XigmaNAS 12.3.0.4 rev 904.

The issue seems to happen with the 4.7.0.60 version itself or some incompatibilities with some packages.

Currently, with the 4.7.20 version, I have these packages installed:

root@Emby:/mnt/Movies3 # pkg info
ImageMagick6-6.9.12.44_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.83.1                    Command line tool and library for transferring data with URLs
dav1d-1.0.0                    Small and fast AV1 decoder
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.20_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.8                    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_3           Graphic library for GTK+
gettext-runtime-0.21           GNU gettext runtime libraries and programs
ghostscript9-agpl-base-9.55.0_1 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_3,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.2.1                 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
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
libXScrnSaver-1.2.3_2          The XScrnSaver 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
libexif-0.6.24                 Library to read digital camera file meta-data
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
libgdiplus-6.0.4               GDI+ API for System.Windows.Forms in Mono
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
libimagequant-2.17.0           Image Quantization Library
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
libpsl-0.21.1_3                C library to handle the Public Suffix List
libpthread-stubs-0.4           This library provides 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.54.0_2         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
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.13_1               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
mono6.8-6.8.0.123_1            Open source implementation of .NET Development Framework
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
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_1                    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
py38-olefile-0.46              Python module to read MS OLE2 files
py38-pillow-9.0.1_1            Fork of the Python Imaging Library (PIL)
py38-setuptools-57.0.0         Python packages installer
py38-tkinter-3.8.13_6          Python bindings to the Tk widget set (Python 3.8)
python38-3.8.13                Interpreted object-oriented programming language
readline-8.1.2                 Library for editing command lines as they are typed
shared-mime-info-2.2_1         MIME types database from the freedesktop.org project
sqlite3-3.37.2,1               SQL database engine in a C library
tcl86-8.6.12                   Tool Command Language
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
tk86-8.6.12                    Graphical toolkit for Tcl
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_2               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
zip-3.0_1                      Create/update ZIP files compatible wit PKZIP
zstd-1.5.2                     Fast real-time compression algorithm

 

Link to comment
Share on other sites

dml33

Well, I found the solution here

It seems that a new flag must be included in the setup of the jail, so .NET, which uses mlock(2) functions, could properly run.

In my case, for a FreeBSD jail, the jail.conf file shall include the following flag:

allow.mlock = 1;

I noticed that something similar is stated in the instructions for TrueNAS

https://emby.media/truenas-server.html

But@Luke, please, include this information in the general FreeBSD instructions web, just in a note, in case Emby is installed inside a jail.

https://emby.media/freebsd-server.html

Thanks

Thanks.

 

Link to comment
Share on other sites

constrict

Thanks for this. For those wondering how to do this with iocage:

sudo iocage set allow_mlock=1 emby

P.S. The error that you get if you run the start service command manually is (for people searching on this error)

Failed to create CoreCLR, HRESULT: 0x8007FF02

Edited by constrict
Link to comment
Share on other sites

On 5/21/2022 at 6:35 PM, dml33 said:

Well, I found the solution here

It seems that a new flag must be included in the setup of the jail, so .NET, which uses mlock(2) functions, could properly run.

In my case, for a FreeBSD jail, the jail.conf file shall include the following flag:

allow.mlock = 1;

I noticed that something similar is stated in the instructions for TrueNAS

https://emby.media/truenas-server.html

But@Luke, please, include this information in the general FreeBSD instructions web, just in a note, in case Emby is installed inside a jail.

https://emby.media/freebsd-server.html

Thanks

Thanks.

 

Done. The website is being updated. Thanks !

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