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]: Minecraft Bedrock Install/Update no longer works due to changes of URLs on website. #4673

Closed
Crimson-Decoded opened this issue Sep 25, 2024 · 1 comment · Fixed by #4675

Comments

@Crimson-Decoded
Copy link

User story

As a server administrator, I want to be able to install Minecraft Bedrock Edition dedicated server easily

Game

Minecraft Bedrock

Linux distro

Other

Command

command: update, command: install

Further information

A recent update to the Minecraft download site has changed the URL for downloads. This results in Minecraft servers with their version set to latest to fail to update
The current URL used in mcb_update.sh is
'https://minecraft.azureedge.net/bin-linux/[^"]*'
However this is no longer found on the page, resulting in update and installs to fail.
This is now
'https://www.minecraft.net/bedrockdedicatedserver/bin-linux/[^"]*'

curl | grep output included in logs as evidence.

The original URL still works to download, so systems configured with a specific version will still work (for now).
It's mainly that the download page no longer uses the URL so the lookup for remote build of Latest fails.

Relevant log output

~$ curl -H "Accept-Encoding: identity" -H "Accept-Language: en" -Ls -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.${randomint}.212 Safari/537.36" "https://www.minecraft.net/en-us/download/server/bedrock/" | grep -o 'https://minecraft.azureedge.net/bin-linux/[^"]*'
~$ curl -H "Accept-Encoding: identity" -H "Accept-Language: en" -Ls -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.${randomint}.212 Safari/537.36" "https://www.minecraft.net/en-us/download/server/bedrock/" | grep -o 'https://www.minecraft.net/bedrockdedicatedserver/bin-linux/[^"]*'
https://www.minecraft.net/bedrockdedicatedserver/bin-linux/bedrock-server-1.21.30.03.zip
~$

Steps to reproduce

attempt to install or update mcbserver with version set to Latest

@h3o66
Copy link
Member

h3o66 commented Sep 28, 2024

hotfix version 24.3.1 was released earlier.

@h3o66 h3o66 closed this as completed Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants