Whatbox Logo
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; 10319 has been automatically generated for you, but you may use another 5 digit port between 10000 and 32767.

Plex Login Auth 2FA Users: If you are using Plex as the login authentication and have 2FA enabled you will need to enter both your password and 2FA code as your password like “password2FACODE

Ombi version 4

These instructions will install Ombi v4 and use the same database directory as Ombi v3. You should not run Ombi v3 after running Ombi v4.

  1. Download Ombi v4

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

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

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

     cd ~/OmbiV4/; screen -dmS Ombi ./Ombi --host http://*:10319 --storage ~/.ombi/
    

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

Updating Ombi

  1. Stop Ombi

     pkill -f Ombi
    
  2. Download Ombi v4

     wget -O OmbiV4.tar.gz $(curl -s https://api.github.com/repositories/52522046/releases | grep linux-x64.tar.gz | grep browser_download_url | head -1 | cut -d \" -f 4)
    
  3. Extract the archive

     tar xzvf OmbiV4.tar.gz -C ~/OmbiV4/
    
  4. Start Ombi (may take a couple of minutes to start)

     cd ~/OmbiV4/; screen -dmS Ombi ./Ombi --host http://*:10319 --storage ~/.ombi/
    

Automatically Restart (Ombi V4)

Below are steps to take to have your Ombi V4 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 ~/OmbiV4/; screen -dmS Ombi ./Ombi --host http://*:10319 --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.

HTTPS

Add your Ombi port on your Domain Page.