Page 1 of 1

Emby-server

Posted: Thu Nov 09, 2017 9:51 am
by johnvick
Hi Fourdee,

I have run into problems with Emby crashing which their forum admin thinks is due to me running Mono v 5.4 - they only support up to v 4.8.1.

I have updated Mono with apt-get update without thinking too much about it which is no doubt why I have ended up with this version.

Just tried to install Emby on a spare device and I see it uses Mono 4.8.1 - how can I prevent apt-get update from offering updates to this version?

John

Re: Emby-server

Posted: Thu Nov 09, 2017 5:49 pm
by Fourdee
Hi John,

If you remove the mono repo from system, should prevent it overwriting during apt-get upgrades

Code: Select all

rm /etc/apt/sources.list.d/mono-xamarin.list
apt-get clean
apt-get update
Another option is to hold the packages:

Code: Select all

apt-mark hold PACKAGENAME

Re: Emby-server

Posted: Thu Nov 09, 2017 6:00 pm
by k-plan
Hi John,
Fourdee wrote:Another option is to hold the packages:
or :

Code: Select all

echo "<package-name> hold" |  dpkg --set-selections

Re: Emby-server

Posted: Thu Nov 09, 2017 6:05 pm
by johnvick
Thanks guys.

Re: Emby-server

Posted: Fri Nov 10, 2017 9:55 am
by johnvick
Big problems here. I have uninstalled Emby and removed Mono using these instructions:

https://askubuntu.com/questions/644938/ ... emove-mono

Mono appears to have gone as mono -V produces no response.

Reinstalling Emby pulls in Mono v 5.4 not the 4.8.1 version I need and Emby keeps crashing.

Any ideas how to fix this - preferably just by removing/replacing Mono and keeping Emby to avoid having to rebuild its database?

John

Re: Emby-server

Posted: Fri Nov 10, 2017 8:05 pm
by johnvick
Finally seem to have fixed this but it was a pig of a job.

Uninstall emby-server

Remove all traces of mono 5.4 https://askubuntu.com/questions/644938/ ... emove-mono

In /etc/apt/sources.list.d changed mono.xamarin.list to contain this line:
deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.8.1.0 main

Therefore locking in this version of mono.

In /etc/apt/sources.list.d in emby-server.list have this line:
deb http://download.opensuse.org/repositori ... ntu_14.04/ /

apt-get update

apt-get install mono-devel=4.8.1.0-0xamarin1 (possibly an unnecessary step)

Installed two missing components of Emby https://emby.media/community/index.php? ... it-sticky/

apt-get install emby-server (had to do this manually as the dietpi-software way didn't work, possibly due to undetected mono 5.4 files left over?).

All good! Spent hours on this and a couple of sleepless nights.
All because I somehow updated mono - no fault of dietpi here.

John