Jump to content

[Server] Won't restart after crash


whynotlinux

Recommended Posts

whynotlinux

hi

I'am on Debian Jessie
The emby server is up to date
 
Until now, all did worked fine.
 
the app have just crashing and don't want restart anymore.
 
I don't have backtrace (emby-server or syslog or message.... nothing) , i have just systemd status
 
 ● emby-server.service - Emby Media Server
   Loaded: loaded (/lib/systemd/system/emby-server.service; enabled)
   Active: inactive (dead) since lun. 2016-08-29 22:32:06 CEST; 9min ago
  Process: 2532 ExecStopPost=/usr/bin/emby-server clear (code=exited, status=0/SUCCESS)
  Process: 2512 ExecStart=/usr/bin/emby-server start (code=exited, status=0/SUCCESS)
 Main PID: 2512 (code=exited, status=0/SUCCESS)
 
août 29 22:32:05 rextv su[2512]: Successful su for emby by root
août 29 22:32:05 rextv su[2512]: + ??? root:emby
août 29 22:32:05 rextv su[2512]: pam_unix(su:session): session opened for user emby by (uid=0)
août 29 22:32:06 rextv su[2512]: pam_unix(su:session): session closed for user emby
 
 
Somebody can help me...
Link to comment
Share on other sites

whynotlinux

hi

 

 i found why app crash

 

root@rextv:/usr/bin# 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.2.1 (Stable 4.2.1.102/6dd2d0d Thu Dec  3 03:58:58 UTC 2015)
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 
Connection to rextv.whynotlinux.org closed.
Edited by whynotlinux
Link to comment
Share on other sites

seppi91

Same here on Ubuntu 16.04.1 LTS after upgrade of mono and newest emby server version.

 

[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
 

Link to comment
Share on other sites

Do you have any plugins installed? if so, try removing them from the server's /plugins folder. thanks.

Link to comment
Share on other sites

seppi91

Many thanks Luke for your prompt reply! Yes, I installed some plugins...

I moved the /plugins folder to /plugins.bak but unfortunately emby still does not start and throws the same error message. I think the bug is related to newest mono package (4.2.1.102+dfsg2-7ubuntu4) in combination with emby-server:amd64 (3.0.6070, 3.0.6400).

Link to comment
Share on other sites

The versions of mono that i would recommend are 4.2.3.4 and 4.4.2. Fyi, our packages should be updated to 4.4.2 now.

Link to comment
Share on other sites

bigbakedbean

While I'm all for the latest and greatest, I'm afraid not working with the version of mono in the ubuntu repositories would be alienating an extremely large user base.

 

I am running mono 4.4.2 and also seeing the crash described in this post:

 

$ mono --version
Mono JIT compiler version 4.4.2 (Stable 4.4.2.11/f72fe45 Tue Aug 30 16:43:57 UTC 2016)

Edited by bigbakedbean
Link to comment
Share on other sites

thatoneguy99

I can confirm this behavior but I am not showing anything in the logs. I am not even sure I am looking at the right log file.

 

I am on Ubuntu 16.04 LTS, I just updated Emby today through APT and now it will not do anything. My mono version is 4.4.2. 

 

This started for me at about 1530. Any help is much appreciated.

Link to comment
Share on other sites

seppi91
Next was the solution for the problem described:

 

I added the Mono Project GPG signing key and the official mono package repository (for Ubuntu) to my source list and then installed mono-complete package.

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EFecho "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.listsudo apt-get update
sudo apt-get install mono-complete

Hopefully I could help...

Edited by seppi91
  • Like 1
Link to comment
Share on other sites

thatoneguy99

I added the Mono Project GPG signing key and the official mono package repository (for Ubuntu) to my source list and then installed mono-complete package.

 

What version of Ubuntu are you using? What kernel version?

Edited by thatoneguy99
Link to comment
Share on other sites

thatoneguy99

Could you please tell me the location of the log file. I looked in /var/lib/emby-server/logs and there is an old one. About 15:30 today is the last entry. It is not creating more logs every time I try and start emby. I am also using "sudo service emby-server stop/restart/start" (not all of those combinations at once, just one at a time). None of those combinations do anything and it doesn't create a more up to date log file.

 

UPDATE: There are three unhandled.txt files in the logs but nothing with a timestamp.

Edited by thatoneguy99
Link to comment
Share on other sites

that's where it would be. logging is just about the first thing loaded, so it's not even getting that far then.

Link to comment
Share on other sites

thatoneguy99

I am going to try the mono-complete method and see where that gets me. Today when I updated Emby through APT (which I have done many times before with no problems) it also updated libmono. Maybe that is because of the 4.4.2 mono version. I am thinking it may be related.

Link to comment
Share on other sites

thatoneguy99

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF

echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list

sudo apt-get update

sudo apt-get install mono-complete

 

Following these steps exactly has got Emby to start again. I do not know if there is a problem with my previously updated mono. I don't get that far into it :) I can do some testing if you need me to.

Edited by thatoneguy99
Link to comment
Share on other sites

seppi91

This just started for you today as well? After the latest Emby release?

YES

 

What version of Ubuntu are you using? What kernel version?

16.04.1 LTS (GNU/Linux 4.4.0-36-generic x86_64)

 

is a log created in the emby server logs folder?

Log file of systemd showed the error above. There was no log file from emby process.

Link to comment
Share on other sites

Tolotos

After update of mono in my Ubuntu LTS 16.04 emby is not starting as describet above.

After install of "mono-complete" from the mono project repository emby work again for me.

Link to comment
Share on other sites

Tolotos

While I have the smart peoples attention how can I add a key to the Emby repo so I can stop getting the apt-get update GPG error of no PUBKEY.

 

This is the repo I am using. Is it the correct one?  http://download.opensuse.org/repositories/home:/emby/xUbuntu_16.04

wget http://download.opensuse.org/repositories/home:emby/xUbuntu_16.04/Release.key
sudo apt-key add - < Release.key
sudo apt-get update
Link to comment
Share on other sites

bigbakedbean

Interesting, wonder what the differences are between the build

 

Today's mono update shuffled around numerous mono-related packages. After the upgrade, several packages were also removed. From my /var/log/apt/history.log:

 

Start-Date: 2016-08-30  13:37:28

Commandline: apt-get dist-upgrade

Install: libmonosgen-2.0-dev:amd64 (4.4.2.11-0xamarin1, automatic), libglade2-0:amd64 (1:2.6.4-2, automatic), libart-2.0-2:amd64 (2.3.21-2, automatic), libgnomecanvas2-common:amd64 (2.30.3-2, automatic), libgnomeui-0:amd64 (2.24.5-3.1, automatic), libgamin0:amd64 (0.1.10-5, automatic), libmono-system-reflection-context4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libgnome-keyring-common:amd64 (3.12.0-1build1, automatic), libgail18:amd64 (2.24.30-1ubuntu1, automatic), libbonoboui2-common:amd64 (2.24.5-3ubuntu1, automatic), gamin:amd64 (0.1.10-5, automatic), libgnomeui-common:amd64 (2.24.5-3.1, automatic), libmono-system-runtime-interopservices-runtimeinformation4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libmonosgen-2.0-1:amd64 (4.4.2.11-0xamarin1, automatic), libbonoboui2-0:amd64 (2.24.5-3ubuntu1, automatic), libgnome-keyring0:amd64 (3.12.0-1build1, automatic), libmono-system-numerics-vectors4.0-cil:amd64 (4.4.2.11-0xamarin1, automatic), libgnomecanvas2-0:amd64 (2.30.3-2, automatic)

Upgrade: libmono-system-numerics4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-serviceprocess4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-relaxng4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmonoboehm-2.0-1:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-windows4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-reactive-observable-aliases0.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-oracle4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-web-razor2.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-runtime-serialization-formatters-soap4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-xml4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-configuration-install4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-componentmodel-dataannotations4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-corlib4.5-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-io-compression4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-ldap4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-reactive-debugger2.2-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-i18n-other4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-drawing4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-management4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-web-routing4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-codecontracts4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), mono-csharp-shell:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-web-http-selfhost4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-web-applicationservices4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-tasklets4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-reactive-platformservices2.2-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-rabbitmq4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-servicemodel-activation4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-microsoft-build-framework4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-enterpriseservices4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-data-services-client4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-reactive-providers2.2-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-data4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-net-http4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), emby-server-beta:amd64 (3.1.128~beta, 3.1.129~beta), libmono-ldap4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-messaging4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-xml-serialization4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-web-mvc3.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-microsoft-csharp4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-windowsbase4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-microsoft-build-engine4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-peapi4.0a-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-simd4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), mono-4.0-gac:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-dynamic4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-data-tds4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-http4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-json4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-net-http-formatting4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-i18n-mideast4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-io-compression-filesystem4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-smdiagnostics0.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-servicemodel-web4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), ca-certificates-mono:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-runtime4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), mono-xbuild:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-cscompmgd0.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-microsoft-build4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-servicemodel-internals0.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-debugger-soft4.0a-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-configuration4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-net4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-data-services4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), mono-runtime-common:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-servicemodel-discovery4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-data-linq4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-reactive-interfaces2.2-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-reactive-runtime-remoting2.2-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-servicemodel4.0a-cil:amd64(4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-web-webpages-deployment2.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-componentmodel-composition4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-parallel4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-xaml4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-web4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-cil-dev:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-design4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-runtime-serialization4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-xbuild-tasks4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-security4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmonoboehm-2.0-dev:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-management4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-messaging4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), mono-runtime-sgen:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-xml-linq4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), mono-devel:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-threading-tasks-dataflow4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-web-services4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-reactive-windows-forms2.2-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-data-datasetextensions4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-db2-1.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-webmatrix-data4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-json-microsoft4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-web-dynamicdata4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-transactions4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-identitymodel4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-i18n-rare4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-servicemodel-routing4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), mono-gac:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-custommarshalers4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-drawing-design4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-windows-forms-datavisualization4.0a-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-2.0-dev:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-posix4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-web-abstractions4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-security4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-net-http-webrequest4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-reactive-experimental2.2-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-web-webpages2.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-reactive-linq2.2-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-web-extensions-design4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-microsoft-visualc10.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-microsoft-build-tasks-v4.0-4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-core4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-reactive-core2.2-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-web-http-webhost4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), mono-mcs:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-csharp4.0c-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-webbrowser4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-compilerservices-symbolwriter4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-microsoft-build-utilities-v4.0-4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-i18n-cjk4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-web-webpages-razor2.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-windows-forms4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-identitymodel-selectors4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-microsoft-web-infrastructure1.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-i18n4.0-all:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-data-entity4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-ldap-protocols4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), mono-runtime:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-cecil-private-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-sqlite4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-runtime-durableinstancing4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-reactive-windows-threading2.2-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-messaging-rabbitmq4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-accessibility4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-cairo4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-i18n4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-web-extensions4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-i18n-west4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-web-http4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-sharpzip4.84-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1), libmono-system-runtime-caching4.0-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4, 4.4.2.11-0xamarin1)

