Skip to main content

Emby Media Server | Arch Linux


I have tried to install Emby directly from the Arch package repositories, but for whatever reason, permissions for the emby service user were not allowing emby to access the media file locations. Now that I have used it a little bit, Docker seems to be the best, and easiest way, to get Emby up and running reliably. Below is my experience running through the emby installation process. Most of it comes from the GitHub tutorial, but I've added my take and what I've done to resolve certain issues.

Note: The following install was done on an Arch Linux box, running the most recent kernel, which at the time was 4.3.3.-2-ARCH.

You can get he full GitHub installation guide from here


First, make sure that you have a working Docker instance:

sudo pacman -S docker

Now, start the docker service:

sudo systemctl enable docker
sudo systemctl start docker

Your docker container should now be running, and it should startup after each reboot of your system. To Check that the service is running, use the following command

sudo systemctl status docker 

If docker is running, your should see something like:

$ sudo docker info
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 0
Server Version: 1.11.2
Storage Driver: devicemapper
 Pool Name: docker-254:0-1183049-pool
 Pool Blocksize: 65.54 kB
 Base Device Size: 10.74 GB
 Backing Filesystem: xfs
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 11.8 MB
 Data Space Total: 107.4 GB
 Data Space Available: 26.73 GB
 Metadata Space Used: 581.6 kB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.147 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Deferred Deletion Enabled: false
 Deferred Deleted Device Count: 0
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 WARNING: Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning.
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.125 (2016-05-14)
Logging Driver: json-file
Cgroup Driver: cgroupfs
 Volume: local
 Network: host bridge null
Kernel Version: 4.5.4-1-ARCH
Operating System: Arch Linux
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 7.694 GiB
Name: localhost
Docker Root Dir: /var/lib/docker
Debug mode (client): false
Debug mode (server): false

If you have trouble starting the docker service, try rebooting your system and then try starting the service again.

Lastly, make sure that the user that will be installing the emby Docker package is also able to run the docker command.

Emby Docker Hub Installation:

Start the installation

sudo docker run -it --rm -v /usr/local/bin:/target emby/embyserver instl

Install the Emby service

sudo docker run -it --rm -v /usr/local/bin:/target emby/embyserver instl service

Enable the Emby service

sudo systemctl enable embay-server

Emby Server Setup

Run the following command into your terminal window:


The first time your run the above command, you will be prompted to input the locations where Emby can find your media. For example: /home/username/Music or /home/username/MediaStorageDevice.

Once Emby is able to access your media files, it will be able to handle the rest.

Accessing the Server

Now that the backend is all set, all you have to do is open a browser and enter localhost:8096 into the address bar. It should bring you to the setup page for Emby, and the prompts should be easy enough to follow.

Updating Emby

Emby can be updated by restarting the emby service

sudo systemctl restart emby-server

Or by

sudo docker exec emby-server update


Popular posts from this blog

Installing Arch Linux & Gnome 3 Desktop

Installation:The following steps are what I did to install Arch linux on my Asus laptop and many other devices. The Beginners Install Guide is much more in-depth and explains some other features like MBR installs, full and partial disk encryption, and the GRUB boot loader.Installation:Bootable Arch Media:You can grab the latest ISO from here. I always grab one from one of the US mirrors, but they have a Torrent file as well.Now lets create the install media:# sudo dd bs=512 if=/location/of/your/iso_file of=/dev/sdx && sync This will take about 5 minutes to complete, but it will depend on the quality of the flash media.Install Arch:Boot to the USB drive that you just created, and select the first boot option.After the OS environment boots, take a look at the connected devices and determine where you will be installing Arch. If you know how large your target drive is, determining which device to use should be fairly straight forward.# lsblk Network Setup:If you are connect to yo…