Ombi

This article will show you how to install Ombi. Ombi allows your shared Plex or Emby users the ability to request content by themselves.

You'll need to execute some commands via SSH to use this software. There is a separate guide on how to connect to your slot via SSH. Commands are kept as simple as possible and in most cases will simply need to be copied and pasted into the terminal window (then executed by pressing the Enter key).

Table of contents

Installation

Install Ombi by logging in via SSH, then copying and pasting the following:

mkdir -p ~/opt/Ombi
cd ~/opt/Ombi
wget -q $(curl -s https://api.github.com/repositories/52522046/releases/latest | grep 'browser_' | cut -d\" -f4 | head -n 3 | tail -n 1)
tar xf linux-x64.tar.gz
chmod +x Ombi
cp /usr/lib/x86_64-linux-gnu/libsqlite3.so libe_sqlite3.so
rm ~/opt/Ombi/linux-x64.tar.gz

Starting, stopping and restarting

This section covers the Ombi process - starting it, stopping it and restarting it. It also covers checking if the process is running, in case that becomes necessary.

You can start Ombi and print its URL with the following:

cd ~/opt/Ombi; screen -dmS Ombi ~/opt/Ombi/Ombi --host http://*:port

Replace port with a port number between 1024 and 32001. If nothing happens when you run the command or there is an error it could be that the port picked is in use. Try again with another port number.

Ombi may take a little while to start up. You'll be able to access it at http://server.feralhosting.com:port, where

  • server is replaced with the name of your server (e.g. zeus)
  • port is replaced with the port number you picked earlier.

So if you are on the server Brontes and picked 36135, you'd access it at:

http://brontes.feralhosting.com:36135

If you need to check that it's running, you can run the command below. If the process is running a list of relevant process ID numbers will be listed. If nothing is listed, the process is not running.

pgrep -fu "$(whoami)" "Ombi"

The Ombi process is stopped by executing:

pkill -fu "$(whoami)" 'Ombi'

If Ombi needs to be restarted, copy and paste these commands:

pkill -fu "$(whoami)" 'Ombi'
screen -dmS Ombi ~/opt/Ombi/Ombi --host http://*:port

Please note that if you want to stop the process for Ombi, it's best to check it afterwards to make sure it has stopped. If the process has crashed and will not stop when requested, you can kill it with:

pkill -9 -fu "$(whoami)" 'Ombi'

Automatically restarting Ombi if it is not running

Cron jobs can be used to check if Ombi is running and start it up if it is not. There is a separate page on configuring cron jobs.

Configuration

When you first access Ombi as per the instructions in the Starting, stopping and restarting section above, you'll be taken through their setup wizard.

Uninstallation

pkill -9 -fu "$(whoami)" 'Ombi'
rm -rf ~/opt/Ombi