Updating Minecraft Version
Is there an easy way to update the version of Minecraft on the server?
I have seen posts suggesting to download the world files to your home computer before launching an updated version but unsure of how to safely do this.
What would be the programs or steps I need to take to do this?
If you're using our Minecraft One-Click App, or LinuxGSM if you're running a Bedrock Minecraft server, you can update your server directly through the LinuxGSM tool on the Linode's command line. You'll need to update LinuxGSM first to ensure it has the most recent update information available, then your Minecraft server. The
update-lgsm command will update LinuxGSM, then
./mcbserver update (where
./mcbserver is the name of your game server) will update Minecraft for you. You can also take a backup of your game server using
./mcbserver backup to create a compressed version of your game files in case something were to go wrong. Backing up your Linode as a whole is also a good idea before making major changes.
If you're not using LinuxGSM or our One-Click App, could you provide a bit more information here regarding what installation tool you're using? Other Minecraft players who frequent this forum may be able to help too.
Thank you jyoo.
I should have been a little clearer. I used the One-Click app to set up a Java Minecraft server.
Hey @LearningasIgo - Sorry, I should have been more clear! Our Minecraft Marketplace app uses LinuxGSM as well, so the general steps will still be the same as what I described. Your filepath may be
./mcserver rather than
./mcbserver since you're using Java instead of Bedrock. LinuxGSM's documentation may be helpful as well.
Hi, I've been trying to run the
./mcserver update command and it gives me an error of "Do NOT run this script as root!"
I'm not able to run this script as another user either. Could you please clarify how one is supposed to run this command on linode?
@joshwaxman Try changing your user to a different user and then run the
./mcserver update command.
You can see what other users you have on your system by running,
cat /etc/passwd. Then you will want to look for users that have a UID at or over 1000. These are the ones I had:
Change to the
minecraft user with,
su - minecraft. Hope this helps!
Came back to this thread since I am receiving an error when logging into server:
"io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information"
I think it may be a version conflict as neither my friends or I can log into the server. I am still unsure about the steps and list of commands needed to update the minecraft server unless there are deeper issues.
Can anyone tell me how to downgrade the server? I want to run spigot on my server but spigot is one version of Minecraft behind.
Is there an updated process for upgrading a one-click server? The commands in the previous posts are not working for me.
Update: Trying to use 'update-lgsm' first gave me an error (something about it not being a valid command). However, skipping that step and running './mcserver update' worked.