-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Container not starting, getbukkit.org redirect failure #2371
Comments
Thanks for reporting this. I have been able to recreate the issue and will start investigating. |
Set the Environment Variable |
Another solution is to switch to Paper 😀 |
The domain has been fixed upstream. I still think it would be worth evaluating error handing in this scenario to avoid downtime in the event it happens again. |
Thanks for pointing out their website is back. What would the error handling do? |
My assumption is that it would note the error and continue to function with the previously downloaded executable. |
That would seem reasonable but it has to query to resolve a VERSION of "latest"
So, as a workaround, users could set VERION specifically and there's already logic to skip download if it's present. |
I have tried and tried and tried and I cannot get it to download the latest version. I have manually downloaded the latest myself from the spigot website (1.20.1), uploaded to the directory on my NAS and changed the environmental variable to reflect the version number I've manually put in the directory (1.20.1). Doesn't seem to detect it's present, tried to download anyways, and fails.
Interesting Enough, I am able to download 1.8-R0.1-SNAPSHOT-latest if I want to play on a sever from 2014... |
@cringeisen please open a new issue, set the env var |
This issue is stale because it has been open 30 days with no activity. Please add a comment describing the reason to keep this issue open. |
Describe the problem
Hey, I stopped my minecraft-server container yesterday for backup and restarted it, but it won't start anymore.
Apparently http://getbukkit.org/ isn't redirecting properly.
Before making this issue I of course pulled the newest image.
Just wanted to document this here, I'm not even sure is this project able to fix the problem before getbukkit.org fixes the redirect issue.
I'm running the container on Rocky Linux 8.8 using Podman, but it should not matter.
Have a nice day,
ElektroVirus
Container definition
TYPE="SPIGOT"
CONTAINER_NAME="minecraft-server"
podman rm --force $CONTAINER_NAME
podman pull itzg/minecraft-server:latest
podman run -d
-p 25565:25565
-p 25575:25575
-p 8123:8123
-e MEMORY=""
-e JVM_XX_OPTS="-XX:MaxRAMPercentage=75"
-e EULA=TRUE
-e ENABLE_ROLLING_LOGS=true
-e GUI=FALSE
-e TZ="Europe/Helsinki"
-e TYPE=${TYPE}
-e MOTD="A ${TYPE} Minecraft Server"
-e DIFFICULTY=hard
-e OPS=""
-e ENABLE_RCON=true
-e RCON_PASSWORD=""
-e ENABLE_QUERY=false
-e MAX_PLAYERS=50
-e MAX_WORLD_SIZE=100000
-e ALLOW_NETHER=true
-e ANNOUNCE_PLAYER_ACHIEVEMENTS=true
-e ENABLE_COMMAND_BLOCK=false
-e FORCE_GAMEMODE=false
-e GENERATE_STRUCTURES=true
-e HARDCORE=false
-e SNOOPER_ENABLED=false
-e MAX_BUILD_HEIGHT=256
-e MAX_TICK_TIME=60000
-e SPAWN_ANIMALS=true
-e SPAWN_MONSTERS=true
-e SPAWN_NPCS=true
-e SPAWN_PROTECTION=0
-e VIEW_DISTANCE=32
-e MODE=survival
-e PVP=true
-e LEVEL_TYPE=DEFAULT
-e ONLINE_MODE=true
-e ALLOW_FLIGHT=false
-e SERVER_NAME="My server"
-e SERVER_PORT=25565
-v /home/elias/minecraft-server/data:/data:Z
--name ${CONTAINER_NAME}
itzg/minecraft-server:latest
Container logs
The text was updated successfully, but these errors were encountered: