Installing Emby on Ubuntu 15.04 server

I’m creating this because I setup Emby on Ubuntu 14.04 server and then ended up with have the metadata missing. After fighting with it for a few days, I decided to start over and use the latest version of Ubuntu available.


After installing Ubuntu 15.04 server, I did the following:

$sudo su –


Set static IP address

# vi /etc/network/interfaces


Change the section for eth0 to this:

iface eth0 inet static





saved that and did this:

# ifdown eth0 && ifup eth0


# ping

make sure you get a response!

Eh, do system updates

# apt-get update


reboot and make sure the stuff changed above is still working.  At some point, Emby started without DNS and was unable to contact a media database to scrape info.  So, it build all the data empty and wouldn’t refresh it unless I manually went into every video metadata and identified it..  yeah.. not going to happen.


Mount data server shares using this guide.

Once you have the shares mounted, we will continue.  Once Emby is installed, we will edit the /etc/fstab uid and gid to the emby user that is created during installation.


Install Emby

# wget -qO - |  apt-key add -
# sh -c "echo 'deb /' >> /etc/apt/sources.list.d/emby-server.list"

# apt-get update
# apt-get install mono-runtime mediainfo libsqlite3-dev imagemagick-6.q8 libmagickwand-6.q8-2 libmagickcore-6.q8-2
# apt-get install emby-server


Once the server is installed, vi /etc/passwd and note the uid and gid for the emby user.



So, the uid is 110 and gid is 121

So, to make sure the mounts are working, reboot and make sure they are there.  If everything looks good…


# service emby-server start

# update-rc.d emby-server enable


Now just browse to the server and add your media.