-
-
Notifications
You must be signed in to change notification settings - Fork 506
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
PaperMC installation not possible #7349
Comments
Many thanks for reporting. The API URL changed from a sub path to a sub domain 😄. Fixed with: 8fd0327 I wonder whether it is worth a live patch. As of the small change, it would be an easy one 🤔. So people do not need to next DietPi release. |
- Live patch 3 | Fix PaperMC installation: #7349
- Live patch 3 | Fix PaperMC installation: #7349
Okay, while the live patch works, there is a dedicated issue, which cannot be patched that easily: Minecraft 1.20.5 and above requires Java 21, available on Debian Trixie only. So we need to install v1.20.4 in that case. So the live patch does not make sense: We fix the download, but the service won't start successfully on Bullseye and Bookworm systems. I fixed it for upcoming DietPi release: e0430a7 |
Hmm, pinning older Minecraft version is now awesome either. But installing new Java versions on older Debian is as well not that trivial, and can conflict with other software titles. Though we have a request for this very reason: #4505 ... wait, it has become much easier now to install other Java versions: #4505 (comment) |
Just commenting here to just express how crazy such a tiny change is so disruptive to many different projects .. it took me embarrassingly long to find out why my personal server wasn't working. I had just updated my own script that updates my own server and set it to run the next day... The next day happened to be when they changed the API ... Took me a day or two to realize why my server wasn't working and that it was only downloading 0kb paper jar files 🤦 |
Yeah, for APIs this is especially nasty 😄. Would have been trivial to add a redirect, and inform people through other channels about the deprecated old URL. Though I cannot rule out this has happened, and we just missed it. There is no real way to add deprecation messages to the API itself, without distorting the output either. If you actually stored the empty response, then I suggest to update your script. E.g. in case of |
Creating a bug report/issue
Required Information
cat /boot/dietpi/.version
G_DIETPI_VERSION_CORE=9
G_DIETPI_VERSION_SUB=9
G_DIETPI_VERSION_RC=0
G_GITBRANCH='master'
G_GITOWNER='MichaIng'
G_LIVE_PATCH_STATUS[0]='applied'
G_LIVE_PATCH_STATUS[1]='applied'
G_LIVE_PATCH_STATUS[2]='not applicable'
echo $G_DISTRO_NAME $G_RASPBIAN
bullseye 0
uname -a
echo $G_HW_MODEL_NAME
or (EG: RPi3)RPi 4 Model B (aarch64)
irrelevant
irrelevant
Additional Information (if applicable)
PaperMC Minecraft Server
Update via dietpi-software reinstall fails with a 403 error when trying to fetch paperMC from papermc.io.
486cd0df-8498-4516-8092-e60506831654
Steps to reproduce
Expected behaviour
Actual behaviour
Command: curl -sSfL https://papermc.io/api/v2/projects/paper/versions//builds//downloads/paper--.jar -o paper--.jar
The text was updated successfully, but these errors were encountered: