itzg/docker-minecraft-bedrock-server

error regarding allowlist.json during start

lfischer opened this issue · 3 comments

Latest docker fails on start with the following log.
If I create a file allowlist.json, it gets deleted during the start.

DEBU[0000] Resolved UID=0 from match path
DEBU[0000] Resolved GID=0 from match path
Looking up latest version...
Starting Bedrock server...
NO LOG FILE! - setting up server logging...
[2023-11-04 23:43:39:938 INFO] Starting Server
[2023-11-04 23:43:39:938 INFO] Version: 1.20.41.02
[2023-11-04 23:43:39:938 INFO] Session ID: 4b07189e-b87d-4378-abe1-00990a8cfa57
[2023-11-04 23:43:39:938 INFO] Build ID: 19385779
[2023-11-04 23:43:39:938 INFO] Branch: r/20_u4
[2023-11-04 23:43:39:938 INFO] Commit ID: fb9e4a5f54462276397ac295c1afe7df03b900d6
[2023-11-04 23:43:39:938 INFO] Configuration: Publish
[2023-11-04 23:43:39:938 INFO] Level Name: Bedrock level
[2023-11-04 23:43:39:942 ERROR] Error opening allow list file: allowlist.json
[2023-11-04 23:43:39:990 INFO] Package: com.mojang.minecraft.dedicatedserver
Version: 1.20.41.02
OS: Linux
Server start: 2023-11-04 23:43:39 UTC
Dmp timestamp: 2023-11-04 23:43:39 UTC
Upload Date: 2023-11-04 23:43:39 UTC
Session ID: 4b07189e-b87d-4378-abe1-00990a8cfa57
Commit hash: fb9e4a5f54462276397ac295c1afe7df03b900d6
Build id: 19385779
CrashReporter Key: 8c4937c1-64cb-3532-a8dc-1deb28f67293

Crash```

You're reporting two very different issues. I can't recreate the crash failure -- that will need to be reported to Mojang.

If I create a file allowlist.json, it gets deleted during the start.

This is actually fixable.

@drardin your change in #359 introduced a regression, which is what I cautioned about. I am going to remove the else condition here

else
ALLOW_LIST=false
rm -f allowlist.json
fi

Thank you!