Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1 task done
LionZum opened this issue Jul 18, 2024 · 3 comments
Closed
1 task done

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

LionZum opened this issue Jul 18, 2024 · 3 comments

Comments

@LionZum
Copy link

LionZum commented Jul 18, 2024

Is there an existing issue for this?

  • I have searched the existing issues

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:
- 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

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
Copy link
Member

Roxedus commented Jul 18, 2024

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

@LionZum
Copy link
Author

LionZum commented Jul 19, 2024

nm i am an idiot that didnt edit my compose

@LionZum LionZum closed this as completed Jul 19, 2024
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants