-
-
Notifications
You must be signed in to change notification settings - Fork 832
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
[Bug]: PaperMC Api Url endpoint modified #4727
Comments
Just adding my comment here to also express how flipping annoying this change to their API URL was. PaperMC literally had no reason to do this other than trying to make a point, which causes issues like these unnecessary. Broke my own private server and it took me embarrassingly long to figure out why it broke (I kept thinking my own scripting unrelated to PaperMC was just broken as I had updated it the night before the API change and the server was set to update the next day...) |
I would also like to add that there is a cron entry already in the container: */60 * * * * /app/pmcserver update > /dev/null 2>&1 I don't know if this is intentional, but it is very annoying because I'd like to set my own update interval without having to modify the actual application code. I didn't think it was necessary to make an issue for such a small problem. Thanks! |
Best to make issues as it helps organize and track, vs having an issue commented inside an unrelated issue. |
Will do! |
User story
As a user, I experienced error updating server throug pmcserver command who crashes the server instance
Game
PaperMC
Linux distro
Ubuntu 22.04
Command
command: update
Further information
https://papermc.io/api/v2/projects:
The PaperMC URL which privedes build info has changed... need to be updated to: https://api.papermc.io/v2/projects
Fix:
Relevant log output
Steps to reproduce
linuxgsm@a81cd16d04e0:/app$ ./pmcserver update
[ OK ] Updating pmcserver: Checking local build: papermc.ioparse error: Invalid numeric literal at line 1, column 10
parse error: Invalid numeric literal at line 1, column 10
parse error: Invalid numeric literal at line 1, column 10
parse error: Invalid numeric literal at line 1, column 10
[ OK ] Updating pmcserver: Checking for update: papermc.io
The text was updated successfully, but these errors were encountered: