Startup Issue with Minecraft - The Minecraft server stopped within 5 seconds

System Information

Field Value
Operating System Linux - Debian GNU/Linux 12 on x86_64
Product AMP ‘Phobos’ v2.6.3.2 (Mainline)
Virtualization Docker
Application Minecraft
Module MinecraftModule
Running in Container Yes
Current State Failed

Problem Description

Issue

The Minecraft server stopped within 5 seconds of starting, this is not a fault with AMP - you should check your Minecraft servers log files to find out why it is unable to start.

The Minecraft server stopped within 5 seconds of starting, this is not a fault with AMP - you should check your Minecraft servers log files to find out why it is unable to start.

Reproduction Steps

  • I restarted it
  • Added mods
  • Removed mods

This error happened to me a lot for the Minecraft game, especially with mods. Are you sure the mods are compatible? You can check the server console. If mods are incompatible, it will be shown there.

Although, I have never used containers with AMP. It may be the issue. Try running your server without a docker container.