LinuxGSM icon indicating copy to clipboard operation
LinuxGSM copied to clipboard

[Bug]: MCbserver can't update

Open RioLi08123 opened this issue 7 months ago • 4 comments

User story

I try ./mcbserver ul and cu but still not working

Game

MCB

Linux distro

Ubuntu 24.04

Command

command: update-lgsm

Further information

mcbserver@MCPE:~$ ./mcbserver u [ FAIL ] Updating mcbserver: Checking remote build: minecraft.net core_exit.sh exiting with code: 1

Relevant log output


Steps to reproduce

No response

RioLi08123 avatar Jun 13 '25 17:06 RioLi08123

The problem is the update script is scraping the Minecraft Dedicated Server downloads page, but the page format has been changed and no longer contains the latest version number. Instead they have a EULA wall and JavaScript that initiates the download. I'm unsure how this will be resolved.

ejpenney avatar Jun 13 '25 18:06 ejpenney

Same issue here on Ubuntu 24.04 running multiple MCBservers. I really hope this can be resolved

CervezaStallone avatar Jun 15 '25 10:06 CervezaStallone

Looks like the made a redesign of the page and have a api now for the latest download:

https://net-secondary.web.minecraft-services.net/api/v1.0/download/links

I can do with that a new implementation for the updater.

Quick jq to get the correct link: jq '.result.links[] | select(.downloadType == "serverBedrockLinux") | .downloadUrl'

h3o66 avatar Jun 15 '25 13:06 h3o66

Made now a pr, if someone has time feel free to test it before that goes live.

h3o66 avatar Jun 15 '25 13:06 h3o66

Fixed in hotfix. Thanks for reporting

dgibbs64 avatar Jun 19 '25 18:06 dgibbs64