Update the Minecraft Server to the latest version

Learn how to update the version of Minecraft Server running on your Linux server, without losing any data or overwriting your world file. When Mojang issues a Minecraft update, Minecraft server administrators need to manually update the version of Minecraft running on their servers.

Requirements

  • A Cloud Server running Linux (Ubuntu 16.04)
  • Minecraft Server installed and running

vServer (VPS) from IONOS

Low-cost, powerful VPS hosting for running your custom applications, with a personal assistant and 24/7 support.

100 % SSD storage
Ready in 55 sec.
SSL certificate

Create backups and download the new version

Before upgrading your Minecraft server, go to the Minecraft directory on your server:

cd /minecraft

Back up your world file with the command:

sudo cp -r world world-backup

Next, create a backup copy of your working minecraft_server.jar file:

sudo cp minecraft_server.jar minecraft_server.jar-backup

Go to the Minecraft server download page to get the URL for the new version. Download this version to your server with the command:

sudo wget [URL]

For example, the command to download the most current version (1.11.1) is:

sudo wget https://s3.amazonaws.com/Minecraft.Download/versions/1.11.1/minecraft_server.1.11.1.jar

Stop the Minecraft Server and upgrade

To stop the Minecraft server, attach to the screen session:

screen -r

Then stop the server with CTRL + C.

Swap in the new software version with the command:

sudo mv minecraft_server.1.11.1.jar minecraft_server.jar

Restart the Minecraft Server

Begin a new screen session with the command:

screen -r

Then start the Minecraft server with the command:

java -Xms1G -Xmx1G -jar minecraft_server.jar nogui

Use CTRL + A, CTRL + D to detach from this session.

We use cookies on our website to provide you with the best possible user experience. By continuing to use our website or services, you agree to their use. More Information.