Updated setup_dependencies replacing deprecated apt-key.
A bash shell script to automate the setup and configuration of Jackett, Sonarr, Radarr, and Lidarr on a Raspberry Pi.
Tested Raspberry Pi 3 & 4
Running Raspberry Pi OS (32-bit) Lite minimal image based on Debian Buster - (Kernel 5.10)
UPDATE for 2022
As requested / raised in issues - added menu system to allow installation and removal of individual applications.
=====================
PiJARR Menu Options
=====================
1. Install ALL applications jackett sonarr lidarr and radarr
2. Install jackett only
3. Install sonarr only
4. Install lidarr only
5. Install radarr only
6. Remove ALL applications jackett sonarr lidarr and radarr
7. Remove jackett only
8. Remove sonarr only
9. Remove lidarr only
10. Remove radarr only
11. Check application service status
12. Exit
Enter option [1-12]:
- The removal of applications is only going to work if the PiJARR script was used for the original installation.
- When removing applications anything contained in the /var/lib/{appname} or /opt/{appname} will be deleted.
Usage
Method 1 (Quick easy setup): Just use the curl or wget command lines shown below for quick setup.
sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/pijarr/pijarr/master/setup.sh)"
sudo bash -c "$(wget -O- https://raw.githubusercontent.com/pijarr/pijarr/master/setup.sh)"
Method 2: Clone and run locally. You can edit and modify script to suit using this method.
git clone https://github.com/pijarr/pijarr.git
sudo bash pijarr/setup.sh
Default web ports
Once all applications are installed and the services are started they can be accessed at the following port numbers:
Jackett http://<ipaddress>:9117
Sonarr http://<ipaddress>:8989
Lidarr http://<ipaddress>:8686
Radarr http://<ipaddress>:7878
Troubleshooting
The required dependencies including Mono (Cross platform, open source .NET framework) may take a while to download and install. Be patient. Otherwise try installing dependencies manually using the commands below and then re-run the script:
-
sudo apt -y install apt-transport-https dirmngr gnupg ca-certificates -
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF -
echo "deb https://download.mono-project.com/repo/debian stable-raspbianbuster main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list -
sudo apt -y update -
sudo apt -y install mono-devel mediainfo sqlite3 libmono-cil-dev libchromaprint-tools
