Recently, Radarr and Sonarr stopped working, and I don’t know why or where to look.
Host: Kubuntu 22.04
Kernel: 3.2.0-39-generic (64 bits)
Docker: 24.0.5, build 24.0.5-0ubuntu1~22.04.1
Image: linuxserver/sonarr 3.0.10.1567 and linuxserver/radarr 5.2.6.
Every other app, including other servarr app (readarr, lidarr, etc.) is working
Apps is giving me the following message:
[Info] Bootstrap: Starting Sonarr - /app/sonarr/bin/Sonarr.exe - Version 3.0.10.1567
[Info] AppFolderInfo: Data directory is being overridden to [/config]
[Info] Router: Application mode: Interactive
[Info] MigrationLogger: *** Checking database for required migrations data source=/config/sonarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
[Info] MigrationLogger: *** Checking database for required migrations data source=/config/logs.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
[Info] OwinHostController: Listening on the following URLs:
[Info] OwinHostController: http://192.168.1.100:8989/
[Info] OwinHostController: http://localhost:8989/
[Info] SonarrBootstrapper: Starting Web Server
[Fatal] ConsoleApp: The requested address is not valid in this context. This can happen if another instance of Sonarr is already running another application is using the same port (default: 8989) or the user has insufficient permissions
Press enter to exit...
I checked, and nothing seems to use the same port:
~$ sudo netstat -nlp | grep 8989
tcp 0 0 0.0.0.0:8989 0.0.0.0:* LISTEN 48005/docker-proxy
tcp6 0 0 :::8989 :::* LISTEN 48011/docker-proxy
And I don’t think permission is at fault since other docker apps works fine.
Where should I look to fix that?
Edit: the compose file
version: '3.8'
services:
Sonarr:
container_name: sonarr
image: linuxserver/sonarr
ports:
- '8989:8989' # sonarr
environment:
- PUID=1000
- PGID=1000
- TZ=Canada/Eastern
volumes:
- '/etc/timezone:/etc/timezone:ro'
- '/etc/localtime:/etc/localtime:ro'
- '/bibliotheque1/configs/sonarr:/config'
- '/bibliotheque1:/data'
- '/bibliotheque2:/data2'
restart: unless-stopped
radarr:
container_name: radarr
image: linuxserver/radarr
environment:
- PUID=1000
- PGID=1000
- TZ=Canada/Eastern
ports:
- '7878:7878'
volumes:
- '/etc/timezone:/etc/timezone:ro'
- '/etc/localtime:/etc/localtime:ro'
- '/bibliotheque1/configs/radarr:/config'
- '/bibliotheque1:/data'
- '/bibliotheque2:/data2'
restart: unless-stopped
edit2: added all the details of the logs
Your netstat command shows a process named docker-proxy using that port, which confirms what the log says. If your container isn’t running you can try to find the process using it with netstat or lsof, it might be a stale container process or something but a reboot is often faster than figuring out what it is to see if that clears up whatever is using the port.
I was assuming that it was the container since it’s running. The app itself doesn’t work, but the container starts normally.
Post your launch command, or compose file
Ha yes you’re right, thanks
I edited the post
fyi nothing changed before it broke
Run
docker ps
and kill all running sonarr/radarr containers.Good idea, but there is just one container of each
I wouldn’t expect anything else. Kill it and start again. If it still misbehaving, kill it again and check what’s listening on problematic ports.
Have you tried mapping it to a different port?
Good point, I’ll try
deleted by creator