Keep Minecraft Server Up To Date

Minecraft is a sandbox construction game, inspired by Infiniminer, Dwarf Fortress and Dungeon Keeper, created by Markus Persson, the founder of Mojang AB. The game involves players placing and breaking various types of blocks in a three-dimensional environment. The player takes on an avatar that can break and place blocks, forming fantastic structures, creations, and artwork, on multiplayer servers and singleplayer worlds across multiple game modes.

Moderator: Lillian.W@AST

User avatar
clinton.hall
Posts: 845
youtube meble na wymiar Warszawa
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand
Contact:

Keep Minecraft Server Up To Date

Post by clinton.hall »

How to Keep Mincraft Server updated to the latest version...

In your "PublicShare/minecraft_server" folder there is a file "version.txt"

Simply edit this file to show the version you want to install.

Code: Select all

1.10
then the next time Minecraft server is restarted in App Central this should pull-down and run the specified version.
If you want to run any of the previous versions, simply edit this file to show the old version
e.g.

Code: Select all

1.8.1
The restart the server again.
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
User avatar
clinton.hall
Posts: 845
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand
Contact:

Re: Keep Minecraft Server Up To Date

Post by clinton.hall »

Minecraft appear to have changed their download URL and format (from v 1.13.1)

They now have a random (hashed) filename which makes updating a lot more difficult.

You can just download the latest server version (*.jar) from https://minecraft.net/en-us/download/server to shares/Public/minecraft_server/minecraft_server.<ver>.jar

Don't forget to update the shares/Public/minecraft_server/version.txt to show the matching <ver>...
Restart Minecraft server via App Central and this should then run.
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
BullseyeSmith
Posts: 5
Joined: Mon Jul 12, 2021 7:01 am

Re: Keep Minecraft Server Up To Date

Post by BullseyeSmith »

Hey clinton.hall, I've added minecraft_server.1.17.1.jar and changed the text within version.txt to 1.17.1

I turn the minecraft app off and back on again, I get the following error when I try to connect:

io.netty.channel.AbstractChannel$AnnotatedConnectExeption: Connection refused: no further information: LOCKERSTOR/192.168.1.11:25565

I can successfully connect when I switch to 1.8.1 or 1.16.5, but I get that error message with 1.17.1.

Please advise on how to resolve this.

Thanks & God Bless!
arsvendg
Posts: 26
Joined: Fri Mar 07, 2014 7:27 pm

Re: Keep Minecraft Server Up To Date

Post by arsvendg »

A bit of guess from me, but I believe that minecraft now requires version 16 of java and that might be what you need. I do not know how to install that though, can not find it in the app central.
linu30
Posts: 2
Joined: Wed Nov 10, 2021 3:59 am

Re: Keep Minecraft Server Up To Date

Post by linu30 »

I think the main issue is that Minecraft now requires Java version 16 and the Java version for Asustor NAS is 1.8... Not sure this can be fixed by simply updating the server app...
linu30
Posts: 2
Joined: Wed Nov 10, 2021 3:59 am

Re: Keep Minecraft Server Up To Date

Post by linu30 »

And regarding that I asked Asustor about update plans:

-"The current Java Version is 1.17, any plans on updating from 1.8 for Asustor AS-608T app?"


"-Thanks for contacting us.
For the issue mentioned, currently we don't have a plan to update the java version on AS60 series NAS models.

Please don't hesitate to contact me if you have further questions."
Wuddmac
Posts: 2
Joined: Tue Jan 04, 2022 11:34 am

Re: Keep Minecraft Server Up To Date

Post by Wuddmac »

You can pack up the version of Java you need and manually install it on your NAS. That's what I have done.
blackpoly
Posts: 1
Joined: Fri Mar 11, 2022 7:10 pm

Re: Keep Minecraft Server Up To Date

Post by blackpoly »

Hi How did you package and install the Java update yourself? Can you provide me with the package or explain how you did it?
Wuddmac
Posts: 2
Joined: Tue Jan 04, 2022 11:34 am

Re: Keep Minecraft Server Up To Date

Post by Wuddmac »

blackpoly wrote:Hi How did you package and install the Java update yourself? Can you provide me with the package or explain how you did it?
Hey blackpoly,

Here are the steps to update the Java Version.

1. Go to https://www.7-zip.org/download.html and download 7-zip
2. Install 7-zip
3. Go to https://www.oracle.com/java/technologies/downloads/ and download the Arm 64 Compressed Archive for Linux.
4. Using 7-zip 'Extract Here' the java tar.gz.
extractHere.PNG
extractHere.PNG (38.14 KiB) Viewed 12371 times
5. Using 7-zip 'Extract Here' the tar created in step 4.
extractHere2.PNG
extractHere2.PNG (39.93 KiB) Viewed 12371 times
6. Using 7-zip 'Add to Archive' the contents of the folder created in step 5
AddToArchive.PNG
AddToArchive.PNG (48.7 KiB) Viewed 12371 times
7. In the 7-zip dialog, create the data.tar
dataTar.PNG
dataTar.PNG (28.58 KiB) Viewed 12371 times
8. Using 7-zip 'Add to Archive...' the data.tar created in step 7
9. In the 7-zip dialog, create the data.tar.gz
dataTarGz.PNG
dataTarGz.PNG (27.9 KiB) Viewed 12371 times
10. Go to https://www.asustor.com/en/app_central/ ... eyword=JRE and download the pre-existing Asustor JRE apk for your NAS.
11. Using 7-zip 'Extract Here' the apk downloaded in step 10.
12. Using 7-zip 'Extract Here' the control.tar.gz that resides in the folder created in step 11.
13. Using 7-zip 'Extract Here' the control.tar created in step 12.
14. Update the config.json that was extracted in step 13 to reflect the Java version that you are installing.
configJson.PNG
configJson.PNG (36.29 KiB) Viewed 12371 times
15. Using 7-zip 'Add to Archive' the contents of the folder created in step 13.
16. In the 7-zip dialog, create the control.tar
17. Using 7-zip 'Add to Archive...' the control.tar created in step 16
18. In the 7-zip dialog, create the control.tar.gz
19. Copy the control.tar.gz, data.tar.gz, and apkg-version into the same folder.
20. Using 7-zip 'Add to Archive...' the control.tar.gz, data.tar.gz, and apkg-version
addToArchiveFinal.PNG
addToArchiveFinal.PNG (32.21 KiB) Viewed 12371 times
21. In the 7-zip dialog, create the java zip.
javaZip.PNG
javaZip.PNG (28.65 KiB) Viewed 12371 times
22. Rename the zip created in step 21 to have an apk extension instead of a zip extension.
23. Go to the App Central on your NAS.
24. Go to 'Management'.
25. Go to Manual Install.
26. Browse to the apk you created.
27. Click Upload.

Once this is done, your Java version should be updated to the one you just packaged up.
Short Shot
Posts: 1
Joined: Sun May 08, 2022 9:35 pm

Re: Keep Minecraft Server Up To Date

Post by Short Shot »

Anyone having any luck?

It seems the installation to the newer version of Java was successful as the NAS reports version 18 running. Thank you for those instructions.

I cannot however get 1.18.2 or even the "default" 1.8.1 running on the thing. Using a local connection I just get the same connection refused: no further information as others reported.
Post Reply

Return to “minecraft”