Fatal glibc error: cannot get entropy for arc4random - with Docker on Synology 7.1.1 #7965

Open
opened 2026-02-07 05:31:21 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @KusAdama on GitHub (Dec 30, 2025).

Description of the bug

Using this docker-compose.

The sudo docker-compose up does ending all the time with this in logs (entire one run below) for the jellyfin container:

| Fatal glibc error: cannot get entropy for arc4random

The Synology DSM is fairly old on this machine, but maybe someone could push me the right direction.

Reproduction steps

create compose.yml on DSM 7.1.1

  jellyfin:
    container_name: jellyfin
    image: ghcr.io/hotio/jellyfin
    restart: unless-stopped
    logging:
      driver: json-file
      options:
        max-file: ${DOCKERLOGGING_MAXFILE}
        max-size: ${DOCKERLOGGING_MAXSIZE}
    labels:
      - org.hotio.pullio.update=${PULLIO_UPDATE}
      - org.hotio.pullio.notify=${PULLIO_NOTIFY}
      - org.hotio.pullio.discord.webhook=${PULLIO_DISCORD_WEBHOOK}
    ports:
      - 8096:8096
    environment:
      - PUID=${PUID}
      - PGID=${PGID}
      - TZ=${TZ}
      - UMASK=002
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ${DOCKERCONFDIR}/jellyfin:/config:rw
      - ${DOCKERSTORAGEDIR}/media:/data/media:rw

run: sudo docker-compose up

What is the current bug behavior?

Never ending restart of container

What is the expected correct behavior?

Could start and be functional

Jellyfin Server version

10.11.5

Specify commit id

No response

Specify unstable release number

No response

Specify version number

No response

Specify the build version

Can't get in the dashboard yet

Environment

- OS: DSM 7.1.1
- Linux Kernel: 3.10.108
- Virtualization: Docker 20.10.3
- Clients:
- Browser:
- FFmpeg Version:
- Playback Method:
- Hardware Acceleration:
- CPU Model: Intel Atom C2538
- GPU Model:
- Plugins:
- Reverse Proxy:
- Base URL:
- Networking:
- Jellyfin Data Storage & Filesystem:
- Media Storage & Filesystem:
- External Integrations:

Jellyfin logs

| [23:50:09] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /config/cache
| [23:50:10] [INF] [9] Jellyfin.Server.ServerSetupApp.SetupServer: Kestrel is listening on 0.0.0.0
| [23:50:10] [INF] [9] Main: Jellyfin version: 10.11.5
| [23:50:10] [INF] [9] Main: Environment Variables: ["[JELLYFIN_DATA_DIR, /config/data]", "[JELLYFIN_WEB_DIR, /usr/share/jellyfin/web]", "[JELLYFIN_CACHE_DIR, /config/cache]", "[JELLYFIN_CONFIG_DIR, /config]", "[JELLYFIN_LOG_DIR, /config/log]"]
| [23:50:10] [INF] [9] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"]
| [23:50:10] [INF] [9] Main: Operating system: Ubuntu 24.04.3 LTS
| [23:50:10] [INF] [9] Main: Architecture: X64
| [23:50:10] [INF] [9] Main: 64-Bit Process: True
| [23:50:10] [INF] [9] Main: User Interactive: True
| [23:50:10] [INF] [9] Main: Processor count: 4
| [23:50:10] [INF] [9] Main: Program data path: /config/data
| [23:50:10] [INF] [9] Main: Log directory path: /config/log
| [23:50:10] [INF] [9] Main: Config directory path: /config
| [23:50:10] [INF] [9] Main: Cache path: /config/cache
| [23:50:10] [INF] [9] Main: Temp directory path: /config/.temp/jellyfin
| [23:50:10] [INF] [9] Main: Web resources path: /usr/share/jellyfin/web
| [23:50:10] [INF] [9] Main: Application directory: /usr/lib/jellyfin/bin/
| [23:50:10] [INF] [9] Jellyfin.Server.Startup: Storage path `/config/data/data` (Fixed) successfully checked with 4.7TiB free which is over the minimum of 2GiB.
| [23:50:10] [INF] [9] Jellyfin.Server.Startup: Storage path `/config/cache` (Fixed) successfully checked with 4.7TiB free which is over the minimum of 2GiB.
| [23:50:10] [INF] [9] Jellyfin.Server.Startup: Storage path `/config/data` (Fixed) successfully checked with 4.7TiB free which is over the minimum of 2GiB.
| [23:50:10] [INF] [9] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /config/cache
| [23:50:10] [INF] [9] Jellyfin.Database.Providers.Sqlite.SqliteDatabaseProvider: SQLite connection string: Data Source=/config/data/data/jellyfin.db;Cache=Default;Default Timeout=30;Pooling=True
| [23:50:10] [INF] [9] Jellyfin.Database.Providers.Sqlite.SqliteDatabaseProvider: SQLITE connection pragma command set to: 
| PRAGMA locking_mode=NORMAL;
| PRAGMA journal_size_limit=134217728;
| PRAGMA synchronous=1;
| PRAGMA temp_store=2;
| 
| [23:50:10] [INF] [9] Jellyfin.Database.Implementations.Locking.NoLockBehavior: The database locking mode has been set to: NoLock.
| [23:50:10] [INF] [9] Jellyfin.Server.Migrations.JellyfinMigrationService: Initialise Migration service.
| [23:50:10] [INF] [9] Jellyfin.Server.Migrations.JellyfinMigrationService: System initialisation detected. Seed data.
| [23:50:15] [INF] [9] Jellyfin.Server.Migrations.JellyfinMigrationService: Migration system initialisation completed.
| [23:50:15] [INF] [9] Jellyfin.Server.Migrations.JellyfinMigrationService: There are 0 migrations for stage PreInitialisation.
| [23:50:15] [INF] [9] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /config/cache
| [23:50:15] [INF] [9] Emby.Server.Implementations.ApplicationHost: Loading assemblies
| [23:50:15] [INF] [9] Jellyfin.Networking.Manager.NetworkManager: Defined LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
| [23:50:15] [INF] [9] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
| [23:50:15] [INF] [9] Jellyfin.Networking.Manager.NetworkManager: Used LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
| [23:50:15] [INF] [9] Jellyfin.Networking.Manager.NetworkManager: Filtered interface addresses: ["127.0.0.1", "172.27.0.4"]
| [23:50:15] [INF] [9] Jellyfin.Networking.Manager.NetworkManager: Bind Addresses ["0.0.0.0"]
| [23:50:15] [INF] [9] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is Allowlist
| [23:50:15] [INF] [9] Jellyfin.Networking.Manager.NetworkManager: Filtered subnets: []
| Fatal glibc error: cannot get entropy for arc4random

FFmpeg logs


Client / Browser logs

No response

Relevant screenshots or videos

No response

Additional information

No response

Originally created by @KusAdama on GitHub (Dec 30, 2025). ### Description of the bug Using [this](https://github.com/TRaSH-Guides/Synology-Templates/blob/main/templates/jellyfin.yml) docker-compose. The `sudo docker-compose up` does ending all the time with this in logs (entire one run below) for the jellyfin container: ``` | Fatal glibc error: cannot get entropy for arc4random ``` The Synology DSM is fairly old on this machine, but maybe someone could push me the right direction. ### Reproduction steps create compose.yml on DSM 7.1.1 ``` jellyfin: container_name: jellyfin image: ghcr.io/hotio/jellyfin restart: unless-stopped logging: driver: json-file options: max-file: ${DOCKERLOGGING_MAXFILE} max-size: ${DOCKERLOGGING_MAXSIZE} labels: - org.hotio.pullio.update=${PULLIO_UPDATE} - org.hotio.pullio.notify=${PULLIO_NOTIFY} - org.hotio.pullio.discord.webhook=${PULLIO_DISCORD_WEBHOOK} ports: - 8096:8096 environment: - PUID=${PUID} - PGID=${PGID} - TZ=${TZ} - UMASK=002 volumes: - /etc/localtime:/etc/localtime:ro - ${DOCKERCONFDIR}/jellyfin:/config:rw - ${DOCKERSTORAGEDIR}/media:/data/media:rw ``` run: sudo docker-compose up ### What is the current _bug_ behavior? Never ending restart of container ### What is the expected _correct_ behavior? Could start and be functional ### Jellyfin Server version 10.11.5 ### Specify commit id _No response_ ### Specify unstable release number _No response_ ### Specify version number _No response_ ### Specify the build version Can't get in the dashboard yet ### Environment ```markdown - OS: DSM 7.1.1 - Linux Kernel: 3.10.108 - Virtualization: Docker 20.10.3 - Clients: - Browser: - FFmpeg Version: - Playback Method: - Hardware Acceleration: - CPU Model: Intel Atom C2538 - GPU Model: - Plugins: - Reverse Proxy: - Base URL: - Networking: - Jellyfin Data Storage & Filesystem: - Media Storage & Filesystem: - External Integrations: ``` ### Jellyfin logs ```shell | [23:50:09] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /config/cache | [23:50:10] [INF] [9] Jellyfin.Server.ServerSetupApp.SetupServer: Kestrel is listening on 0.0.0.0 | [23:50:10] [INF] [9] Main: Jellyfin version: 10.11.5 | [23:50:10] [INF] [9] Main: Environment Variables: ["[JELLYFIN_DATA_DIR, /config/data]", "[JELLYFIN_WEB_DIR, /usr/share/jellyfin/web]", "[JELLYFIN_CACHE_DIR, /config/cache]", "[JELLYFIN_CONFIG_DIR, /config]", "[JELLYFIN_LOG_DIR, /config/log]"] | [23:50:10] [INF] [9] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"] | [23:50:10] [INF] [9] Main: Operating system: Ubuntu 24.04.3 LTS | [23:50:10] [INF] [9] Main: Architecture: X64 | [23:50:10] [INF] [9] Main: 64-Bit Process: True | [23:50:10] [INF] [9] Main: User Interactive: True | [23:50:10] [INF] [9] Main: Processor count: 4 | [23:50:10] [INF] [9] Main: Program data path: /config/data | [23:50:10] [INF] [9] Main: Log directory path: /config/log | [23:50:10] [INF] [9] Main: Config directory path: /config | [23:50:10] [INF] [9] Main: Cache path: /config/cache | [23:50:10] [INF] [9] Main: Temp directory path: /config/.temp/jellyfin | [23:50:10] [INF] [9] Main: Web resources path: /usr/share/jellyfin/web | [23:50:10] [INF] [9] Main: Application directory: /usr/lib/jellyfin/bin/ | [23:50:10] [INF] [9] Jellyfin.Server.Startup: Storage path `/config/data/data` (Fixed) successfully checked with 4.7TiB free which is over the minimum of 2GiB. | [23:50:10] [INF] [9] Jellyfin.Server.Startup: Storage path `/config/cache` (Fixed) successfully checked with 4.7TiB free which is over the minimum of 2GiB. | [23:50:10] [INF] [9] Jellyfin.Server.Startup: Storage path `/config/data` (Fixed) successfully checked with 4.7TiB free which is over the minimum of 2GiB. | [23:50:10] [INF] [9] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /config/cache | [23:50:10] [INF] [9] Jellyfin.Database.Providers.Sqlite.SqliteDatabaseProvider: SQLite connection string: Data Source=/config/data/data/jellyfin.db;Cache=Default;Default Timeout=30;Pooling=True | [23:50:10] [INF] [9] Jellyfin.Database.Providers.Sqlite.SqliteDatabaseProvider: SQLITE connection pragma command set to: | PRAGMA locking_mode=NORMAL; | PRAGMA journal_size_limit=134217728; | PRAGMA synchronous=1; | PRAGMA temp_store=2; | | [23:50:10] [INF] [9] Jellyfin.Database.Implementations.Locking.NoLockBehavior: The database locking mode has been set to: NoLock. | [23:50:10] [INF] [9] Jellyfin.Server.Migrations.JellyfinMigrationService: Initialise Migration service. | [23:50:10] [INF] [9] Jellyfin.Server.Migrations.JellyfinMigrationService: System initialisation detected. Seed data. | [23:50:15] [INF] [9] Jellyfin.Server.Migrations.JellyfinMigrationService: Migration system initialisation completed. | [23:50:15] [INF] [9] Jellyfin.Server.Migrations.JellyfinMigrationService: There are 0 migrations for stage PreInitialisation. | [23:50:15] [INF] [9] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /config/cache | [23:50:15] [INF] [9] Emby.Server.Implementations.ApplicationHost: Loading assemblies | [23:50:15] [INF] [9] Jellyfin.Networking.Manager.NetworkManager: Defined LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"] | [23:50:15] [INF] [9] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: [] | [23:50:15] [INF] [9] Jellyfin.Networking.Manager.NetworkManager: Used LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"] | [23:50:15] [INF] [9] Jellyfin.Networking.Manager.NetworkManager: Filtered interface addresses: ["127.0.0.1", "172.27.0.4"] | [23:50:15] [INF] [9] Jellyfin.Networking.Manager.NetworkManager: Bind Addresses ["0.0.0.0"] | [23:50:15] [INF] [9] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is Allowlist | [23:50:15] [INF] [9] Jellyfin.Networking.Manager.NetworkManager: Filtered subnets: [] | Fatal glibc error: cannot get entropy for arc4random ``` ### FFmpeg logs ```shell ``` ### Client / Browser logs _No response_ ### Relevant screenshots or videos _No response_ ### Additional information _No response_
OVERLORD added the bug label 2026-02-07 05:31:21 +03:00
Author
Owner

