Skip to content

[Bug]: PaperMC Api Url endpoint modified #4727

@Neimolon

Description

@Neimolon

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    ✅ Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions