linuxserver / docker-sonarr

GNU General Public License v3.0
795 stars 139 forks source link

[BUG] Docker compose uses wrong port for image #298

Closed LionZum closed 2 months ago

LionZum commented 2 months ago

Is there an existing issue for this?

Current Behavior

Currently the compose sets up 8989:8989 The image website is actually on 7878

Expected Behavior

When visiting the site on 8989 the webpage should load

Steps To Reproduce

Run a current compose

services: sonarr: image: lscr.io/linuxserver/sonarr:latest container_name: sonarr environment:

Environment

- OS:
- How docker service was installed:
doackge on truenas scale running in jailmaker

CPU architecture

x86-64

Docker creation

---
services:
  sonarr:
    image: lscr.io/linuxserver/sonarr:latest
    container_name: sonarr
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
    volumes:
      - /path/to/sonarr/data:/config
      - /path/to/tvseries:/tv #optional
      - /path/to/downloadclient-downloads:/downloads #optional
    ports:
      - 8989:8989
    restart: unless-stopped

Container logs

sonarr  | [migrations] started
sonarr  | [migrations] no migrations found
sonarr  | ───────────────────────────────────────
sonarr  | 
sonarr  |       ██╗     ███████╗██╗ ██████╗
sonarr  |       ██║     ██╔════╝██║██╔═══██╗
sonarr  |       ██║     ███████╗██║██║   ██║
sonarr  |       ██║     ╚════██║██║██║   ██║
sonarr  |       ███████╗███████║██║╚██████╔╝
sonarr  |       ╚══════╝╚══════╝╚═╝ ╚═════╝
sonarr  | 
sonarr  |    Brought to you by linuxserver.io
sonarr  | ───────────────────────────────────────
sonarr  | 
sonarr  | To support the app dev(s) visit:
sonarr  | Sonarr: https://sonarr.tv/donate
sonarr  | 
sonarr  | To support LSIO projects visit:
sonarr  | https://www.linuxserver.io/donate/
sonarr  | 
sonarr  | ───────────────────────────────────────
sonarr  | GID/UID
sonarr  | ───────────────────────────────────────
sonarr  | 
sonarr  | ───────────────────────────────────────
sonarr  | Linuxserver.io version: 4.0.8.1874-ls248
sonarr  | Build-date: 2024-07-16T13:25:29+00:00
sonarr  | ───────────────────────────────────────
sonarr  |     
sonarr  | [custom-init] No custom files found, skipping...
sonarr  | [Info] Bootstrap: Starting Sonarr - /app/sonarr/bin/Sonarr - Version 4.0.8.1874 
sonarr  | [Info] AppFolderInfo: Data directory is being overridden to [/config] 
sonarr  | [Debug] Bootstrap: Console selected 
sonarr  | [Info] AppFolderInfo: Data directory is being overridden to [/config] 
sonarr  | [Debug] Microsoft.Extensions.Hosting.Internal.Host: Hosting starting 
sonarr  | [Info] AppFolderInfo: Data directory is being overridden to [/config] 
sonarr  | [Info] MigrationController: *** Migrating data source=/config/sonarr.db;cache size=-20000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3;busytimeout=100 *** 
sonarr  | [Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrating 
sonarr  | [Info] FluentMigrator.Runner.MigrationRunner: PerformDBOperation  
sonarr  | [Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Performing DB Operation 
sonarr  | [Info] DatabaseEngineVersionCheck: SQLite 3.45.3 
sonarr  | [Info] FluentMigrator.Runner.MigrationRunner: => 0.0550087s 
sonarr  | [Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrated 
sonarr  | [Info] FluentMigrator.Runner.MigrationRunner: => 0.0589284s 
sonarr  | [Info] MigrationController: *** Migrating data source=/config/logs.db;cache size=-20000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3;busytimeout=100 *** 
sonarr  | [Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrating 
sonarr  | [Info] FluentMigrator.Runner.MigrationRunner: PerformDBOperation  
sonarr  | [Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Performing DB Operation 
sonarr  | [Info] DatabaseEngineVersionCheck: SQLite 3.45.3 
sonarr  | [Info] FluentMigrator.Runner.MigrationRunner: => 0.0013041s 
sonarr  | [Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrated 
sonarr  | [Info] FluentMigrator.Runner.MigrationRunner: => 0.0014456s 
sonarr  | [Info] Microsoft.Hosting.Lifetime: Now listening on: http://[::]:7878 
sonarr  | [ls.io-init] done.
sonarr  | [Info] Microsoft.Hosting.Lifetime: Application started. Press Ctrl+C to shut down. 
sonarr  | [Info] Microsoft.Hosting.Lifetime: Hosting environment: Production 
sonarr  | [Info] Microsoft.Hosting.Lifetime: Content root path: /app/sonarr/bin 
sonarr  | [Info] ManagedHttpDispatcher: IPv4 is available: True, IPv6 will be disabled
Roxedus commented 2 months ago

8989 is the default sonarr port. 7878 is the default radarr port. sounds like you changed it from the default port.

LionZum commented 2 months ago

nm i am an idiot that didnt edit my compose

github-actions[bot] commented 2 months ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.