Open brusMX opened 6 years ago
I tried running the following command to bump up the version:
docker run -it -p 25565:25565 -e EULA=TRUE -e VERSION=1.13 openhack/minecraft-server /bin/bash
But got the following error:
Empty data volume detected. Populating with default world
Switching to user 'minecraft'
Checking version information.
Checking type information.
Downloading minecraft_server.1.13.jar ...
Creating server.properties
Setting motd to A Minecraft Server Powered by Docker
Setting enable-rcon to true
Setting rcon.password to cheesesteakjimmys
Setting rcon.port to 25575
Setting level-name to world
Setting level-seed to -9363708386013540
Setting pvp to true
Setting online-mode to FALSE
Setting level type to DEFAULT
Setting difficulty to 0
Setting initial memory to 1G and max to 1G
Error: Unable to access jarfile minecraft_server.1.13.jar
Nevertheless, when I run itzg image, it works properly:
On a side note, nanoserver and nanoserver1709 are pointed to VERSION=latest. And I cannot seem to be able to override that version by hand (-e VERSION=1.12.2
). Which leads to the following error:
Empty data volume detected. Populating with default world
StatusCode : 200
StatusDescription : OK
Content : {123, 34, 108, 97...}
RawContent : HTTP/1.1 200 OK
Connection: keep-alive
Date: Thu, 26 Jul 2018 16:37:39 GMT
Via: 1.1 36fbf419b5fa237613e1567ab33d3698.cloudfront.net
(CloudFront)
Accept-Ranges: bytes
Age: 170
ETag: "8f4abe1fb6e1...
Headers : {[Connection, System.String[]], [Date, System.String[]],
[Via, System.String[]], [Accept-Ranges,
System.String[]]...}
RawContentLength : 28942
Checking version information.
Checking type information.
Downloading minecraft_server.1.13.jar ...
Invoke-WebRequest : Response status code does not indicate success: 403
(Forbidden).
At C:\minecraft\start.ps1:322 char:5
+ Invoke-WebRequest -Uri "https://s3.amazonaws.com/Minecraft.Downlo ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (Method: GET, Re...1.14393.100
0
}:HttpRequestMessage) [Invoke-WebRequest], HttpRequestException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShe
ll.Commands.InvokeWebRequestCommand
Guess what.. They re-updated the server again ...
Current version of MC is 1.13. Right now out of the box you would get the following error:
There is a workaround using the launch options to fix it for 1.12.2: https://www.screencast.com/t/QC2VjDRk5k8t