Paint 7 Posted September 24, 2017 Share Posted September 24, 2017 I am having an issue with my Emby server on my Ubuntu 16.04 LTS server. I am getting seg faults on both Emby Stable and Beta. Can you please advise how I can resolve this issue? Here is a paste of the log: https://pastebin.com/7NbeHkcG Mono JIT compiler version 5.2.0.224 (tarball Mon Sep 18 17:33:20 UTC 2017) Copyright (C) 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 (concurrent by default) Link to comment Share on other sites More sharing options...
Luke 37084 Posted September 24, 2017 Share Posted September 24, 2017 hi @, can you roll back to mono 4.8.1? That is currently our highest supported version. Thanks ! Link to comment Share on other sites More sharing options...
Paint 7 Posted September 25, 2017 Author Share Posted September 25, 2017 hi @, can you roll back to mono 4.8.1? That is currently our highest supported version. Thanks !I only see snapshots back until 5.0.0. Do you have a link to the correct package? Sent from my SM-G955U using Tapatalk Link to comment Share on other sites More sharing options...
tdiguy 96 Posted September 25, 2017 Share Posted September 25, 2017 (edited) The repo you will want to use to pin mono to 4.8.1 is : deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.8.1.0 main You will likely have to uninstall mono first to downgrade since many of the components will be versions higher so i think its remove then use the apt-get autoremove once you remove mono. Then put that line into your repository or make another repo whatever your preference is. Then install mono and it should be 4.8.1 Also you can use -s with any of the apt commands and it will simulate the changes so it wont make changes but you can see what it would do. I used that a lot when i was trying to downgrade mono. Edited September 25, 2017 by tdiguy Link to comment Share on other sites More sharing options...
tdiguy 96 Posted September 25, 2017 Share Posted September 25, 2017 As a side note, if you have other repositories that contain mono it will cause issues with versions. Link to comment Share on other sites More sharing options...
SkyBehind 23 Posted September 25, 2017 Share Posted September 25, 2017 What Mono package(s) do we install? I have to do the same. mono-devel and mono-sgen... or mono-complete... or what? Link to comment Share on other sites More sharing options...
Paint 7 Posted September 25, 2017 Author Share Posted September 25, 2017 The repo you will want to use to pin mono to 4.8.1 is : deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.8.1.0 main You will likely have to uninstall mono first to downgrade since many of the components will be versions higher so i think its remove then use the apt-get autoremove once you remove mono. Then put that line into your repository or make another repo whatever your preference is. Then install mono and it should be 4.8.1 Also you can use -s with any of the apt commands and it will simulate the changes so it wont make changes but you can see what it would do. I used that a lot when i was trying to downgrade mono. The mono-project.com does not have snapshot repos for version 4.8.1.0. Anywhere else I can download them from? E: The repository 'http://download.mono-project.com/repo/ubuntu xenial/snapshots/4.8.1.0 Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. Link to comment Share on other sites More sharing options...
SkyBehind 23 Posted September 25, 2017 Share Posted September 25, 2017 The mono-project.com does not have snapshot repos for version 4.8.1.0. Anywhere else I can download them from? E: The repository 'http://download.mono-project.com/repo/ubuntu xenial/snapshots/4.8.1.0 Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. Did you see the xenial snapshots anywhere. Specified above is wheeze and that's what's also listed on the Mono Project's page for snapshots of older versions. http://www.mono-project.com/docs/getting-started/install/linux/ Link to comment Share on other sites More sharing options...
SkyBehind 23 Posted September 25, 2017 Share Posted September 25, 2017 What are you doing to install mono once it's been removed? Are you installing mono-complete or what? This is the step I'm at, as I have the same problem as you. Link to comment Share on other sites More sharing options...
Paint 7 Posted September 25, 2017 Author Share Posted September 25, 2017 (edited) Did you see the xenial snapshots anywhere. Specified above is wheeze and that's what's also listed on the Mono Project's page for snapshots of older versions. http://www.mono-project.com/docs/getting-started/install/linux/ I changed the apt.sources file to be the following: deb http://download.mono-project.com/repo/ubuntu wheezy/snapshots/4.8.1.0 main I can now find the packages, but I need to resolve all of the dependencies.... is there an easy way to do this? UPDATE Found that I had some additional libmono and other mono-* packages installed from the latest repo. I ran the following commands and it resolved my issues. thank you everyone! Remove Command: apt remove libmono-2.0-1 mono-utils mono-jay mono-devel mono-runtime mono-runtime-sgen mono-mcs mono-complete Install command: apt-get install -f mono-complete libmono-2.0-1=4.8.1.0-0xamarin1 mono-utils=4.8.1.0-0xamarin1 mono-devel=4.8.1.0-0xamarin1 libmonosgen-2.0-1=4.8.1.0-0xamarin1 libmono-2.0-dev=4.8.1.0-0xamarin1 libmonoboehm-2.0-1=4.8.1.0-0xamarin1 libmonosgen-2.0-dev=4.8.1.0-0xamarin1 Edited September 25, 2017 by diamantj Link to comment Share on other sites More sharing options...
tdiguy 96 Posted September 25, 2017 Share Posted September 25, 2017 (edited) I believe for emby that mono-devel is needed. Mono complete is huge by comparison. Also of note until emby supports another version of mono its best to keep mono pinned to that 4.8.1 snapshot. This way it will not upgrade when you do a apt-get upgrade. You can of course test this out using sudo apt-get -s upgrade this will show you what will be upgraded without upgrading. Edited September 25, 2017 by tdiguy Link to comment Share on other sites More sharing options...
Paint 7 Posted September 25, 2017 Author Share Posted September 25, 2017 I believe for emby that mono-devel is needed. Mono complete is huge by comparison. Also of note until emby supports another version of mono its best to keep mono pinned to that 4.8.1 snapshot. This way it will not upgrade when you do a apt-get install upgrade. You can of course test this out using sudo apt-get install -s upgrade this will show you what will be upgraded without upgrading. I might have the apt command mixed up. Yes, I am installing mono-devel in my above post Link to comment Share on other sites More sharing options...
tdiguy 96 Posted September 25, 2017 Share Posted September 25, 2017 Sorry that was mostly meant for skybehind i got the impression you fixed the issue you had with mono. Link to comment Share on other sites More sharing options...
Paint 7 Posted September 25, 2017 Author Share Posted September 25, 2017 Sorry that was mostly meant for skybehind i got the impression you fixed the issue you had with mono. yes, my issue is resolved. thanks Link to comment Share on other sites More sharing options...
SkyBehind 23 Posted September 25, 2017 Share Posted September 25, 2017 For me, unfortunately I have a bunch of unmet dependencies, if I do an apt -f install it wants to remove all mono related packages, including emby-server! Link to comment Share on other sites More sharing options...
tdiguy 96 Posted September 25, 2017 Share Posted September 25, 2017 (edited) Skybehind, you could also remove each package individually if you wish might be a bit lengthy if you have a lot packages to remove. I think 1 or 2 of these repos are not needed but this is what my repo list looks like for emby: deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.8.1.0 main deb http://download.opensuse.org/repositories/home:/emby/Debian_8.0/ / deb http://download.opensuse.org/repositories/home:/emby/xUbuntu_14.04/ / deb http://ftp.debian.org/debian stretch-backports main Forgot i also have this list: deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main I think i still had to manually download libwebp if i remember correctly. I found that at: http://old-releases.ubuntu.com/ubuntu/pool/main/libw/libwebp/libwebp5_0.4.1-1.1_armhf.deb Its confusing but i use multiple repo files so its a bit scattered but i prefer it over a long repo file. Hope this helps. Edited September 25, 2017 by tdiguy Link to comment Share on other sites More sharing options...
SkyBehind 23 Posted September 25, 2017 Share Posted September 25, 2017 What a pain. I ended up just removing all mono and dependencies. Reinstalled emby-server, since my directory with data was still there, didn't even have to restore, it reinstalled with all configurations, library, etc. in place. Needless to say, I've pinned mono version :-) 1 Link to comment Share on other sites More sharing options...
tdiguy 96 Posted September 25, 2017 Share Posted September 25, 2017 Emby for me is running off a external hdd on a rpi3 with all my media on another external hdd. I have taken the nuke from orbit a few times so i have no issue at all iff too much stuff is removed, heck autoremove is my friend often times. Glad to hear you got it sorted out also ya i totally feel you there with mono. I forgot how it happened for me but my mono updated to 5.2 and emby just did not behave well with it. Course now i am also running the emby .net core beta, i really like it myself. It is beta though so of course i know something could go wrong. Link to comment Share on other sites More sharing options...
Luke 37084 Posted September 25, 2017 Share Posted September 25, 2017 It has no more mono dependency, which will be nice once that is eventually rolled out to stable. Very few dependencies actually, so problems like this will be a thing of the past. 1 Link to comment Share on other sites More sharing options...
SkyBehind 23 Posted September 26, 2017 Share Posted September 26, 2017 I can't wait for .net core. But you know, there's an informal SLA for my wife that it's pretty much expected to have 100% uptime, lol. Link to comment Share on other sites More sharing options...
tdiguy 96 Posted September 26, 2017 Share Posted September 26, 2017 I can't wait for .net core. But you know, there's an informal SLA for my wife that it's pretty much expected to have 100% uptime, lol. Lol same here. I normally try to work on it when she is out of the house or asleep. Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted September 26, 2017 Share Posted September 26, 2017 Lol same here. I normally try to work on it when she is out of the house or asleep. +1 to that Link to comment Share on other sites More sharing options...
SkyBehind 23 Posted September 26, 2017 Share Posted September 26, 2017 And then when something happens, I'm shitting bricks, hoping to fix it before I'm discovered! Sent from my Nexus 6 using Tapatalk Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now