Jump to content

[Server] Won't restart after crash


whynotlinux

Recommended Posts

thatoneguy99

@whynotlinix Are you still not getting a log file and only have systemd messages to debug?

 

 

Sent from my iPhone using Tapatalk

Link to comment
Share on other sites

whynotlinux

No any log file (/usr/lib/emby-server/logserver is empty (0 Ko) and /var/log/emby-server.log to) :-(

 

I have just this backtrace when i start it manualy

 

 Mono: 4.4.2 (Stable 4.4.2.11/f72fe45 Tue Aug 30 15:47:09 UTC 2016)

Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe
exception inside UnhandledException handler: Object reference not set to an instance of an object
 
exception inside UnhandledException handler: Object reference not set to an instance of an object
 
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
  at MediaBrowser.Server.Mono.MainClass.Main (System.String[] args) <0x4030c0e0 + 0x00225> in <filename unknown>:0 
Connection to rextv.whynotlinux.org closed.
Link to comment
Share on other sites

thatoneguy99

Your log files should be in /var/lib/emby-server/logs. You may have a few in there but the ones that start with server are the ones you want to look at. My mono version is the same as yours to the T. What happens when you run sudo service emby-server status or sudo service emby-server restart?

 

 

Sent from my iPhone using Tapatalk

Link to comment
Share on other sites

whynotlinux

yes it's /var/lib not /usr/lib ouppppsss ;-) but the server log file is created and is empty.

 

when i run a start or restart emby-server service,  nothing happens

systemd status just as I described before
I have run the command manually to have a log
Link to comment
Share on other sites

adventclad

Same issue since last upgrade, also on Ubuntu 16.04.1. I opened an issue on github. And also no logs created in /var/lib/emby-server/logs.

 

EDIT: installing mono-complete fixed the issue, all those packages were installed:

Install: hunspell-en-us:amd64 (20070829-6ubuntu3, automatic), libmonosgen-2.0-dev:amd64 (4.4.2.11-0xamarin1, automatic), libglade2-0:amd64 (1:2.6.4-2, automatic), libmono-system-serviceprocess4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-relaxng4.0-cil:amd64 (4.
4.2.11-0xamarin1, automatic), enchant:amd64 (1.6.0-10.1build2, automatic), libmonoboehm-2.0-1:amd64 (4.4.2.11-0xamarin1, automatic), glib-networking-services:amd64 (2.48.2-1~ubuntu16.04.1, automatic), libart-2.0-2:amd64 (2.3.21-2, automatic), libnunit-core2.6.3-cil:amd64
 (2.6.4+dfsg-1, automatic), libmono-system-windows4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libpangox-1.0-0:amd64 (0.0.2-5, automatic), libmono-system-reactive-observable-aliases0.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libgnomecanvas2-common:amd64 (2.30.3-2, a
utomatic), libmono-oracle4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libgnome2-bin:amd64 (2.32.1-5ubuntu1, automatic), libmono-system-web-razor2.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libgnomeui-0:amd64 (2.24.5-3.1, automatic), libnunit-cil-dev:amd64 (2.6.4+dfsg
-1, automatic), libgtk2.0-cil:amd64 (2.12.26-0xamarin1, automatic), libproxy1v5:amd64 (0.4.11-5ubuntu1, automatic), dconf-service:amd64 (0.24.0-2, automatic), libcairo-gobject2:amd64 (1.14.6-1, automatic), libnunit-core-interfaces2.6.3-cil:amd64 (2.6.4+dfsg-1, automatic)
, libcdparanoia0:amd64 (3.10.2+debian-11, automatic), glib-networking:amd64 (2.48.2-1~ubuntu16.04.1, automatic), libmono-system-reactive-debugger2.2-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-i18n-other4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libshout3:amd6
4 (2.3.1-3, automatic), libpango1.0-0:amd64 (1.38.1-1, automatic), gstreamer1.0-plugins-good:amd64 (1.8.2-1ubuntu0.1, automatic), libmono-system-management4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-system-web-routing4.0-cil:amd64 (4.4.2.11-0xamarin1, automati
c), mono-utils:amd64 (4.4.2.11-0xamarin1, automatic), libmono-system-reflection-context4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-codecontracts4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libgnome-keyring-common:amd64 (3.12.0-1build1, automatic), mono-cshar
p-shell:amd64 (4.4.2.11-0xamarin1, automatic), libmono-system-web-http-selfhost4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libwebkitgtk-1.0-common:amd64 (2.4.11-0ubuntu0.1, automatic), libmono-tasklets4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-system-react
ive-platformservices2.2-cil:amd64 (4.4.2.11-0xamarin1, automatic), dconf-gsettings-backend:amd64 (0.24.0-2, automatic), libmono-rabbitmq4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-microsoft-build-framework4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-
system-data-services-client4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-system-reactive-providers2.2-cil:amd64 (4.4.2.11-0xamarin1, automatic), libharfbuzz-icu0:amd64 (1.0.1-1ubuntu0.1, automatic), libegl1-mesa:amd64 (11.2.0-1ubuntu2.1, automatic), gstreamer1.0
-plugins-base:amd64 (1.8.2-1ubuntu0.1, automatic), libmono-system-net-http4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-system-xml-serialization4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-system-web-mvc3.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), gs
ettings-desktop-schemas:amd64 (3.18.1-1ubuntu1, automatic), libgail18:amd64 (2.24.30-1ubuntu1, automatic), libmono-windowsbase4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-microsoft-build-engine4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-peapi4.0a-cil
:amd64 (4.4.2.11-0xamarin1, automatic), libmono-simd4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-system-dynamic4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-http4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libnunit-util2.6.3-cil:amd64 (2.6.4+dfsg-1,
automatic), libmono-system-json4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-system-net-http-formatting4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libbonoboui2-common:amd64 (2.24.5-3ubuntu1, automatic), libmono-i18n-mideast4.0-cil:amd64 (4.4.2.11-0xamarin1, a
utomatic), libmono-system-io-compression-filesystem4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), glib-networking-common:amd64 (2.48.2-1~ubuntu16.04.1, automatic), libgstreamer-plugins-good1.0-0:amd64 (1.8.2-1ubuntu0.1, automatic), libmono-smdiagnostics0.0-cil:amd64 (4.4
.2.11-0xamarin1, automatic), libglade2.0-cil:amd64 (2.12.26-0xamarin1, automatic), libmono-system-servicemodel-web4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libsoup2.4-1:amd64 (2.52.2-1ubuntu0.1, automatic), libgbm1:amd64 (11.2.0-1ubuntu2.1, automatic), libmono-syste
m-runtime4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-profiler:amd64 (4.4.2.11-0xamarin1, automatic), mono-xbuild:amd64 (4.4.2.11-0xamarin1, automatic), libwayland-client0:amd64 (1.9.0-1, automatic), libaspell15:amd64 (0.60.7~20110707-3build1, automatic), libmo
no-cscompmgd0.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libwebkitgtk-1.0-0:amd64 (2.4.11-0ubuntu0.1, automatic), libmono-microsoft-build4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libpangoxft-1.0-0:amd64 (1.38.1-1, automatic), libmono-debugger-soft4.0a-cil:amd64 (4
.4.2.11-0xamarin1, automatic), libmono-system-net4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-system-data-services4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-system-servicemodel-discovery4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-system-d
ata-linq4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-system-reactive-interfaces2.2-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-system-reactive-runtime-remoting2.2-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-system-web-webpages-deployment2.0-cil:am
d64 (4.4.2.11-0xamarin1, automatic), libmono-system-componentmodel-composition4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-parallel4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libgnomeui-common:amd64 (2.24.5-3.1, automatic), libmono-system-xaml4.0-cil:amd64 (
4.4.2.11-0xamarin1, automatic), libmono-cil-dev:amd64 (4.4.2.11-0xamarin1, automatic), libmono-system-runtime-interopservices-runtimeinformation4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libgnome2-0:amd64 (2.32.1-5ubuntu1, automatic), libmono-xbuild-tasks4.0-cil:amd6
4 (4.4.2.11-0xamarin1, automatic), libwebkit1.1-cil:amd64 (0.3-7, automatic), mono-4.0-service:amd64 (4.4.2.11-0xamarin1, automatic), libmono-management4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libenchant1c2a:amd64 (1.6.0-10.1build2, automatic), mono-devel:amd64 (4.
4.2.11-0xamarin1, automatic), libmono-system-threading-tasks-dataflow4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), monodoc-base:amd64 (4.4.2.11-0xamarin1, automatic), libglib2.0-cil:amd64 (2.12.26-0xamarin1, automatic), libgstreamer-plugins-base1.0-0:amd64 (1.8.2-1ubunt
u0.1, automatic), gstreamer1.0-x:amd64 (1.8.2-1ubuntu0.1, automatic), libmonosgen-2.0-1:amd64 (4.4.2.11-0xamarin1, automatic), libgeoclue0:amd64 (0.12.99-4ubuntu1, automatic), libmono-system-reactive-windows-forms2.2-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-sys
tem-data-datasetextensions4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-db2-1.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), emacsen-common:amd64 (2.0.8, automatic), libmono-2.0-1:amd64 (4.4.2.11-0xamarin1, automatic), aspell:amd64 (0.60.7~20110707-3build1, automa
tic), libmono-webmatrix-data4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libbonoboui2-0:amd64 (2.24.5-3ubuntu1, automatic), libmono-system-json-microsoft4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-system-web-dynamicdata4.0-cil:amd64 (4.4.2.11-0xamarin1, auto
matic), libvisual-0.4-0:amd64 (0.4.0-8, automatic), libgnome-keyring0:amd64 (3.12.0-1build1, automatic), libmono-i18n-rare4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libhunspell-1.3-0:amd64 (1.3.3-4ubuntu1, automatic), libmono-system-numerics-vectors4.0-cil:amd64 (4.4
.2.11-0xamarin1, automatic), dictionaries-common:amd64 (1.26.3, automatic), libmono-system-servicemodel-routing4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-custommarshalers4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-system-drawing-design4.0-cil:amd64
 (4.4.2.11-0xamarin1, automatic), libmono-system-windows-forms-datavisualization4.0a-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-2.0-dev:amd64 (4.4.2.11-0xamarin1, automatic), libmono-system-web-abstractions4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-sy
