Skip to content

Server randomly crashes after about a minute of uptime #3974

@henceiusegentoo

Description

@henceiusegentoo

Describe the problem

Using this image, the server crashes about a minute after it has started. This does not happen to a bare metal server with the same configuration. Nothing can be found in the minecraft logs and it seems like the container is just quietly dying. This was observed with this current configuration (as seen in the attached compose) and others like ATM10

Container definition

services:
  mc:
    image: itzg/minecraft-server:latest
    tty: true
    stdin_open: true
    ports:
      - "25565:25565"
    environment:
      EULA: "TRUE"
      TYPE: "FOLIA"
      MEMORY: "6G"
      MAX_PLAYERS: "10"
      USE_MEOWICE_FLAGS: "true"
      TZ: "Europe/Berlin"
      SPAWN_PROTECTION: "0"
      OPS: |-
        leander_scribble
      ENABLE_WHITELIST: "true"
      WHITELIST: |-
        leander_scribble
      PLUGINS: |-
        https://cdn.modrinth.com/data/fALzjamp/versions/P3y2MXnd/Chunky-Bukkit-1.4.40.jar
        https://cdn.modrinth.com/data/s86X568j/versions/asaBBItO/ChunkyBorder-Bukkit-1.2.23.jar
      DATAPACKS: |-
        https://cdn.modrinth.com/data/8oi3bsk5/versions/5HiwkSjM/Terralith_v2.5.14_1.21.11.zip
      VIEW_DISTANCE: 16
      BROADCAST_CONSOLE_TO_OPS: "false"
      BROADCAST_RCON_TO_OPS: "false"
      MOTD: "A Minecraft Server powered by Docker"
      ICON: "server-icon.png"
      DEBUG: TRUE
      DEBUG_MEMORY: TRUE
    volumes:
      - "./data:/data"

Container logs

> foliaserver_mc_1 | grep "\[init\]"
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
[init] 2026-03-14 13:37:48+01:00 Running as uid=1000 gid=1000 with /data as 'drwxr-xr-x. 12 1000 1000 4096 Mar 13 13:53 /data'
[init] 2026-03-14 13:37:48+01:00 Image info: buildtime=2026-01-13T02:57:01.149Z,version=java25,revision=0a98bee40ea9b86500ea7b6611784902a553803f
[init] 2026-03-14 13:37:48+01:00 Memory usage and availability (in MB)
[init] 2026-03-14 13:37:48+01:00 Resolving type given FOLIA
[init] 2026-03-14 13:37:50+01:00 Downloading datapack https://cdn.modrinth.com/data/8oi3bsk5/versions/5HiwkSjM/Terralith_v2.5.14_1.21.11.zip ...
[init] 2026-03-14 13:37:54+01:00 Copying any plugins from /plugins to /data/plugins
[init] 2026-03-14 13:37:55+01:00 Copying any configs from /config to /data/config
[init] 2026-03-14 13:37:55+01:00 Enabling whitelist functionality
[init] 2026-03-14 13:38:02+01:00 Java version 25 using MeowIce's flags for Java 17+
[init] 2026-03-14 13:38:02+01:00 Using MeowIce's flags
[init] 2026-03-14 13:38:02+01:00 Setting initial memory to 6G and max to 6G
[init] 2026-03-14 13:38:02+01:00 Starting the Minecraft server...
[init] 2026-03-14 13:38:21+01:00 Running as uid=1000 gid=1000 with /data as 'drwxr-xr-x. 12 1000 1000 4096 Mar 13 13:53 /data'
[init] 2026-03-14 13:38:21+01:00 Image info: buildtime=2026-01-13T02:57:01.149Z,version=java25,revision=0a98bee40ea9b86500ea7b6611784902a553803f
[init] 2026-03-14 13:38:21+01:00 Memory usage and availability (in MB)
[init] 2026-03-14 13:38:21+01:00 Resolving type given FOLIA
[init] 2026-03-14 13:38:23+01:00 Downloading datapack https://cdn.modrinth.com/data/8oi3bsk5/versions/5HiwkSjM/Terralith_v2.5.14_1.21.11.zip ...
[init] 2026-03-14 13:38:27+01:00 Copying any plugins from /plugins to /data/plugins
[init] 2026-03-14 13:38:28+01:00 Copying any configs from /config to /data/config
[init] 2026-03-14 13:38:28+01:00 Enabling whitelist functionality
[init] 2026-03-14 13:38:35+01:00 Java version 25 using MeowIce's flags for Java 17+
[init] 2026-03-14 13:38:35+01:00 Using MeowIce's flags
[init] 2026-03-14 13:38:35+01:00 Setting initial memory to 6G and max to 6G
[init] 2026-03-14 13:38:35+01:00 Starting the Minecraft server...
[init] 2026-03-14 13:39:53+01:00 Running as uid=1000 gid=1000 with /data as 'drwxr-xr-x. 12 1000 1000 4096 Mar 13 13:53 /data'
[init] 2026-03-14 13:39:53+01:00 Image info: buildtime=2026-01-13T02:57:01.149Z,version=java25,revision=0a98bee40ea9b86500ea7b6611784902a553803f
[init] 2026-03-14 13:39:53+01:00 Memory usage and availability (in MB)
[init] 2026-03-14 13:39:53+01:00 Resolving type given FOLIA
[init] 2026-03-14 13:39:55+01:00 Downloading datapack https://cdn.modrinth.com/data/8oi3bsk5/versions/5HiwkSjM/Terralith_v2.5.14_1.21.11.zip ...
[init] 2026-03-14 13:39:58+01:00 Copying any plugins from /plugins to /data/plugins
[init] 2026-03-14 13:39:59+01:00 Copying any configs from /config to /data/config
[init] 2026-03-14 13:40:00+01:00 Enabling whitelist functionality
[init] 2026-03-14 13:40:06+01:00 Java version 25 using MeowIce's flags for Java 17+
[init] 2026-03-14 13:40:06+01:00 Using MeowIce's flags
[init] 2026-03-14 13:40:06+01:00 Setting initial memory to 6G and max to 6G
[init] 2026-03-14 13:40:06+01:00 Starting the Minecraft server...
[init] 2026-03-14 13:41:24+01:00 Running as uid=1000 gid=1000 with /data as 'drwxr-xr-x. 12 1000 1000 4096 Mar 13 13:53 /data'
[init] 2026-03-14 13:41:24+01:00 Image info: buildtime=2026-01-13T02:57:01.149Z,version=java25,revision=0a98bee40ea9b86500ea7b6611784902a553803f
[init] 2026-03-14 13:41:24+01:00 Memory usage and availability (in MB)
[init] 2026-03-14 13:41:24+01:00 Resolving type given FOLIA
[init] 2026-03-14 13:41:26+01:00 Downloading datapack https://cdn.modrinth.com/data/8oi3bsk5/versions/5HiwkSjM/Terralith_v2.5.14_1.21.11.zip ...
[init] 2026-03-14 13:41:30+01:00 Copying any plugins from /plugins to /data/plugins
[init] 2026-03-14 13:41:30+01:00 Copying any configs from /config to /data/config
[init] 2026-03-14 13:41:31+01:00 Enabling whitelist functionality
[init] 2026-03-14 13:41:38+01:00 Java version 25 using MeowIce's flags for Java 17+
[init] 2026-03-14 13:41:38+01:00 Using MeowIce's flags
[init] 2026-03-14 13:41:38+01:00 Setting initial memory to 6G and max to 6G
[init] 2026-03-14 13:41:38+01:00 Starting the Minecraft server...
[init] 2026-03-14 13:42:56+01:00 Running as uid=1000 gid=1000 with /data as 'drwxr-xr-x. 12 1000 1000 4096 Mar 13 13:53 /data'
[init] 2026-03-14 13:42:56+01:00 Image info: buildtime=2026-01-13T02:57:01.149Z,version=java25,revision=0a98bee40ea9b86500ea7b6611784902a553803f
[init] 2026-03-14 13:42:56+01:00 Memory usage and availability (in MB)
[init] 2026-03-14 13:42:56+01:00 Resolving type given FOLIA
[init] 2026-03-14 13:42:58+01:00 Downloading datapack https://cdn.modrinth.com/data/8oi3bsk5/versions/5HiwkSjM/Terralith_v2.5.14_1.21.11.zip ...
[init] 2026-03-14 13:43:01+01:00 Copying any plugins from /plugins to /data/plugins
[init] 2026-03-14 13:43:02+01:00 Copying any configs from /config to /data/config
[init] 2026-03-14 13:43:03+01:00 Enabling whitelist functionality
[init] 2026-03-14 13:43:09+01:00 Java version 25 using MeowIce's flags for Java 17+
[init] 2026-03-14 13:43:09+01:00 Using MeowIce's flags
[init] 2026-03-14 13:43:09+01:00 Setting initial memory to 6G and max to 6G
[init] 2026-03-14 13:43:09+01:00 Starting the Minecraft server...
[init] 2026-03-14 13:44:27+01:00 Running as uid=1000 gid=1000 with /data as 'drwxr-xr-x. 12 1000 1000 4096 Mar 13 13:53 /data'
[init] 2026-03-14 13:44:27+01:00 Image info: buildtime=2026-01-13T02:57:01.149Z,version=java25,revision=0a98bee40ea9b86500ea7b6611784902a553803f
[init] 2026-03-14 13:44:27+01:00 Memory usage and availability (in MB)
[init] 2026-03-14 13:44:27+01:00 Resolving type given FOLIA
[init] 2026-03-14 13:44:29+01:00 Downloading datapack https://cdn.modrinth.com/data/8oi3bsk5/versions/5HiwkSjM/Terralith_v2.5.14_1.21.11.zip ...
[init] 2026-03-14 13:44:33+01:00 Copying any plugins from /plugins to /data/plugins
[init] 2026-03-14 13:44:34+01:00 Copying any configs from /config to /data/config
[init] 2026-03-14 13:44:34+01:00 Enabling whitelist functionality
[init] 2026-03-14 13:44:41+01:00 Java version 25 using MeowIce's flags for Java 17+
[init] 2026-03-14 13:44:41+01:00 Using MeowIce's flags
[init] 2026-03-14 13:44:41+01:00 Setting initial memory to 6G and max to 6G
[init] 2026-03-14 13:44:41+01:00 Starting the Minecraft server...

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions