Jump to content
Keldraxas

Emby on ReadNAS -

Recommended Posts

Keldraxas

Hi all,

 

There are quite a few posts on this forum with people asking for support for ReadyNAS, and a few replies saying there are already .deb files / cryptic clues on what you might have to do to get it working. As most of these are over 1-2 years old I thought I'd give it a go and see where I got up to.

 

I'm by no means an expert. I've worked in IT for quite some time but when it comes to Linux am definitely a novice.

 

Anyway - I have a ReadyNAS 314, running firmware 6.7.5. Having researched this appears to be a version of Debian Wheezy, with kernel 4.4.

 

Starting from here I found a post that said there was a .deb file to install so went here - https://software.opensuse.org/download.html?project=home%3Aemby&package=emby-server

 

Debian Wheezy is apparently Debian Version 7, so I tried that:

 

 

echo 'deb http://download.opensuse.org/repositories/home:/emby/Debian_7.0/ /' > /etc/apt/sources.list.d/emby-server.list 

apt-get update
apt-get install emby-server

 

This told me I require Mono

 

https://emby.media/community/index.php?/topic/33323-emby-on-netgear-readynas/  confirmed that mono is required.

 

So I looked up adding mono to ReadyNAS which led me here - https://community.netgear.com/t5/Community-Add-ons/Mono/td-p/989615

 

 

apt-get update

apt-get -y install apt-transport-https sudo nano git-core python python-software-properties software-properties-common
 
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 -y install mono-devel

 

This failed as it said various mono dependencies were missing.

 

Looking up one of those found - https://forums.sonarr.tv/t/sonarr-broken-on-readynas-os-6-7-1-libmono/14685/4

 

 

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

echo "deb http://download.mono-project.com/repo/debian2 jessie main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
echo "deb http://download.mono-project.com/repo/debian2 wheezy-apache24-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list
echo "deb http://download.mono-project.com/repo/debian2 wheezy-libjpeg62-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
Next do:
 
apt-get remove mono*
then do:
 
apt-get clean
apt-get autoclean
apt-get update
Next, do
 
sudo apt-get install mono-devel

 

At the end of this mono was installed (hurrah!). So I went back to the first step - https://software.opensuse.org/download.html?project=home%3Aemby&package=emby-server

 

And tried Debian Version 7 again

 

echo 'deb http://download.opensuse.org/repositories/home:/emby/Debian_7.0/ /' > /etc/apt/sources.list.d/emby-server.list 

apt-get update
apt-get install emby-server

 

Sadly this failed as while I now have mono, I have an old version.

 

The following packages have unmet dependencies:

 emby-server : 
               Depends: embymagick but it is not going to be installed
               Depends: mono-devel (>= 4.6) but 4.2.1.102+dfsg2-6 is to be installed
E: Unable to correct problems, you have held broken packages.
 

 

This is where I've managed to get to. I feel it's closer than previous posts and was wondering if anyone else can take it up from here or offer further advice?

  • Like 1

Share this post


Link to post
Share on other sites
Jdiesel

Mono and its dependencies can be a pain sometimes. I suggest trying to install mono-complete instead 

apt-get install mono-complete

Either that or maybe look into running Emby in Docker if Docker is available on ReadyNAS.

Edited by Jdiesel

Share this post


Link to post
Share on other sites
MoonSire

I had the same problem when upgrading my ReadyNAS from 6.1.? to 6.7.4.

 

I thought I had written down what I did to solve it, but I can't find where... I remember adding the official mono repository from this page http://www.mono-project.com/download/#download-lin-debian

 

Then I did

apt-get install mono-complete

 

if I remember correctly I had problems with apt still wanting to install from the ReadyNAS repository so I either changed the priority of the Mono repository or managed to force it to install from the Mono repository in some other way.

 

I had these pages in my browser history (together with alot of others on the same subject) 

https://askubuntu.com/questions/27362/how-to-only-install-updates-from-a-specific-repository

https://askubuntu.com/questions/135339/assign-highest-priority-to-my-local-repository

which might have something to do with it :)

 

Good luck!

Share this post


Link to post
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...