stem-net-http-webrequest4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-system-reactive-experimental2.2-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-system-web-webpages2.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-system-reactive-linq2.2-cil:amd64 (
4.4.2.11-0xamarin1, automatic), mono-jay:amd64 (4.4.2.11-0xamarin1, automatic), libmono-system-web-extensions-design4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-microsoft-visualc10.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-microsoft-build-tasks-v4.0-
4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libnunit-mocks2.6.3-cil:amd64 (2.6.4+dfsg-1, automatic), libv4l-0:amd64 (1.10.0-1, automatic), libv4lconvert0:amd64 (1.10.0-1, automatic), libmono-system-reactive-core2.2-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-sy
stem-web-http-webhost4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), monodoc-manual:amd64 (4.4.2.11-0xamarin1, automatic), mono-mcs:amd64 (4.4.2.11-0xamarin1, automatic), libgnomecanvas2-0:amd64 (2.30.3-2, automatic), libnunit-console-runner2.6.3-cil:amd64 (2.6.4+dfsg-1,
automatic), monodoc-browser:amd64 (4.2-1, automatic), libnunit-framework2.6.3-cil:amd64 (2.6.4+dfsg-1, automatic), libmono-compilerservices-symbolwriter4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-microsoft-build-utilities-v4.0-4.0-cil:amd64 (4.4.2.11-0xamarin1
, automatic), mono-complete:amd64 (4.4.2.11-0xamarin1), libmono-i18n-cjk4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-system-web-webpages-razor2.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libgstreamer1.0-0:amd64 (1.8.2-1~ubuntu1, automatic), libmono-microsoft-
web-infrastructure1.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-i18n4.0-all:amd64 (4.4.2.11-0xamarin1, automatic), libmono-system-data-entity4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libdconf1:amd64 (0.24.0-2, automatic), libmono-system-ldap-protocols4.0-ci
l:amd64 (4.4.2.11-0xamarin1, automatic), libmono-cecil-private-cil:amd64 (4.4.2.11-0xamarin1, automatic), libwayland-server0:amd64 (1.9.0-1, automatic), libjavascriptcoregtk-1.0-0:amd64 (2.4.11-0ubuntu0.1, automatic), libmono-system-runtime-durableinstancing4.0-cil:amd64
 (4.4.2.11-0xamarin1, automatic), libmono-system-reactive-windows-threading2.2-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-messaging-rabbitmq4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-cairo4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-system-w
eb-extensions4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), aspell-en:amd64 (7.1-0-1.1, automatic), libmono-system-web-http4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-sharpzip4.84-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmono-system-runtime-caching4.0-cil
:amd64 (4.4.2.11-0xamarin1, automatic)
Edited by adventclad
Link to comment
Share on other sites

adventclad

In fact, it didn't fix the issue, it starts, but fails afterward:

 

2016-09-01 09:23:30.8152 Error Main: UnhandledException

        *** Error Report ***
        Version: 3.0.6400.0
        Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh
        Operating system: Unix 4.4.0.31
        Processor count: 8
        64-Bit OS: True
        64-Bit Process: True
        Program data path: /var/lib/emby-server
        Mono: 4.4.2 (Stable 4.4.2.11/f72fe45 Tue Aug 30 16:43:57 UTC 2016)
        Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe
        '', hexadecimal value 0x01, is an invalid character. Line 2, position 361.
        System.Xml.XmlException
          at System.Xml.XmlTextReaderImpl.Throw (System.Exception e) <0x417be170 + 0x000a7> in <filename unknown>:0
          at System.Xml.XmlTextReaderImpl.Throw (System.String res, System.String[] args) <0x417bdd30 + 0x000a7> in <filename unknown>:0
          at System.Xml.XmlTextReaderImpl.Throw (Int32 pos, System.String res, System.String[] args) <0x417bdcc0 + 0x00043> in <filename unknown>:0
          at System.Xml.XmlTextReaderImpl.ThrowInvalidChar (System.Char[] data, Int32 length, Int32 invCharPos) <0x417bd9d0 + 0x00047> in <filename unknown>:0
          at System.Xml.XmlTextReaderImpl.ParseText (System.Int32& startPos, System.Int32& endPos, System.Int32& outOrChars) <0x4131a1b0 + 0x00763> in <filename unknown>:0
          at System.Xml.XmlTextReaderImpl.ParseText () <0x41319bf0 + 0x000c3> in <filename unknown>:0
          at System.Xml.XmlTextReaderImpl.ParseElementContent () <0x41319740 + 0x00323> in <filename unknown>:0
          at System.Xml.XmlTextReaderImpl.Read () <0x41314000 + 0x00057> in <filename unknown>:0
          at System.Xml.XmlLoader.LoadNode (Boolean skipOverWhitespace) <0x41463eb0 + 0x00594> in <filename unknown>:0
          at System.Xml.XmlLoader.LoadDocSequence (System.Xml.XmlDocument parentDoc) <0x41463e30 + 0x00057> in <filename unknown>:0
          at System.Xml.XmlLoader.Load (System.Xml.XmlDocument doc, System.Xml.XmlReader reader, Boolean preserveWhitespace) <0x41463350 + 0x0024b> in <filename unknown>:0
          at System.Xml.XmlDocument.Load (System.Xml.XmlReader reader) <0x414631a0 + 0x0008b> in <filename unknown>:0
          at System.Xml.XmlDocument.LoadXml (System.String xml) <0x417b26d0 + 0x0009f> in <filename unknown>:0
          at Mono.Nat.Upnp.MessageBase.Decode (Mono.Nat.Upnp.UpnpNatDevice device, System.String message) <0x417bd3d0 + 0x00062> in <filename unknown>:0
          at Mono.Nat.Upnp.UpnpNatDevice.DecodeMessageFromResponse (System.IO.Stream s, Int64 length) <0x417bd210 + 0x0016f> in <filename unknown>:0
          at Mono.Nat.Upnp.UpnpNatDevice.EndMessageInternal (IAsyncResult result) <0x417bccf0 + 0x00407> in <filename unknown>:0
          at Mono.Nat.Upnp.UpnpNatDevice.EndCreatePortMapInternal (IAsyncResult result) <0x417bcca0 + 0x00017> in <filename unknown>:0
          at System.Net.SimpleAsyncResult+<SimpleAsyncResult>c__AnonStorey0.<>m__0 (System.Net.SimpleAsyncResult result) <0x416ff1d0 + 0x00026> in <filename unknown>:0
          at System.Net.SimpleAsyncResult.DoCallback_private () <0x4167aab0 + 0x00033> in <filename unknown>:0
          at System.Net.SimpleAsyncResult.SetCompleted (Boolean synch, System.Exception e) <0x417bcb10 + 0x0002b> in <filename unknown>:0
          at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) <0x41761d90 + 0x00a7f> in <filename unknown>:0
          at (wrapper remoting-invoke-with-check) System.Net.HttpWebRequest:SetResponseData (System.Net.WebConnectionData)
          at System.Net.WebConnection.ReadDone (IAsyncResult result) <0x41758d60 + 0x00a8b> in <filename unknown>:0
          at System.Net.Sockets.SocketAsyncResult+<Complete>c__AnonStorey0.<>m__0 (System.Object _) <0x41696fb0 + 0x0001d> in <filename unknown>:0
          at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () <0x7f7a7c450d70 + 0x0002e> in <filename unknown>:0
          at System.Threading.ThreadPoolWorkQueue.Dispatch () <0x7f7a7c44f2e0 + 0x001d6> in <filename unknown>:0
          at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () <0x7f7a7c450bf0 + 0x00008> in <filename unknown>:0
 
