Skip to content
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

Open
Neimolon opened this issue Jan 2, 2025 · 0 comments
Open

[Bug]: PaperMC Api Url endpoint modified #4727

Neimolon opened this issue Jan 2, 2025 · 0 comments

Comments

@Neimolon
Copy link

Neimolon commented Jan 2, 2025

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:

image

The PaperMC URL which privedes build info has changed... need to be updated to: https://api.papermc.io/v2/projects

Fix:

image

Relevant log output

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

  1. go to app directory and launch ./pmcserver update
  2. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🆕 New Issues
Development

No branches or pull requests

1 participant