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

Update bedrock download URL with custom VERSION #483

Open
ncimino opened this issue Jan 15, 2025 · 1 comment
Open

Update bedrock download URL with custom VERSION #483

ncimino opened this issue Jan 15, 2025 · 1 comment

Comments

@ncimino
Copy link

ncimino commented Jan 15, 2025

Using latest docker image with VERSION=LATEST attempts to download:
https://www.minecraft.net/bedrockdedicatedserver/bin-linux/bedrock-server-1.21.51.02.zip

Attempt to manually override with VERSION=1.21.51.01 results in the old URL being used:

2025/01/14 22:49:48	stdout	ERROR failed to download from https://minecraft.azureedge.net/bin-linux/bedrock-server-1.21.51.01.zip

Docker version:
https://registry.hub.docker.com/layers/itzg/minecraft-bedrock-server/latest/images/sha256-e2227631afbfa4db1ad32e142cde25bfb11770b933e7c0b2d342cb8e8408dcda
https://registry.hub.docker.com/layers/itzg/minecraft-bedrock-server/latest/images/sha256-0b31384db3149310d293d1ae023d59e0d0b912b0ab773d8a1a2b77a2ff10935a

@ncimino ncimino closed this as completed Jan 15, 2025
@ncimino ncimino reopened this Jan 15, 2025
@itzg
Copy link
Owner

itzg commented Jan 15, 2025

It downloaded the correct version for me:

docker run -it --rm -e EULA=true itzg/minecraft-bedrock-server
DEBU[0000] Using /data to match uid and gid             
DEBU[0000] Resolved UID=0 from match path               
DEBU[0000] Resolved GID=0 from match path               
Looking up latest version...
Downloading Bedrock server version 1.21.51.02 ...
Starting Bedrock server...

Perhaps Mojang's site was being cached, which is where the image identifies the latest version to download.

FYI, setting VERSION to 1.21.51.02 is probably what you meant to do for your experiment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants