SixFoisNeuf

Totally irregular blog on computers and security


Installing Overseerr without Docker or Snap

Posted on Dec 28, 2022

Overseerr is a request management web app for Radarr and Sonarr.

The Overseerr docs are very clear about how to install their app:

The Overseerr snap is the only officially supported Linux install method aside from Docker.

Well, I don’t run Docker or snap on my home server, and I don’t plan on starting just for a single app. Let’s see if we can install it by hand, without going through either of these sources.

The Overseerr GitHub repository is at sct/overseerr. They have a Dockerfile, which builds the app for Alpine Linux. We can identify several dependencies:

  • Python 3
  • Make
  • g++
  • NodeJS & yarn

Following along, we can clone the repository ourselves and checkout the latest release tag:

$ git clone https://github.com/sct/overseerr && cd overseerr
$ git checkout tags/v1.31.0 -b v1.31.0-branch

Let’s install the build dependencies:

$ yarn install --frozen-lockfile

We will then build the app with yarn (this is going to take some time):

$ yarn build

The last steps in the Dockerfile will clean up the build environment. I didn’t do it, because I’m going to need the dependencies when there’s an update of the app. Anyway, if you want, the commands are:

$ yarn install --production --ignore-scripts --prefer-offline
$ rm -rf src server .next/cache

The web app can then be started by running yarn start. I have created a systemd service file for this:

[Unit]
Description=Overseerr request manager for Radarr and Sonarr
After=network.target

[Service]
Type=exec
User=overseer
Group=overseer
WorkingDirectory=/opt/overseerr
ExecStart=/usr/bin/yarn start

[Install]
WantedBy=multi-user.target

Send your comment via e-mail