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.
Connect to your slot through SSH.
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)
Extract the archive
mkdir ~/OmbiV3; tar xzvf OmbiV3.tar.gz -C ~/OmbiV3/
Create a directory to store the database.
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.
Make a file to be used for the script.
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
Save the file with Ctrl+x and the "y" and Enter to accept overwriting.
Make the script executable.
chmod +x ~/ombi_restart.cron
Open your crontab.
EDITOR=nano crontab -e
Enter the following text
@reboot /home/user/ombi_restart.cron >/dev/null 2>&1 */5 * * * * /home/user/ombi_restart.cron >/dev/null 2>&1
Save the crontab with Ctrl+x and the "y" and Enter to accept overwriting.