@ZeusCraft10 commented on GitHub (Dec 31, 2025):

The Correct Fix: Use a "Jammy" Tag
You do not need to build your own image. You simply need to change the Tag you are pulling in Docker.

Instead of latest (which pulls Ubuntu 24.04), explicitly pull a version based on Ubuntu 22.04.

If you use docker-compose.yml: Change this:

YAML

image: jellyfin/jellyfin:latest
To this:

YAML

"10.9.11" is an example; verify the latest version on Docker Hub that supports jammy

LinuxServer.io images often explicitly tag the base OS, e.g., "10.9.9-ubu2204"

image: jellyfin/jellyfin:10.9.11
Note: You may need to look for specific tags provided by the maintainers (like linuxserver/jellyfin) that explicitly support older Ubuntu bases if the official jellyfin/jellyfin repo stops publishing Jammy-based builds for the newest versions.

Summary

@ZeusCraft10 commented on GitHub (Dec 31, 2025): The Correct Fix: Use a "Jammy" Tag You do not need to build your own image. You simply need to change the Tag you are pulling in Docker. Instead of latest (which pulls Ubuntu 24.04), explicitly pull a version based on Ubuntu 22.04. If you use docker-compose.yml: Change this: YAML image: jellyfin/jellyfin:latest To this: YAML # "10.9.11" is an example; verify the latest version on Docker Hub that supports jammy # LinuxServer.io images often explicitly tag the base OS, e.g., "10.9.9-ubu2204" image: jellyfin/jellyfin:10.9.11 Note: You may need to look for specific tags provided by the maintainers (like linuxserver/jellyfin) that explicitly support older Ubuntu bases if the official jellyfin/jellyfin repo stops publishing Jammy-based builds for the newest versions. Summary
Author
Owner

@KusAdama commented on GitHub (Dec 31, 2025):

This is some AI generated response.
I'm not even reading it in detail as its formatting is broken and it does not explain anything.

@KusAdama commented on GitHub (Dec 31, 2025): This is some AI generated response. I'm not even reading it in detail as its formatting is broken and it does not explain anything.
Author
Owner

@ZeusCraft10 commented on GitHub (Dec 31, 2025):

This is some AI generated response. I'm not even reading it in detail as its formatting is broken and it does not explain anything.

I just meant the issue is caused by his older build on the synology. its not in the score of a PR.

@ZeusCraft10 commented on GitHub (Dec 31, 2025): > This is some AI generated response. I'm not even reading it in detail as its formatting is broken and it does not explain anything. I just meant the issue is caused by his older build on the synology. its not in the score of a PR.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#7965