You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Steps to reproduce
go to app directory and launch ./pmcserver update
Outputs this error:
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:
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!
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: