Skip to content

[BUG] DOCKER_MODS aren't working #75

@fertkir

Description

@fertkir

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I've created a docker mod, added it to the prowlarr's docker-compose.yml like this:

services:
  prowlarr:
    image: lscr.io/linuxserver/prowlarr:latest
    environment:
      - PUID=1000
      - PGID=1000
      - DOCKER_MODS=ghcr.io/fertkir/docker-mod-prowlarr:master
      - AUTHENTICATION_METHOD=External
    volumes:
      - prowlarr-config:/config
volumes:
  prowlarr-config:

The config wasn't patched by the mod. Moreover, I don't even see logs like:

[mod-init] Running Docker Modification Logic

I have another docker mod which works with transmission like a charm. As an experiment, I tried adding this working mod to prowlarr, but I still don't see logs saying that the mod is being applied.

Expected Behavior

No response

Steps To Reproduce

  1. Create a docker-compose.yml:
services:
  prowlarr:
    image: lscr.io/linuxserver/prowlarr:latest
    environment:
      - PUID=1000
      - PGID=1000
      - DOCKER_MODS=ghcr.io/fertkir/docker-mod-prowlarr:master
      - AUTHENTICATION_METHOD=External
    volumes:
      - prowlarr-config:/config
volumes:
  prowlarr-config:
  1. Run
docker compose up

Environment

- OS: Ubuntu 24.04
- How docker service was installed:

sudo apt install docker.io docker-compose-v2

CPU architecture

x86-64

Docker creation

services:
  prowlarr:
    image: lscr.io/linuxserver/prowlarr:latest
    environment:
      - PUID=1000
      - PGID=1000
      - DOCKER_MODS=ghcr.io/fertkir/docker-mod-prowlarr:master
      - AUTHENTICATION_METHOD=External
    volumes:
      - prowlarr-config:/config
volumes:
  prowlarr-config:

Container logs

[Info] FluentMigrator.Runner.MigrationRunner: 34: history_fix_data_titles migrated 
[Info] FluentMigrator.Runner.MigrationRunner: => 0.0021831s 
[Info] FluentMigrator.Runner.MigrationRunner: 35: download_client_per_indexer migrating 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Beginning Transaction 
[Info] download_client_per_indexer: Starting migration of Log DB to 35 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: INSERT INTO "VersionInfo" ("Version", "AppliedOn", "Description") VALUES (35, '2025-11-02T07:20:24', 'download_client_per_indexer') 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Committing Transaction 
[Info] FluentMigrator.Runner.MigrationRunner: 35: download_client_per_indexer migrated 
[Info] FluentMigrator.Runner.MigrationRunner: => 0.0020137s 
[Info] FluentMigrator.Runner.MigrationRunner: 36: postgres_update_timestamp_columns_to_with_timezone migrating 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Beginning Transaction 
[Info] postgres_update_timestamp_columns_to_with_timezone: Starting migration of Log DB to 36 
[Info] FluentMigrator.Runner.MigrationRunner: AlterTable Logs 
[Info] FluentMigrator.Runner.MigrationRunner: => 9E-07s 
[Info] FluentMigrator.Runner.MigrationRunner: AlterColumn Logs Time DateTimeOffset 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: CREATE TABLE "Logs_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Message" TEXT NOT NULL, "Time" DATETIME NOT NULL, "Logger" TEXT NOT NULL, "Exception" TEXT, "ExceptionType" TEXT, "Level" TEXT NOT NULL) 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: INSERT INTO "Logs_temp" ("Id", "Message", "Time", "Logger", "Exception", "ExceptionType", "Level") SELECT "Id", "Message", "Time", "Logger", "Exception", "ExceptionType", "Level" FROM "Logs" 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: DROP TABLE "Logs" 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: ALTER TABLE "Logs_temp" RENAME TO "Logs" 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: CREATE INDEX "IX_Logs_Time" ON "Logs" ("Time" ASC) 
[Info] FluentMigrator.Runner.MigrationRunner: => 0.0028831s 
[Info] FluentMigrator.Runner.MigrationRunner: AlterTable UpdateHistory 
[Info] FluentMigrator.Runner.MigrationRunner: => 1.1E-06s 
[Info] FluentMigrator.Runner.MigrationRunner: AlterColumn UpdateHistory Date DateTimeOffset 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: CREATE TABLE "UpdateHistory_temp" ("Id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Date" DATETIME NOT NULL, "Version" TEXT NOT NULL, "EventType" INTEGER NOT NULL) 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: INSERT INTO "UpdateHistory_temp" ("Id", "Date", "Version", "EventType") SELECT "Id", "Date", "Version", "EventType" FROM "UpdateHistory" 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: DROP TABLE "UpdateHistory" 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: ALTER TABLE "UpdateHistory_temp" RENAME TO "UpdateHistory" 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: CREATE INDEX "IX_UpdateHistory_Date" ON "UpdateHistory" ("Date" ASC) 
[Info] FluentMigrator.Runner.MigrationRunner: => 0.0092007s 
[Info] FluentMigrator.Runner.MigrationRunner: AlterTable VersionInfo 
[Info] FluentMigrator.Runner.MigrationRunner: => 1.2E-06s 
[Info] FluentMigrator.Runner.MigrationRunner: AlterColumn VersionInfo AppliedOn DateTimeOffset 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: CREATE TABLE "VersionInfo_temp" ("Version" INTEGER NOT NULL, "AppliedOn" DATETIME, "Description" TEXT) 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: INSERT INTO "VersionInfo_temp" ("Version", "AppliedOn", "Description") SELECT "Version", "AppliedOn", "Description" FROM "VersionInfo" 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: DROP TABLE "VersionInfo" 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: ALTER TABLE "VersionInfo_temp" RENAME TO "VersionInfo" 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: CREATE UNIQUE INDEX "UC_Version" ON "VersionInfo" ("Version" ASC) 
[Info] FluentMigrator.Runner.MigrationRunner: => 0.0024968s 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: INSERT INTO "VersionInfo" ("Version", "AppliedOn", "Description") VALUES (36, '2025-11-02T07:20:24', 'postgres_update_timestamp_columns_to_with_timezone') 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Committing Transaction 
[Info] FluentMigrator.Runner.MigrationRunner: 36: postgres_update_timestamp_columns_to_with_timezone migrated 
[Info] FluentMigrator.Runner.MigrationRunner: => 0.0041869s 
[Info] FluentMigrator.Runner.MigrationRunner: 37: add_notification_status migrating 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Beginning Transaction 
[Info] add_notification_status: Starting migration of Log DB to 37 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: INSERT INTO "VersionInfo" ("Version", "AppliedOn", "Description") VALUES (37, '2025-11-02T07:20:24', 'add_notification_status') 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Committing Transaction 
[Info] FluentMigrator.Runner.MigrationRunner: 37: add_notification_status migrated 
[Info] FluentMigrator.Runner.MigrationRunner: => 0.0019065s 
[Info] FluentMigrator.Runner.MigrationRunner: 38: indexers_freeleech_only_config_contract migrating 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Beginning Transaction 
[Info] indexers_freeleech_only_config_contract: Starting migration of Log DB to 38 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: INSERT INTO "VersionInfo" ("Version", "AppliedOn", "Description") VALUES (38, '2025-11-02T07:20:24', 'indexers_freeleech_only_config_contract') 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Committing Transaction 
[Info] FluentMigrator.Runner.MigrationRunner: 38: indexers_freeleech_only_config_contract migrated 
[Info] FluentMigrator.Runner.MigrationRunner: => 0.0022431s 
[Info] FluentMigrator.Runner.MigrationRunner: 39: email_encryption migrating 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Beginning Transaction 
[Info] email_encryption: Starting migration of Log DB to 39 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: INSERT INTO "VersionInfo" ("Version", "AppliedOn", "Description") VALUES (39, '2025-11-02T07:20:24', 'email_encryption') 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Committing Transaction 
[Info] FluentMigrator.Runner.MigrationRunner: 39: email_encryption migrated 
[Info] FluentMigrator.Runner.MigrationRunner: => 0.0018302s 
[Info] FluentMigrator.Runner.MigrationRunner: 40: newznab_category_to_capabilities_settings migrating 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Beginning Transaction 
[Info] newznab_category_to_capabilities_settings: Starting migration of Log DB to 40 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: INSERT INTO "VersionInfo" ("Version", "AppliedOn", "Description") VALUES (40, '2025-11-02T07:20:24', 'newznab_category_to_capabilities_settings') 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Committing Transaction 
[Info] FluentMigrator.Runner.MigrationRunner: 40: newznab_category_to_capabilities_settings migrated 
[Info] FluentMigrator.Runner.MigrationRunner: => 0.0017501s 
[Info] FluentMigrator.Runner.MigrationRunner: 41: gazelle_freeleech_token_options migrating 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Beginning Transaction 
[Info] gazelle_freeleech_token_options: Starting migration of Log DB to 41 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: INSERT INTO "VersionInfo" ("Version", "AppliedOn", "Description") VALUES (41, '2025-11-02T07:20:24', 'gazelle_freeleech_token_options') 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Committing Transaction 
[Info] FluentMigrator.Runner.MigrationRunner: 41: gazelle_freeleech_token_options migrated 
[Info] FluentMigrator.Runner.MigrationRunner: => 0.0023641s 
[Info] FluentMigrator.Runner.MigrationRunner: 42: myanonamouse_freeleech_wedge_options migrating 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Beginning Transaction 
[Info] myanonamouse_freeleech_wedge_options: Starting migration of Log DB to 42 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: INSERT INTO "VersionInfo" ("Version", "AppliedOn", "Description") VALUES (42, '2025-11-02T07:20:24', 'myanonamouse_freeleech_wedge_options') 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Committing Transaction 
[Info] FluentMigrator.Runner.MigrationRunner: 42: myanonamouse_freeleech_wedge_options migrated 
[Info] FluentMigrator.Runner.MigrationRunner: => 0.0018085s 
[Info] FluentMigrator.Runner.MigrationRunner: 43: newznab_indexers_enable_redirect migrating 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Beginning Transaction 
[Info] newznab_indexers_enable_redirect: Starting migration of Log DB to 43 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: INSERT INTO "VersionInfo" ("Version", "AppliedOn", "Description") VALUES (43, '2025-11-02T07:20:24', 'newznab_indexers_enable_redirect') 
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Committing Transaction 
[Info] FluentMigrator.Runner.MigrationRunner: 43: newznab_indexers_enable_redirect migrated 
[Info] FluentMigrator.Runner.MigrationRunner: => 0.0017409s 
[Info] Microsoft.Hosting.Lifetime: Now listening on: http://[::]:9696 
[Info] UpdaterConfigProvider: Update mechanism BuiltIn not supported in the current configuration, changing to Docker. 
[Info] AppSyncProfileService: Setting up default app profile 
[Info] CommandExecutor: Starting 3 threads for tasks. 
[Info] ManagedHttpDispatcher: IPv4 is available: True, IPv6 will be disabled 
[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/prowlarr/bin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions