Login for certain variables to be updated with your slot's information

Wiki > Ombi

Ombi is a self-hosted web application that automatically gives your shared Plex users the ability to request content. Ombi runs on its own port; 46719 has been automatically generated for you, but you may use another 5 digit port between 10000 and 65535.

Installation

Connect to your slot through SSH.

Ombi (V3)

  1. Download Ombi

     wget -O OmbiV3.tar.gz $(curl -s https://api.github.com/repos/tidusjar/Ombi/releases | grep linux.tar.gz | grep browser_download_url | head -1 | cut -d \" -f 4)
    
  2. Extract the archive

     mkdir ~/OmbiV3; tar xzvf OmbiV3.tar.gz -C ~/OmbiV3/
    
  3. Create a directory to store the database.

     mkdir ~/.ombi
    
  4. Start Ombi (may take a couple of minutes to start)

     cd ~/OmbiV3/; screen -dmS Ombi ./Ombi --host http://*:46719 --storage ~/.ombi/
    

You will be able to access Ombi at http://server.whatbox.ca:46719 when Ombi has started up.

Automatically Restart (V3)

Below are steps to take to have your Ombi V3 instance automatically restart if it crashes, or if the server is rebooted.

  1. Make a file to be used for the script. touch ~/ombi_restart.cron

  2. Edit the file and enter the text below. nano -w ~/ombi_restart.cron

     #!/bin/bash
     if pgrep -x "Ombi" > /dev/null
     then
         echo "Ombi is running."
     else 
         echo "Ombi is not running, starting Ombi"
         cd ~/OmbiV3/; screen -dmS Ombi ./Ombi --host http://*:46719 --storage ~/.ombi/
     fi
     exit
    
  3. Save the file with Ctrl+x and the "y" and Enter to accept overwriting.

  4. Make the script executable. chmod +x ~/ombi_restart.cron

  5. Open your crontab. EDITOR=nano crontab -e

  6. Enter the following text

     @reboot /home/user/ombi_restart.cron >/dev/null 2>&1
     */5 * * * * /home/user/ombi_restart.cron >/dev/null 2>&1
    
  7. Save the crontab with Ctrl+x and the "y" and Enter to accept overwriting.