Page 1 of 2

Keep Minecraft Server Up To Date

Posted: Sat Jun 18, 2016 9:41 am
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.

Re: Keep Minecraft Server Up To Date

Posted: Wed Aug 29, 2018 11:28 am
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.

Re: Keep Minecraft Server Up To Date

Posted: Mon Jul 12, 2021 8:07 am
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!

Re: Keep Minecraft Server Up To Date

Posted: Thu Jul 15, 2021 2:42 am
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.

Re: Keep Minecraft Server Up To Date

Posted: Wed Nov 10, 2021 4:02 am
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...

Re: Keep Minecraft Server Up To Date

Posted: Fri Nov 12, 2021 12:30 am
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."

Re: Keep Minecraft Server Up To Date

Posted: Tue Jan 04, 2022 11:37 am
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.

Re: Keep Minecraft Server Up To Date

Posted: Fri Mar 11, 2022 7:12 pm
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?

Re: Keep Minecraft Server Up To Date

Posted: Sat Apr 02, 2022 10:36 pm
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 12460 times
5. Using 7-zip 'Extract Here' the tar created in step 4.
extractHere2.PNG
extractHere2.PNG (39.93 KiB) Viewed 12460 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 12460 times
7. In the 7-zip dialog, create the data.tar
dataTar.PNG
dataTar.PNG (28.58 KiB) Viewed 12460 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 12460 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 12460 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 12460 times
21. In the 7-zip dialog, create the java zip.
javaZip.PNG
javaZip.PNG (28.65 KiB) Viewed 12460 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.

Re: Keep Minecraft Server Up To Date

Posted: Sun May 08, 2022 9:37 pm
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.