# Sonarr • [Sonarr](https://sonarr.tv) is a free and open-source media management tool that can automatically download, organize and manage your television and anime collection. Organize your existing collection, add new shows from the [TVDB](https://www.thetvdb.com/) or import lists to keep up-to-date. Always be sure that your media has the correct metadata for your [Plex](https://hub.subspace.services/books/plex "Plex") or [Jellyfin](https://hub.subspace.services/books/jellyfin "Jellyfin") media server. # Overview [![Screen Shot 2025-03-07 at 00.05.38.png](https://hub.subspace.services/uploads/images/gallery/2025-03/scaled-1680-/screen-shot-2025-03-07-at-00-05-38.png)](https://hub.subspace.services/uploads/images/gallery/2025-03/screen-shot-2025-03-07-at-00-05-38.png) [Sonarr](https://sonarr.tv) is a free and open-source media management tool that can automatically download, organize and manage your television and anime collection. Organize your existing collection, add new shows from the [TVDB](https://www.thetvdb.com/) or import lists to keep up-to-date. Always be sure that your media has the correct metadata for your [Plex](https://hub.subspace.services/books/plex "Plex") or [Jellyfin](https://hub.subspace.services/books/jellyfin "Jellyfin") media server. - Connects to [Prowlarr](https://hub.subspace.services/books/prowlarr "Prowlarr") to aggregate Usenet and Torrent queries to multiple sources into one unified search result. - View all of your upcoming shows on a calendar and export it for your calendar app. - Perform automatic searches to find media within your specifications, or manually search through the results. - Blacklist any failed downloads and Sonarr will search for a different download. # Media ## Screenshots

Sonarr v4.0.13.2932

