Two Servarr (Radar and Sonar) stopped working for unknown reasons
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:
I don't think the issue is actually the port since I've got the same issue when I'm switching to a different port, and if I stop the container, its ports no longer appears in the netstats commands.
Might be permission issue (but no idea what that would mean in its context) or something else.
Edit 4 and kinda solution
It IS a permission issue, although I'm not getting why it's happening
If the config file is in another volume, the container starts no problem. But if I try to starts with the old directory, it gave the error message.
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.
“[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.“
So that sounds like that the container might be running but sonarr is not. Did you ever get it working?