Minecraft server won't start or keeps crashing
A server that stops almost always says why in its last few lines. This guide shows you where to look, what the common messages mean, and how to get back to a working server without losing your world.
Step 1: Read what the server says
Open the console on your server's Overview tab and scroll to the last lines before it stopped. Don't skim: the real reason is usually one clear line near the bottom, above a long block of technical text. If the server crashed, there may also be a report in the crash-reports folder, which you can open from the Files tab.
The status badge tells you the broad situation: Running means it's up, Exited means it stopped (you stopped it, or it crashed), and Suspended means an admin or a failed payment paused it.
Step 2: Match the message
Out of memory: java.lang.OutOfMemoryError
This is the most common cause. The server needed more RAM than it has. Open the Add-ons tab and add RAM (it applies live), then start it again. If it only happens with a particular mod, plugin or a very large world, that's the thing to look at. The RAM guide has realistic numbers for each kind of server. Also worth checking: lowering view-distance and simulation-distance reduces memory use.
A mod or plugin is breaking startup
If it started failing right after you added something, that's the suspect. Look in the console for the name of the mod or plugin near the error. Remove the last thing you added from the Mods or Plugins tab (or the Files tab), and start the server again. Common causes are a mod built for a different Minecraft version, a missing dependency (many Fabric mods need Fabric API, for example), or two mods that conflict.
Java version error: UnsupportedClassVersionError
This means something was built for a newer Java than the one running it. As a guide, Minecraft 1.20.5 and newer want Java 21, 1.18 to 1.20.4 want Java 17, 1.17 wants Java 16, and 1.16.5 and older want Java 8. Even newer releases can require a newer Java again, so check the release notes for the version you run. PingByte's Minecraft servers run on a maintained server image that handles the EULA and server type for you, so this mostly shows up after switching versions or loading a mod built for a different one. If you hit it, note the version in your Version tab and the line from the console, and open a support ticket.
Port already in use: Failed to bind to port
Something else is using the server's port. On a PingByte server the port is assigned to you, so this usually means a stuck process from a previous run. Restart the server, and if it comes back, open a support ticket with the console lines.
EULA: You need to agree to the EULA
Minecraft servers refuse to run until the EULA is accepted. On a hosted server this is handled for you. If you ever see it after editing files, check that you haven't replaced or deleted eula.txt in the Files tab, and that it says eula=true.
World or chunk corruption
Messages about a corrupted chunk, region file or level.dat mean world data is damaged, often after a crash during saving. Restore a backup from before the problem started (below). If you have no backup, open a ticket before deleting anything.
"A single server tick took 60 seconds" (watchdog)
The server got stuck on one operation and the watchdog shut it down. Look at what's named just above it in the console, which is often a plugin or a huge entity or chunk operation. Follow the lag steps in server lag: find the cause and fix it.
The console shows nothing at all
If the server never prints a line, the container isn't getting as far as starting Minecraft. Open a support ticket and say so. That one is on us to look at.
Step 3: Get back to a working server
- Undo the last change. Remove the mod, plugin or setting you changed last.
- Restore a backup. In the Backups tab, pick the backup from before the problem and press Restore. It replaces the current world with the backup's contents, so anything done after it is gone. If you might want the current state, take a fresh backup first. Up to 5 are kept and the oldest is dropped automatically.
- Prevent a repeat. In the Backups tab, set a schedule so a backup runs automatically, from every 6 hours up to weekly.
Still stuck?
Open a support ticket and paste the last 20 or so lines from the console, along with your Version tab settings and anything you added recently. That's what we need to find the cause fast.
Want a server without the setup?
See Minecraft hosting
PingByte