End-Date: 2016-08-30  13:40:42

 

Start-Date: 2016-08-30  13:41:49

Commandline: apt-get autoremove

Remove: libmonosgen-2.0-dev:amd64 (4.4.2.11-0xamarin1), libmono-system-serviceprocess4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-relaxng4.0-cil:amd64 (4.4.2.11-0xamarin1), libmonoboehm-2.0-1:amd64 (4.4.2.11-0xamarin1), libnunit-core2.6.3-cil:amd64 (2.6.4+dfsg-1), libmono-system-windows4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-reactive-observable-aliases0.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-oracle4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-web-razor2.0-cil:amd64 (4.4.2.11-0xamarin1), libnunit-cil-dev:amd64 (2.6.4+dfsg-1), libnunit-core-interfaces2.6.3-cil:amd64 (2.6.4+dfsg-1), libmono-c5-1.1-cil:amd64 (4.2.1.102+dfsg2-7ubuntu4), libmono-system-reactive-debugger2.2-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-management4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-web-routing4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-reflection-context4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-codecontracts4.0-cil:amd64 (4.4.2.11-0xamarin1), mono-csharp-shell:amd64 (4.4.2.11-0xamarin1), libmono-system-web-http-selfhost4.0-cil:amd64 (4.4.2.11-0xamarin1),libmono-tasklets4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-reactive-platformservices2.2-cil:amd64 (4.4.2.11-0xamarin1), libmono-rabbitmq4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-microsoft-build-framework4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-data-services-client4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-reactive-providers2.2-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-net-http4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-xml-serialization4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-web-mvc3.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-windowsbase4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-microsoft-build-engine4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-peapi4.0a-cil:amd64 (4.4.2.11-0xamarin1), libmono-simd4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-dynamic4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-http4.0-cil:amd64 (4.4.2.11-0xamarin1), libnunit-util2.6.3-cil:amd64 (2.6.4+dfsg-1), libmono-system-json4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-net-http-formatting4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-io-compression-filesystem4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-smdiagnostics0.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-servicemodel-web4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-runtime4.0-cil:amd64 (4.4.2.11-0xamarin1), mono-xbuild:amd64 (4.4.2.11-0xamarin1), libmono-cscompmgd0.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-microsoft-build4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-debugger-soft4.0a-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-net4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-data-services4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-servicemodel-discovery4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-data-linq4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-reactive-interfaces2.2-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-reactive-runtime-remoting2.2-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-web-webpages-deployment2.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-componentmodel-composition4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-parallel4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-xaml4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-cil-dev:amd64 (4.4.2.11-0xamarin1), libmono-system-runtime-interopservices-runtimeinformation4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-xbuild-tasks4.0-cil:amd64 (4.4.2.11-0xamarin1), pkg-config:amd64 (0.29.1-0ubuntu1), libmonoboehm-2.0-dev:amd64(4.4.2.11-0xamarin1), libmono-management4.0-cil:amd64 (4.4.2.11-0xamarin1), mono-devel:amd64 (4.4.2.11-0xamarin1), libmono-system-threading-tasks-dataflow4.0-cil:amd64 (4.4.2.11-0xamarin1), libmonosgen-2.0-1:amd64 (4.4.2.11-0xamarin1), libmono-system-reactive-windows-forms2.2-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-data-datasetextensions4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-db2-1.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-webmatrix-data4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-json-microsoft4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-web-dynamicdata4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-numerics-vectors4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-servicemodel-routing4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-custommarshalers4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-drawing-design4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-windows-forms-datavisualization4.0a-cil:amd64 (4.4.2.11-0xamarin1), libmono-2.0-dev:amd64 (4.4.2.11-0xamarin1), libmono-system-web-abstractions4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-net-http-webrequest4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-reactive-experimental2.2-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-web-webpages2.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-reactive-linq2.2-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-web-extensions-design4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-microsoft-visualc10.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-microsoft-build-tasks-v4.0-4.0-cil:amd64 (4.4.2.11-0xamarin1), libnunit-mocks2.6.3-cil:amd64 (2.6.4+dfsg-1), libmono-system-reactive-core2.2-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-web-http-webhost4.0-cil:amd64 (4.4.2.11-0xamarin1), mono-mcs:amd64 (4.4.2.11-0xamarin1), libnunit-console-runner2.6.3-cil:amd64 (2.6.4+dfsg-1), libnunit-framework2.6.3-cil:amd64 (2.6.4+dfsg-1), libmono-compilerservices-symbolwriter4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-microsoft-build-utilities-v4.0-4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-web-webpages-razor2.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-microsoft-web-infrastructure1.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-data-entity4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-ldap-protocols4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-cecil-private-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-runtime-durableinstancing4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-reactive-windows-threading2.2-cil:amd64 (4.4.2.11-0xamarin1), libmono-messaging-rabbitmq4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-cairo4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-web-extensions4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-web-http4.0-cil:amd64 (4.4.2.11-0xamarin1), libmono-sharpzip4.84-cil:amd64 (4.4.2.11-0xamarin1), libmono-system-runtime-caching4.0-cil:amd64 (4.4.2.11-0xamarin1)

End-Date: 2016-08-30  13:42:49

 

I would imagine that Emby depends on one of the packages that was removed without explicitly specifying this dependency. This would tend to explain why installing mono-complete (an even more massive set of packages I would prefer not to have to install) has solved the problem for some folks.

Link to comment
Share on other sites

thatoneguy99

 

wget http://download.opensuse.org/repositories/home:emby/xUbuntu_16.04/Release.key
sudo apt-key add - < Release.key
sudo apt-get update
 

Worked like a charm. THANK YOU!

 

 

Sent from my iPhone using Tapatalk

Link to comment
Share on other sites

whynotlinux

For me the problem still continue :-( even after install the mono-complete package

 

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) <0x4030c0e0 + 0x00225> in <filename unknown>:0 
Connection to rextv.whynotlinux.org closed.
 
root@rextv:~# mono --version
Mono JIT compiler version 4.4.2 (Stable 4.4.2.11/f72fe45 Tue Aug 30 15:47:09 UTC 2016)
Copyright © 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS:           __thread
SIGSEGV:       altstack
Notifications: epoll
Architecture:  amd64
Disabled:      none
Misc:          softdebug 
LLVM:          supported, not enabled.
GC:            sgen
root@rextv:~# 
 
 
Edited by whynotlinux
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...