itzg / docker-minecraft-bedrock-server

Containerized Minecraft Bedrock Dedicated Server with selectable version
MIT License
1.19k stars 225 forks source link

Server does not start after docker restart #472

Closed Wessi99 closed 2 weeks ago

Wessi99 commented 2 weeks ago

I wanted to do an update and restarted the Docker Container. However, the server won't boot anymore. I've already completely deleted the container and set it up again, but the same problem remains.

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... 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... 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...

Translate by google translate

itzg commented 2 weeks ago

I'm not sure what is happening without any kind of exit code or details. Please set the environment variable DEBUG to "true" and provide those logs.

Wessi99 commented 2 weeks ago

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

itzg commented 2 weeks ago

There seems to be some kind of networking issue. Run this command to perform the same retrieval with curl in verbose mode:

docker run --rm --entrypoint curl itzg/minecraft-bedrock-server -A itzg/minecraft-bedrock-server -v https://www.minecraft.net/en-us/download/server/bedrock
Wessi99 commented 2 weeks ago

docker run --rm --entrypoint curl itzg/minecraft-bedrock-server -A itzg/minecraft-bedrock-server -v https://www.minecraft.net/en-us/download/server/bedrock % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:19 --:--:-- 0 Could not resolve host: www.minecraft.net Closing connection 0curl: (6) Could not resolve host: www.minecraft.net

Wessi99 commented 2 weeks ago

I deactivated Pihole and restarted the Raspberry and now it works. Apparently it was the Pihole