-
-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation fails, server does not start. #38
Comments
Oops, yeah I just did that very recently updating the URLs. Apparently I failed quite hard here, sorry about that! I did release 2 containers so I've been a little scrambled / overloaded compared to normal. I made the commit that broke this about a day ago. I've just fixed this in the code. Go ahead and remove the "jre" folder. Now run SetupMinecraft.sh and it should download and set up the correct one. Sorry about that and let me know if that fixed it for you! I did a fresh test on my Pi 400 to make sure I got it (running 64 bit or aarch64 but both links were fixed). EDIT: I see you fixed it yourself as well here by extracting manually so you're probably good to go. Thanks for reporting this! |
No problem, we're all human! I got my server back up and the backup restored last night. Looking through the code was intimidating until I realized I could just wipe the SD card and start over if I actually broke something. Once I got over that and started reading I realized I understood most of what was happening and bumbled my way through it. |
Thanks again! |
TLDR; skip to edit 2
Raspberry Pi 4, 2GB Ram, running Buster
Ran updates (apt-get update, upgrade) on the server earlier, after performing updates the minecraft server stopped working. Rebooted the Pi, server would not start. Saved my latest backup and re-flashed Buster to the SD card. After running the install script, the server still will not start.
Reviewing the output from the install, there was some kind of problem with OpenJDK installation. Then at the end there are some errors. I'm really not sure where to go from here.
edit: for the sake of thoroughness I installed a fresh copy of 32-bit bullseye. The installation went exactly the same with the same result.
edit2: I found the problem in the install script. Line 203 points to the x64 version of jdk 17. (Line 207 also points to the x64 version)
There also seems to be something else going wrong, because after running the script the jre folder does not exist after the script finishes, although it reports Java is installed successfully. Downloading and unpacking the correct version of jdk 17 into the correct directory got the start script working.
The text was updated successfully, but these errors were encountered: