[1.1.53] headless server ignoring certain mods
Posted: Fri Feb 04, 2022 2:28 pm
Hi folks,
I'm using the factorio docker image to host a headless server.
It works great and loads mods perfectly fine, but for some reason won't load LTN - I tried a fresh server with nothing but the LTN mod in the mods/ folder, but it just starts up as vanilla and neither mentions the mod nor adds it to the mod-list.json. I double checked that the zip file has the correct checksum and isn't broken somehow, I also tried dropping the unzipped directory in there instead.
Here is my log file from the docker image:
I'm using the factorio docker image to host a headless server.
It works great and loads mods perfectly fine, but for some reason won't load LTN - I tried a fresh server with nothing but the LTN mod in the mods/ folder, but it just starts up as vanilla and neither mentions the mod nor adds it to the mod-list.json. I double checked that the zip file has the correct checksum and isn't broken somehow, I also tried dropping the unzipped directory in there instead.
Here is my log file from the docker image:
Code: Select all
+ FACTORIO_VOL=/factorio
+ LOAD_LATEST_SAVE=true
+ GENERATE_NEW_SAVE=false
+ SAVE_NAME=
+ mkdir -p /factorio
+ mkdir -p /factorio/saves
+ mkdir -p /factorio/config
+ mkdir -p /factorio/mods
+ mkdir -p /factorio/scenarios
+ mkdir -p /factorio/script-output
+ [[ ! -f /factorio/config/rconpw ]]
+ [[ ! -f /factorio/config/server-settings.json ]]
+ [[ ! -f /factorio/config/map-gen-settings.json ]]
+ [[ ! -f /factorio/config/map-settings.json ]]
++ wc -l
++ find -L /factorio/saves -iname '*.tmp.zip' -mindepth 1
+ NRTMPSAVES=0
+ [[ 0 -gt 0 ]]
+ [[ '' == \t\r\u\e ]]
++ id -u
+ [[ 0 = 0 ]]
+ usermod -o -u 845 factorio
usermod: no changes
+ groupmod -o -g 845 factorio
+ chown -R factorio:factorio /factorio
+ SU_EXEC='su-exec factorio'
+ sed -i '/write-data=/c\write-data=\/factorio/' /opt/factorio/config/config.ini
++ find -L /factorio/saves -iname '*.zip' -mindepth 1
++ wc -l
+ NRSAVES=1
+ [[ false != true ]]
+ [[ 1 == 0 ]]
+ [[ false == true ]]
+ FLAGS=(--port "$PORT" --server-settings "$CONFIG/server-settings.json" --server-banlist "$CONFIG/server-banlist.json" --rcon-port "$RCON_PORT" --server-whitelist "$CONFIG/server-whitelist.json" --use-server-whitelist --server-adminlist "$CONFIG/server-adminlist.json" --rcon-password "$(cat "$CONFIG/rconpw")" --server-id /factorio/config/server-id.json)
++ cat /factorio/config/rconpw
+ [[ true == true ]]
+ FLAGS+=(--start-server-load-latest)
+ exec su-exec factorio /opt/factorio/bin/x64/factorio --port 34197 --server-settings /factorio/config/server-settings.json --server-banlist /factorio/config/server-banlist.json --rcon-port 27015 --server-whitelist /factorio/config/server-whitelist.json --use-server-whitelist --server-adminlist /factorio/config/server-adminlist.json --rcon-password <redacted> --server-id /factorio/config/server-id.json --start-server-load-latest
0.000 2022-02-04 13:52:02; Factorio 1.1.53 (build 59373, linux64, headless)
0.000 Operating system: Linux
0.000 Program arguments: "/opt/factorio/bin/x64/factorio" "--port" "34197" "--server-settings" "/factorio/config/server-settings.json" "--server-banlist" "/factorio/config/server-banlist.json" "--rcon-port" "27015" "--server-whitelist" "/factorio/config/server-whitelist.json" "--use-server-whitelist" "--server-adminlist" "/factorio/config/server-adminlist.json" "--rcon-password" <private> "--server-id" "/factorio/config/server-id.json" "--start-server-load-latest"
0.000 Read data path: /opt/factorio/data
0.000 Write data path: /factorio [3977/3978MB]
0.000 Binaries path: /opt/factorio/bin
0.009 System info: [CPU: AMD EPYC 7B12, 2 cores, RAM: 7957 MB]
0.009 Environment: DISPLAY=<unset> WAYLAND_DISPLAY=<unset> DESKTOP_SESSION=<unset> XDG_SESSION_DESKTOP=<unset> XDG_CURRENT_DESKTOP=<unset> __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
0.009 Running in headless mode
0.013 Loading mod core 0.0.0 (data.lua)
0.055 Loading mod base 1.1.53 (data.lua)
0.311 Loading mod base 1.1.53 (data-updates.lua)
0.410 Checksum for core: 1625176034
0.410 Checksum of base: 98178652
0.619 Prototype list checksum: 3034860339
0.671 Info PlayerData.cpp:71: Local player-data.json available, timestamp 1643982692
0.671 Info PlayerData.cpp:78: Cloud player-data.json unavailable
0.673 Factorio initialised
0.673 Info ServerSynchronizer.cpp:29: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
0.673 Info ServerMultiplayerManager.cpp:797: updateTick(4294967295) changing state from(Ready) to(PreparedToHostGame)
0.674 Info ServerMultiplayerManager.cpp:797: updateTick(4294967295) changing state from(PreparedToHostGame) to(CreatingGame)
0.674 Loading map /factorio/saves/_autosave1.zip: 587100 bytes.
0.685 Loading level.dat: 1023553 bytes.
0.701 Info Scenario.cpp:198: Map version 1.1.53-0
0.727 Loading script.dat: 1171 bytes.
0.731 Checksum for script /factorio/temp/currently-playing/control.lua: 3795083680
0.737 Info UDPSocket.cpp:27: Opening socket at (IP ADDR:({0.0.0.0:34197}))
0.737 Hosting game at IP ADDR:({0.0.0.0:34197})
0.737 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/generate-server-padlock-2?api_version=4
0.866 Info AuthServerConnector.cpp:68: Obtained serverPadlock for serverHash (9niH3gOfTnXStkwi0InZe6O2eUNDn5wm) from the auth server.
0.866 Info ServerMultiplayerManager.cpp:797: updateTick(0) changing state from(CreatingGame) to(InGame)
0.934 Info ServerRouter.cpp:657: Asking pingpong servers (pingpong1.factorio.com:34197, pingpong2.factorio.com:34197, pingpong3.factorio.com:34197, pingpong4.factorio.com:34197) for own address
0.934 Info UDPSocket.cpp:39: Opening socket for broadcast
0.934 Error InterruptibleStdioStream.cpp:61: Got EOF on stdin; closing
0.935 Info RemoteCommandProcessor.cpp:130: Starting RCON interface at IP ADDR:({0.0.0.0:27015})
0.935 Info CommandLineMultiplayer.cpp:293: Maximum segment size = 100; minimum segment size = 25; maximum-segment-size peer count = 10; minimum-segment-size peer count = 20