mono was easy to get around just use aptitude and let it solve the issue for you, gonna try the rest
Setting up mono-4.0-gac (3.2.8+dfsg-10) ...
Setting up mono-gac (3.2.8+dfsg-10) ...
update-alternatives: using /usr/bin/gacutil to provide /usr/bin/cli-gacutil (global-assembly-cache-tool) in auto mode
Setting up mono-runtime-common (3.2.8+dfsg-10) ...
Setting up mono-runtime-sgen (3.2.8+dfsg-10) ...
Setting up mono-runtime (3.2.8+dfsg-10) ...
update-alternatives: using /usr/bin/mono to provide /usr/bin/cli (cli) in auto mode
Setting up libmono-corlib4.5-cil (3.2.8+dfsg-10) ...
Setting up libmono-security4.0-cil (3.2.8+dfsg-10) ...
Setting up libmono-system-xml4.0-cil (3.2.8+dfsg-10) ...
Setting up libmono-system4.0-cil (3.2.8+dfsg-10) ...
Setting up libmono-system-security4.0-cil (3.2.8+dfsg-10) ...
Setting up libmono-system-configuration4.0-cil (3.2.8+dfsg-10) ...
Processing triggers for libc-bin (2.19-18) ...
gave it right permissions
chown mediabrowser:mediabrowser /opt/mediabrowser -R
made sure, that’s there is /var/lib/mediabrowser & has right permissions
mkdir /var/lib/mediabrowser
chown mediabrowser:mediabrowser /var/lib/mediabrowser -R
put config (from deb ubuntu package) to /etc/default & stop/run script to /etc/init.d
also made link from actual imagemagick lib in jessie to that old version that emby needs
ln -s /usr/lib/i386-linux-gnu/libMagickWand-6.Q16.so /usr/lib/i386-linux-gnu/libMagickWand-6.Q8.so
HOLY SHIT 200+ packages ehrm, well why the hell not. But it seems like that is in conflict with the first step of your previous post (with mono-runtime)
Well trying to go through with this anyway, but I don’t really get which config file and which scripts to put where…
[....] Starting emby-server (via systemctl): emby-server.serviceFailed to start emby-server.service: Unit emby-server.service failed to load: No such file or directory.
failed!
Seems to be a mismatch between my configs which use the new emby namespace whereas the other steps were referencing mediabrowser
Do you have a copy of the configs you used?
And it worked! For about five minutes after which it threw an exception an crashed.
EDIT:
A few error msgs thrown in for good measure
Info, ImageMagick, ImageMagick version: ImageMagick 6.8.9-9 Q16 arm 2015-01-05 http://www.imagemagick.org
Error, ImageMagick, Error loading webp:
*** Error Report ***
Version: 3.0.5675.1
Command line: /opt/MediaBrowser/MediaBrowser.Server.Mono.exe -ffmpeg “/usr/src/ffmpeg/ffmpeg” -ffprobe “/usr/src/ffmpeg/ffprobe”
Operating system: Unix 3.18.13.1
Processor count: 4
64-Bit OS: False
64-Bit Process: False
Program data path: /opt/MediaBrowser/ProgramData-Server
Mono: 3.2.8 (Debian 3.2.8+dfsg-10)
Application Path: /opt/MediaBrowser/MediaBrowser.Server.Mono.exe
delegate failed `"cwebp" -quiet -q %Q "%i" -o "%o"' @ error/delegate.c/InvokeDelegate/1310
ImageMagickSharp.WandException
at ImageMagickSharp.WandCore`1[ImageMagickSharp.MagickWand].CheckError (Boolean status) [0x00000] in <filename unknown>:0
at ImageMagickSharp.MagickWand.SaveImage (System.String path) [0x00000] in <filename unknown>:0
at Emby.Drawing.ImageMagick.ImageMagickEncoder.TestWebp () [0x00000] in <filename unknown>:0
Error, HttpServer, Exception loading certificate: /opt/MediaBrowser/ProgramData-Server/ssl/cert_9c31b7884ea5475c8687970fc5996297.pfx
*** Error Report ***
Version: 3.0.5675.1
Command line: /opt/MediaBrowser/MediaBrowser.Server.Mono.exe -ffmpeg “/usr/src/ffmpeg/ffmpeg” -ffprobe “/usr/src/ffmpeg/ffprobe”
Operating system: Unix 3.18.13.1
Processor count: 4
64-Bit OS: False
64-Bit Process: False
Program data path: /opt/MediaBrowser/ProgramData-Server
Mono: 3.2.8 (Debian 3.2.8+dfsg-10)
Application Path: /opt/MediaBrowser/MediaBrowser.Server.Mono.exe
Input data cannot be coded as a valid certificate.
System.Security.Cryptography.CryptographicException
at Mono.Security.X509.X509Certificate.Parse (System.Byte[] data) [0x00000] in <filename unknown>:0
at Mono.Security.X509.X509Certificate..ctor (System.Byte[] data) [0x00000] in <filename unknown>:0
at System.Security.Cryptography.X509Certificates.X509Certificate2.Import (System.Byte[] rawData, System.String password, X509KeyStorageFlags keyStorageFlags) [0x00000] in <filename unknown>:0
at System.Security.Cryptography.X509Certificates.X509Certificate2.Import (System.String fileName, System.String password, X509KeyStorageFlags keyStorageFlags) [0x00000] in <filename unknown>:0
at System.Security.Cryptography.X509Certificates.X509Certificate2..ctor (System.String fileName) [0x00000] in <filename unknown>:0
at SocketHttpListener.Net.EndPointListener.LoadCertificateAndKey (System.Net.IPAddress addr, Int32 port, System.String certificateLocation) [0x00000] in <filename unknown>:0
InnerException: System.Security.Cryptography.CryptographicException
Input data cannot be coded as a valid certificate.
at Mono.Security.X509.X509Certificate.Parse (System.Byte[] data) [0x00000] in <filename unknown>:0
And the final exception
UnhandledException
The task has already completed
System.InvalidOperationException
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult () [0x00000] in <filename unknown>:0
at MediaBrowser.Server.Implementations.Persistence.SqliteItemRepository+<UpdatePeople>d__3c.MoveNext () [0x00000] in <filename unknown>:0
at (wrapper unbox) MediaBrowser.Server.Implementations.Persistence.SqliteItemRepository/<UpdatePeople>d__3c:MoveNext ()
at System.Threading.Tasks.AwaiterActionContinuation.Execute () [0x00000] in <filename unknown>:0
at System.Threading.Tasks.Task.ProcessCompleteDelegates () [0x00000] in <filename unknown>:0
at System.Threading.Tasks.Task.Finish () [0x00000] in <filename unknown>:0
at System.Threading.Tasks.Task.ThreadStart () [0x00000] in <filename unknown>:0
at System.Threading.Tasks.Task.Execute () [0x00000] in <filename unknown>:0
at System.Threading.Tasks.TpScheduler.TaskExecuterCallback (System.Object obj) [0x00000] in <filename unknown>:0
Shutting down finalizer thread timed out.
Segmenteringsfel
To see if a) sudo would help b) not to run from source directory but installation directory.
Checking the logs I get a whole lot of errors regarding ffprobe “error starting ffprobe” and “error in ffprobe”. I enabled debug logging, dunno if that’s why I got a more detailed shell output but the latest crash reads:
UnhandledException
The task has already completed
System.InvalidOperationException
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult () [0x00000] in <filename unknown>:0
at MediaBrowser.Server.Implementations.Persistence.SqliteItemRepository+<UpdatePeople>d__3c.MoveNext () [0x00000] in <filename unknown>:0
at (wrapper unbox) MediaBrowser.Server.Implementations.Persistence.SqliteItemRepository/<UpdatePeople>d__3c:MoveNext ()
at System.Threading.Tasks.AwaiterActionContinuation.Execute () [0x00000] in <filename unknown>:0
at System.Threading.Tasks.Task.ProcessCompleteDelegates () [0x00000] in <filename unknown>:0
at System.Threading.Tasks.Task.Finish () [0x00000] in <filename unknown>:0
at System.Threading.Tasks.Task.ThreadStart () [0x00000] in <filename unknown>:0
at System.Threading.Tasks.Task.Execute () [0x00000] in <filename unknown>:0
at System.Threading.Tasks.TpScheduler.TaskExecuterCallback (System.Object obj) [0x00000] in <filename unknown>:0
Shutting down finalizer thread timed out.
Stacktrace:
Native stacktrace:
Debug info from gdb:
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
working as well as their installation instructions they seriously gotta fix their shit cause the only way i got emby to work in under windows so its pretty much false advertising that they got linux support when your emulating dot net shit with windows exes
they should do a native server bin
or they could do a rpi 2 with windows 10 iot version