Closed fogdog-twilight closed 2 years ago
The ENABLE_UPDATE parameter only updates minecraft version. Openjdk (java) has to be in version 17 from the beggining
I don't think java17 is included in balenaos. I can't run the latest minecraft.
Have you tried redeploying balena minecraft server?
I redeproyed it with the latest version.
Just try to deploy it manually using the Balena CLI tools openjdk 17 is included in the latest release (debian bookworm).
Download the repository from github as a zip and use your terminal to push it to your fleet.
cd YOURFOLDER
then
balena login
and finally
balena push YOURFLEETNAME
How do you put openJDK 17 on the server?
Mojang keeps requiring higher java versions with each release. I would recommend you to just redeploy the application as we ship java 17 with the images now.
Ok, I figured out a fix.
If you're like me, you tried re-deploying and updating BalenaOS to no avail
But it turns out that even with ENABLE_UPDATE = true, Paper.jar was not updating. So for some reason, the server was running 1.17 even though there was no such indication that was happening.
So you have to manually update Paper.jar by obtaining their latest JAR file, and then drag it into the serverfiles folder using SCP
To recap:
After this, you should be good to go. Make sure to backup any important server files in case you need to start from scratch.
#
I had same problem and this fix to me.
Thank you for you post @sumwhat1
Ok, I figured out a fix.
If you're like me, you tried re-deploying and updating BalenaOS to no avail
But it turns out that even with ENABLE_UPDATE = true, Paper.jar was not updating. So for some reason, the server was running 1.17 even though there was no such indication that was happening.
So you have to manually update Paper.jar by obtaining their latest JAR file, and then drag it into the serverfiles folder using SCP
To recap:
- Re-deploy Project
- Update BalenaOS using BalenaCloud-Actions
- Replace Paper.Jar manually
After this, you should be good to go. Make sure to backup any important server files in case you need to start from scratch.
Hi, I have a couple of questions to ask.
Will I lose all data if I redeploy the project?
If I lose all the data how can I restore the data as before?
Do I just need to back up all plug-ins, configuration files and worlds (to transfer them to the server later) or do I need to back up the entire serverfiles
folder?
Ok, I figured out a fix.
If you're like me, you tried re-deploying and updating BalenaOS to no avail
But it turns out that even with ENABLE_UPDATE = true, Paper.jar was not updating. So for some reason, the server was running 1.17 even though there was no such indication that was happening.
So you have to manually update Paper.jar by obtaining their latest JAR file, and then drag it into the serverfiles folder using SCP
To recap:
- Re-deploy Project
- Update BalenaOS using BalenaCloud-Actions
- Replace Paper.Jar manually (Edit: https://papermc.io/downloads )
After this, you should be good to go. Make sure to backup any important server files in case you need to start from scratch.
Hi, I have a couple of questions to ask.
Will I lose all data if I redeploy the project?
IIRC yes you will, best to backup all files in the server folder before redeploying the project.
If I lose all the data how can I restore the data as before?
Just copy the server folder back into the same place you backed it up from earlier using SCP.
Do I just need to back up all plug-ins, configuration files and worlds (to transfer them to the server later) or do I need to back up the entire
serverfiles
folder?
The entire folder is likely your best bet.
Thanks for being so quick to respond
Hi, I have a couple of questions to ask. Will I lose all data if I redeploy the project?
IIRC yes you will, best to backup all files in the server folder before redeploying the project.
If I lose all the data how can I restore the data as before?
Just copy the server folder back into the same place you backed it up from earlier using SCP.
Do I just need to back up all plug-ins, configuration files and worlds (to transfer them to the server later) or do I need to back up the entire
serverfiles
folder?The entire folder is likely your best bet.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
It's a continuation of the issue below. https://github.com/AlexProgrammerDE/balena-minecraft-server/issues/177
I have redeployed the latest server, but the console still says that java17 is required to start version 1.18. Even if I set the ENABLE_UPDATE parameter to true, java17 was still not installed. I can't find the openjdk directory in the /usr/local, and I don't know where java is installed.
My environment is as follows. -Raspberry Pi 4 (using 64bit OS) -Host OS version : balenaOS 2.88.4 -Supervisor version: 12.11.21