EDIT: see full log here : https://ssl.getonmyhor.se/p/10325d@raw
 
EDIT2: on second launch (through init.d script), it now seems to work fine ...
Edited by adventclad
Link to comment
Share on other sites

I was having the same problem, installing mono-complete seems to have fixed it for me. Might not be the most efficient way, but I have no shortage of space so...

Link to comment
Share on other sites

whynotlinux

So i think my problem on Debian is a little different to Ubuntu.

 

First the back traces are different.

 

Ubuntu

[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
  at MediaBrowser.Server.Mono.MainClass.Main (System.String[] args) <0x40bb00e0 + 0x00225> in <filename unknown>:0
Could not load signature of Patterns.Logging.ILogger:FatalException due to: Could not load file or assembly or one of its dependencies. assembly:System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a type:<unknown type> member:<none>
exception inside UnhandledException handler: Object reference not set to an instance of an object

exception inside UnhandledException handler: Object reference not set to an instance of an object

Debian (jessie)

Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe
exception inside UnhandledException handler: Object reference not set to an instance of an object
 
exception inside UnhandledException handler: Object reference not set to an instance of an object
 
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
  at MediaBrowser.Server.Mono.MainClass.Main (System.String[] args) <0x40e24ff0 + 0x00225> in <filename unknown>:0 

Second, Ubuntu the mono-complete package seems fix the problem, not on Debian.... :(

 

Nobody have idea emby much miss  ;)

Link to comment
Share on other sites

whynotlinux

 

 

Is it possible you're installing from the Ubuntu repo when you should be using the Debian repo?

 

Hi Luke

 

You talk about emby or mono-complete

 

for emby i'm using this one 

deb http://download.opensuse.org/repositories/home:/emby/Debian_8.0/ /

for mono-complete i'm testing with post before and now i rollback with the emby depot

Edited by whynotlinux
Link to comment
Share on other sites

hurricanehrndz

Hi Luke

 

You talk about emby or mono-complete

 

for emby i'm using this one 

deb http://download.opensuse.org/repositories/home:/emby/Debian_8.0/ /

for mono-complete i'm testing with post before and now i rollback with the emby depot

Mono-complete would not resolve your issue. The issue with your deployment might actually have to do with the mono version deployed on your system. Thanks for the feedback. We will look more into this, thank you.

Link to comment
Share on other sites

whynotlinux

hi thank you but ..... :(

root@rextv:~# service emby-server status
● emby-server.service - Emby Media Server
   Loaded: loaded (/lib/systemd/system/emby-server.service; enabled)
   Active: inactive (dead) since ven. 2016-09-09 09:26:17 CEST; 2s ago
  Process: 5966 ExecStopPost=/usr/bin/emby-server clear (code=exited, status=0/SUCCESS)
  Process: 5946 ExecStart=/usr/bin/emby-server start (code=exited, status=0/SUCCESS)
 Main PID: 5946 (code=exited, status=0/SUCCESS)

sept. 09 09:26:16 rextv su[5946]: Successful su for emby by root
sept. 09 09:26:16 rextv su[5946]: + ??? root:emby
sept. 09 09:26:16 rextv su[5946]: pam_unix(su:session): session opened for user emby by (uid=0)
sept. 09 09:26:17 rextv su[5946]: pam_unix(su:session): session closed for user emby
root@rextv:~# exec su -s /bin/sh -c 'exec "$0" "$@"' emby -- env MONO_THREADS_PER_CPU=250 MONO_GC_PARAMS=nursery-size=128m /usr/bin/mono-sgen --optimize=all /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -restartpath /usr/lib/emby-server/restart.sh
Info, Main, Emby
	Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -restartpath /usr/lib/emby-server/restart.sh
	Operating system: Unix 3.16.0.4
	Processor count: 8
	64-Bit OS: True
	64-Bit Process: True
	Program data path: /var/lib/emby-server
	Mono: 4.4.2 (Stable 4.4.2.11/f72fe45 Tue Aug 30 15:47:09 UTC 2016)
	Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe
exception inside UnhandledException handler: Object reference not set to an instance of an object

exception inside UnhandledException handler: Object reference not set to an instance of an object

[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
  at MediaBrowser.Server.Mono.MainClass.Main (System.String[] args) <0x41f930e0 + 0x00225> in <filename unknown>:0 
Connection to rextv.whynotlinux.org closed.

No change

Link to comment
Share on other sites

hurricanehrndz

hi thank you but ..... :(

root@rextv:~# service emby-server status
● emby-server.service - Emby Media Server
   Loaded: loaded (/lib/systemd/system/emby-server.service; enabled)
   Active: inactive (dead) since ven. 2016-09-09 09:26:17 CEST; 2s ago
  Process: 5966 ExecStopPost=/usr/bin/emby-server clear (code=exited, status=0/SUCCESS)
  Process: 5946 ExecStart=/usr/bin/emby-server start (code=exited, status=0/SUCCESS)
 Main PID: 5946 (code=exited, status=0/SUCCESS)

sept. 09 09:26:16 rextv su[5946]: Successful su for emby by root
sept. 09 09:26:16 rextv su[5946]: + ??? root:emby
sept. 09 09:26:16 rextv su[5946]: pam_unix(su:session): session opened for user emby by (uid=0)
sept. 09 09:26:17 rextv su[5946]: pam_unix(su:session): session closed for user emby
root@rextv:~# exec su -s /bin/sh -c 'exec "$0" "$@"' emby -- env MONO_THREADS_PER_CPU=250 MONO_GC_PARAMS=nursery-size=128m /usr/bin/mono-sgen --optimize=all /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -restartpath /usr/lib/emby-server/restart.sh
Info, Main, Emby
	Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -restartpath /usr/lib/emby-server/restart.sh
	Operating system: Unix 3.16.0.4
	Processor count: 8
	64-Bit OS: True
	64-Bit Process: True
	Program data path: /var/lib/emby-server
	Mono: 4.4.2 (Stable 4.4.2.11/f72fe45 Tue Aug 30 15:47:09 UTC 2016)
	Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe
exception inside UnhandledException handler: Object reference not set to an instance of an object

exception inside UnhandledException handler: Object reference not set to an instance of an object

[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
  at MediaBrowser.Server.Mono.MainClass.Main (System.String[] args) <0x41f930e0 + 0x00225> in <filename unknown>:0 
Connection to rextv.whynotlinux.org closed.

No change

Do you have any plugins enabled or did you install any before the crash?

Link to comment
Share on other sites

whynotlinux

Yes i have one or two plugins enabled (coverart and a other i don't remember) but from the beginning.

 
I Only did one thing added and deleted movies in my library folder (in the afternoon).
 
And when crash occured i was watched movie (in the evening)
Link to comment
Share on other sites

thatoneguy99

@@whynotlinux I am not sure if you already said or not but are you running Ubuntu?

I just recently had to reinstall Ubuntu and when I installed emby-server it would not start. After I installed mono-complete (without adding their repo) it started just fine and has ever since. Have you tried to wipe your emby server install and start over?

 

 

Sent from my iPhone using Tapatalk

Link to comment
Share on other sites

@@whynotlinux I am not sure if you already said or not but are you running Ubuntu?

I just recently had to reinstall Ubuntu and when I installed emby-server it would not start. After I installed mono-complete (without adding their repo) it started just fine and has ever since. Have you tried to wipe your emby server install and start over?

 

 

Sent from my iPhone using Tapatalk

 

Fyi we do have a package update posted and the mono-complete step shouldn't be necessary anymore. 

Link to comment
Share on other sites

thatoneguy99

Yes, my dist-upgrade command is telling me there is an emby upgrade. Will it undo the mono-complete? Or do I need to do that manually?

 

 

Sent from my iPhone using Tapatalk

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