radarr & docker - port weirdness
Solved: turns out that all the apps in the project were using the same config folder and sonarr & radarr share one file in common: config.xml and that had the 8989 port in it. I created two new folders under config (_sonarr and _radarr) and pointed their config folders respectively.
First... I'm a newbie to both docker and linux. I'm running a ugreen DXP4800 Pro. volume1 is the RAID array, volume 2 is the M.2 card. I've got a docker project that started with sabnzbd and sonarr and after a bit of a learning curve, I got it working. I added overseer and got that working. I added radarr and it worked for a bit and then suddenly I started getting timeouts on port 7878. I took the radarr code out of the project and put it into its own container with the same result... the container runs but it's listening on the wrong container. Here's the code (initially generated with Claude):
radarr:
image: lscr.io/linuxserver/radarr:latest
container_name: stack_radarr
restart: unless-stopped
environment:
- PUID=${PUID:-1003}
- PGID=${PGID:-1000}
- TZ=${TZ:-America/New_York}
ports:
- 7878:7878
# - "${RADARR_PORT:-7878}:7878"
volumes:
# Radarr config and database
- ${CONFIG_DIR:-/volume2/docker/media_stack/config}:/config
# Root folder where Radarr moves completed movies
- ${MOVIES_DIR:-/volume1/media/movies}:/movies
# Must match the completed-downloads path from SABnzbd
- ${DOWNLOADS_DIR:-/volume2/docker/media_stack/config/downloads/complete}:/downloads
Port 7878 is specified. Here's the log for the container (7th line from the bottom shows port 8989):
[custom-init] No custom files found, skipping...
[Info] Bootstrap: Starting Radarr - /app/radarr/bin/Radarr - Version 6.1.1.10360
[Info] AppFolderInfo: Data directory is being overridden to [/config]
[Debug] Bootstrap: Console selected
[Info] AppFolderInfo: Data directory is being overridden to [/config]
[Info] AppFolderInfo: Data directory is being overridden to [/config]
[Info] MigrationController: *** Migrating data source=/config/radarr.db;cache size=-20000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3;busytimeout=100 ***
[Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrating
[Info] FluentMigrator.Runner.MigrationRunner: PerformDBOperation
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Performing DB Operation
[Info] DatabaseEngineVersionCheck: SQLite 3.50.4
[Info] FluentMigrator.Runner.MigrationRunner: => 0.0710151s
[Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrated
[Info] FluentMigrator.Runner.MigrationRunner: => 0.0758273s
[Info] MigrationController: *** Migrating data source=/config/logs.db;cache size=-20000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3;busytimeout=100 ***
[Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrating
[Info] FluentMigrator.Runner.MigrationRunner: PerformDBOperation
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Performing DB Operation
[Info] DatabaseEngineVersionCheck: SQLite 3.50.4
[Info] FluentMigrator.Runner.MigrationRunner: => 0.0062979s
[Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrated
[Info] FluentMigrator.Runner.MigrationRunner: => 0.0065495s
[Info] Microsoft.Hosting.Lifetime: Now listening on: http://[::]:8989
[Info] CommandExecutor: Starting 2 threads for tasks.
[Info] Microsoft.Hosting.Lifetime: Application started. Press Ctrl+C to shut down.
[Info] Microsoft.Hosting.Lifetime: Hosting environment: Production
[Info] Microsoft.Hosting.Lifetime: Content root path: /app/radarr/bin
[Info] ManagedHttpDispatcher: IPv4 is available: True, IPv6 will be disabled
[ls.io-init] done.
I've tried destroying the containers and starting over. I've rebooted the NAS. I've tried changing the syntax and redeploying. Same result. Anyone seen this before? I posted this in r/docker but it got deleted because I didn't read their rules about posting about radarr. I've searched online and didn't find anything useful.
Thanks!