Hello and thanks for your time,
I experienced a unexpected behaviour, updated a modpack and needed to use:
-Dfml.queryResult=confirm
[12:23:42] [Server thread/INFO] [FML]: Using fml.queryResult confirm to answer the following query:
Forge Mod Loader detected missing registry entries.
[...]
[12:23:52] [Server thread/INFO] [FML]: World backup created at /home/docker/world-20200224-122342.zip.
[12:23:52] [Server thread/ERROR] [FML]: There are unidentified mappings in this world - we are going to attempt to process anyway
[...]
[12:23:58] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Done (16.717s)! For help, type "help" or "?"
My expectation was, if I see this last line, I can shutdown the server and restart without a confirmation but this isn't the case. If I shutdown the server e.g. 0-10 seconds after "Done" I still need to confirm it next time. I can connect with the updated modpack without problems, but I still need to confirm it next start if I dont let the server run long enough.
I want to find out at which time the update process is completed that I can restart the server without confirmation. (Log entry xy, file created, ...)
I created a backup before the update so I tested it several times,it looks like the server is needing 30-120 second until its really done.
1. I tested openjdk8-jre, adoptopenjdk 8 with hotspot and openj9 vm all using alpine 3.11
2. Forge: 1.12.2-14.23.5.2847, installed with http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.12.2-14.23.5.2847/forge-1.12.2-14.23.5.2847-installer.jar --installServer
3. Iam using a trap with SIGTERM to shutdown the server:
pkill -15 java
Is this a bug, did I miss a line in the log, maybe wrong way to shutdown or is this more complex to check? I am interested in information about all current Forge versions not only 1.12.2 if this is specific, including active/LTS.
Logs with adoptopenjdk openj9 on first/second start(both needing confirmation):https://gist.github.com/jusito/8a2874c39de2b46a098ec9da733aad7d