Search the Community
Showing results for tags 'unstable'.
-
Hi! TLDR: Good news: Emby-Server on Rpi2! Bad news: Frequent crashes! Also: Me no understand because of Noob. Been reading up on Emby and thought I might try it on my Raspberry Pi 2 running debian (Well, running OSMC which is based off of Debian Jessie). Easier said than done! I couldn't really find anyone who'd been successful at it, but what the hell! Over at the OSMC forums me and one of the support guys from OSMC played around with it: https://discourse.osmc.tv/t/emby-server-osmc-on-rpi2/6274/ This morning I finally got it working by following the manual installation instructions for linux. Mediainfo was installed already (through apt-get) mono, imagemagick and sqlite3 were installed through aptitude, being careful so as to not accept any solutions that cancelled one of the others out (this was especially tricky with mono). Ffmpeg was built from source (which took ages and ages on the rpi2): sudo aptitude remove ffmpeg cd /usr/src sudo mkdir ffmpeg sudo chown `whoami`:users ffmpeg git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg cd ffmpeg ./configure make sudo make install and then I changed the config files accordingly and ran with mono MediaBrowser.Server.Mono.exe -ffmpeg “/usr/src/ffmpeg/ffmpeg” -ffprobe “/usr/src/ffmpeg/ffprobe” Finally it was alive! It throws a few errors during startup: 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 and 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 But starts and the web-ui seems snappy enough, I can play around with settings etc for a few minutes but then it consistently crashes. Maximum it reaches about 29% of the media library scan. The error messages vary slightly but they all look sort of like this: UnhandledExceptionThe 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. Segmentation fault oh and the media library is pointed to a mounted network share (through FStab) I literally have no idea where to go from here, I'm totally new to linux and atm I just feel I've hit a dead end. Has anyone got any suggestions where to go from here? EDIT: Changed command to sudo mono MediaBrowser.Server.Mono.exe -ffmpeg “/usr/local/share/man/man1/ffmpeg.1” -ffprobe “/usr/local/share/man/man1/ffprobe.1” To see if a) sudo would help 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. =================================================================