[![Screen Shot 2025-03-07 at 00.05.38.png](https://hub.subspace.services/uploads/images/gallery/2025-03/scaled-1680-/screen-shot-2025-03-07-at-00-05-38.png)](https://hub.subspace.services/uploads/images/gallery/2025-03/screen-shot-2025-03-07-at-00-05-38.png)[![Screen Shot 2025-03-07 at 00.05.41.png](https://hub.subspace.services/uploads/images/gallery/2025-03/scaled-1680-/screen-shot-2025-03-07-at-00-05-41.png)](https://hub.subspace.services/uploads/images/gallery/2025-03/screen-shot-2025-03-07-at-00-05-41.png)[![Screen Shot 2025-03-07 at 00.05.45.png](https://hub.subspace.services/uploads/images/gallery/2025-03/scaled-1680-/screen-shot-2025-03-07-at-00-05-45.png)](https://hub.subspace.services/uploads/images/gallery/2025-03/screen-shot-2025-03-07-at-00-05-45.png)
[![Screen Shot 2025-03-07 at 00.05.52.png](https://hub.subspace.services/uploads/images/gallery/2025-03/scaled-1680-/screen-shot-2025-03-07-at-00-05-52.png)](https://hub.subspace.services/uploads/images/gallery/2025-03/screen-shot-2025-03-07-at-00-05-52.png)[![Screen Shot 2025-03-07 at 00.06.00.png](https://hub.subspace.services/uploads/images/gallery/2025-03/scaled-1680-/screen-shot-2025-03-07-at-00-06-00.png)](https://hub.subspace.services/uploads/images/gallery/2025-03/screen-shot-2025-03-07-at-00-06-00.png)[![Screen Shot 2025-03-07 at 00.06.07.png](https://hub.subspace.services/uploads/images/gallery/2025-03/scaled-1680-/screen-shot-2025-03-07-at-00-06-07.png)](https://hub.subspace.services/uploads/images/gallery/2025-03/screen-shot-2025-03-07-at-00-06-07.png)
[![Screen Shot 2025-03-07 at 00.06.12.png](https://hub.subspace.services/uploads/images/gallery/2025-03/scaled-1680-/screen-shot-2025-03-07-at-00-06-12.png)](https://hub.subspace.services/uploads/images/gallery/2025-03/screen-shot-2025-03-07-at-00-06-12.png)[![Screen Shot 2025-03-07 at 00.09.24.png](https://hub.subspace.services/uploads/images/gallery/2025-03/scaled-1680-/screen-shot-2025-03-07-at-00-09-24.png)](https://hub.subspace.services/uploads/images/gallery/2025-03/screen-shot-2025-03-07-at-00-09-24.png)
# Setup & Configuration We need to install the service through Portainer and configure any necessary settings. # Preparation There are some things we need to do in preparation to install this service. ## Volumes
Persistent Data This is where the service will store its own application data and ensures we can quickly update the service image.

Ensure your user has permissions to access the folder.

Media Folders Sonarr will need access to the folders where you store your television files.

Ensure your user has permissions to access the folder.

Download Folders Sonarr will need access to the folder where you torrent or usenet folder store their completed downloads.

Ensure your user has permissions to access the folder.

## Environment
TZ This is the current time zone formatted using the [tz database.](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)

*For example:* America/Vancouver

PUID This is the numeric ID of the user account on Debian. If you are unsure, open a terminal and run: ```bash id -u ```
PGID
# Installation The service can be installed through the Portainer web interface.

Learn about [creating a new stack](https://hub.subspace.services/books/portainer/page/creating-a-new-stack "Creating a New Stack").

## Docker Compose Use the following code to install the service: ```yaml --- services: sonarr: image: lscr.io/linuxserver/sonarr:latest container_name: sonarr network_mode: bridge environment: - PUID=1000 - PGID=1000 - TZ=America/Vancouver volumes: # Persistent Data - /srv/sonarr:/config # Media Folders - /mnt/television:/mmt/television # Downloads Folder - /mnt/downloads:/mnt/downloads ports: - 8989:8989 restart: unless-stopped ``` # Updating

Re-Deploy the Stack

This service has been optimized for running in Docker thanks to [LinuxServer.io](https://linuxserver.io). This allows you to [re-deploy the stack through Portainer](https://hub.subspace.services/books/portainer/page/updating-a-stack "Updating a Stack") to download the latest updates. # User Manual # Development

This software is released under the [GPL-3.0 license](https://opensource.org/license/gpl-3-0).

Sonarr has been used as the basis for other apps like [Radarr](https://hub.subspace.services/books/radarr "Radarr") or [Lidarr](https://hub.subspace.services/books/lidarr "Lidarr"). Sonarr is made available for Docker through the efforts of [LinuxServer.io](https://docs.linuxserver.io/images/docker-sonarr/) and their commitment to simplifying self-hosting. You can learn more about how to contribute to Sonarr through their [documentation](https://wiki.servarr.com/sonarr/contributing). The Sonarr development team also accepts [donations](https://sonarr.tv/donate). # Resources ## Official - [Official Wiki](https://wiki.servarr.com/sonarr) - [Official Discord](https://discord.gg/M6BvZn5) - [Official GitHub Repository](https://github.com/Sonarr/Sonarr) - [Official Website](https://sonarr.tv) - [Installation Guide](https://wiki.servarr.com/sonarr/installation) - [Quick Start Guide](https://wiki.servarr.com/sonarr/quick-start-guide) - [Frequently Asked Questions](https://wiki.servarr.com/sonarr/faq) - [General Troubleshooting](https://wiki.servarr.com/sonarr/troubleshooting) ## LinuxServer.io - [Docker Image](https://docs.linuxserver.io/images/docker-sonarr/) -
[Official Website](https://www.linuxserver.io/)
-
[Official Documentation](https://docs.linuxserver.io/)
-
[Official Discord](https://linuxserver.io/discord)
-
[Official Forum](https://discourse.linuxserver.io/)
-
[Official GitLab Repository ](https://gitlab.com/Linuxserver.io)
- [Frequently Asked Questions](https://docs.linuxserver.io/FAQ/)