Wiki > Overseerr
"Overseerr is a free and open source software application for managing requests for your media library. It integrates with your existing services, such as Sonarr, Radarr, and Plex!"
Installation
-
Connect to your slot through SSH
-
Download the latest release of Overseerr
git clone --branch develop https://github.com/sct/overseerr.git
-
Enter Overseerr's directory
cd ~/overseerr/
-
Change the build settings. The CPU limit will allow Overseerr to build correctly on our servers, especially when your slot is already running other programs.
sed -i 's/256000,/256000, cpus: 8/' next.config.js
-
Install and build Overseerr. This will take a long time; Overseerr has many dependencies.
yarn install --network-timeout 1000000; yarn run build
-
Start Overseerr
PORT=14003 screen -dmS overseerr yarn --cwd ~/overseerr/ start
Overseerr will take a few seconds to start. Access http://server.whatbox.ca:14003 and finish the setup procedure.
Updating
-
Connect to your slot through SSH
-
Shut down Overseerr
pkill -f overseerr
-
Enter Overseerr's directory
cd ~/overseerr/
-
Change the Git branch to the latest release and pull latest commits
git reset --hard ; git fetch ; git checkout develop; git pull
-
Change the build settings. The CPU limit will allow Overseerr to build correctly on our servers, especially when your slot is already running other programs.
sed -i 's/256000,/256000, cpus: 8/' next.config.js
-
Remove old Overseerr node modules.
rm -r ~/overseerr/node_modules
-
Install and build Overseerr. This may take a long time; Overseerr has many dependencies.
yarn install --network-timeout 1000000; yarn run build
-
Start Overseerr
PORT=14003 screen -dmS overseerr yarn --cwd ~/overseerr/ start
HTTPS
Add your Overseerr port on your Domain Page.
Automatically Restart
- Make a file to be used for the script.
touch ~/overseerr_restart.cron
- Edit the file and enter the text below.
nano -w ~/overseerr_restart.cron
#!/bin/bash
if pgrep -fx "node /usr/bin/yarn --cwd /home/user/overseerr/ start" > /dev/null
then
echo "Overseerr is running."
else
echo "Overseerr is not running, starting overseerr"
PORT=14003 screen -dmS overseerr yarn --cwd /home/user/overseerr/ start
fi
exit
- Save the file with Ctrl+x and the "y" and Enter to accept overwriting.
- Make the script executable.
chmod +x ~/overseerr_restart.cron
- Open your crontab.
EDITOR=nano crontab -e
- Enter the following text
@reboot /home/user/overseerr_restart.cron >/dev/null 2>&1
*/5 * * * * /home/user/overseerr_restart.cron >/dev/null 2>&1
- Save the crontab with Ctrl+x and the "y" and Enter to accept overwriting.
Notes
Use 127.0.0.1 as the address for connecting other apps if the app is running on the same server.
You may need to use IPv4 addresses for Sonarr. You can find your IPv4 address on your Slot Info page.
If Overseerr fails to build, stop rclone processes on your slot and try again.