Sonarr version (Version 4.0.2.1183):
Mono version (if Sonarr is not running on Windows):
OS: Windows 11 pro
Debug logs:
Description of issue:
I’m trying to put together an arr collection of apps, running on windows
using docker containers.
I have the instances up and running but have hit some problems.
I’ll pick on one, sonarr for the example
The media directory
docker-compose.yml looks like this
sonarr: #TV show search agent
image: ghcr.io/linuxserver/sonarr:latest
container_name: sonarr
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=$TZ
- UMASK=022
volumes:
- ./sonarr:/config
- $MEDIADIR/data/media/tv:/tv
- $MEDIADIR/data/downloads:/downloads
ports:
- 8989:8989
restart: unless-stopped
and I have a .env file with
PUID=1000 #change to your user’s PUID
PGID=100 #change to your user’s PGID
TZ=Europe/London #change to your timezone location
MEDIADIR=/mnt/f/
From what I can see when looking at the files, that ends up as mapping f:\data\media\tv to tv
I look at the files, and I can see that directory there.
So I add that in Sonarr and I get this
Unable to add root folder
Folder ‘/tv/’ is not writable by user ‘abc’
Browsing the /tv directory in Docker Desktop, its empty.
That leads me to believe its a permissions issue.
In the log I have
2024-03-25 15:55:14 [Warn] SonarrErrorPipeline: Invalid request Validation failed:
2024-03-25 15:55:14 – Path: Folder ‘/tv/’ is not writable by user ‘abc’
Question one
So what do I need to change in the evironment, or on the permissions side on windows, or both?
Next, if I go into Prowlarr, and add the Sonarr instance.
Prowlarr Server is http://localhost:9696
Sonarr Server is http://localhost:8989
and the API Key is the latest
I get this error message
Unable to complete application test, cannot connect to Sonarr. Connection refused (localhost:8989)
In docker-compose.yml I have this
networks:
default:
name: arr
external: true
I’m pretty sure that they servers need to be on the same network. I must be missing something.
Can anyone help?
Thanks.