[0.17.8]/[0.17.9] Linux headless loops while trying to apply update

This subforum contains all the issues which we already resolved.
Post Reply
darkszero
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Jul 19, 2017 3:30 am
Contact:

[0.17.8]/[0.17.9] Linux headless loops while trying to apply update

Post by darkszero »

Hello!

Using this binary: https://www.factorio.com/get-download/0 ... ss/linux64
While trying to apply this update: https://dcdn.factorio.com/updates/core- ... update.zip

Code: Select all

~/ $ factorio/bin/x64/factorio --apply-update /tmp/core-linux_headless64-0.17.8-0.17.9-update.zip
   0.000 2019-03-09 12:18:18; Factorio 0.17.8 (build 43440, linux64, headless)
   0.062 Operating system: Linux (Debian 9.6)
   0.062 Program arguments: "factorio/bin/x64/factorio" "--apply-update" "/tmp/core-linux_headless64-0.17.8-0.17.9-update.zip"
   0.062 Read data path: /home/user/factorio/factorio/data
   0.062 Write data path: /home/user/factorio/factorio [352612/468356MB]
   0.062 Binaries path: /home/user/factorio/factorio/bin
   0.079 System info: [CPU: Intel(R) Xeon(R) CPU           X3430  @ 2.40GHz, 4 cores, RAM: 3946 MB]
   0.079 Environment: DISPLAY=<unset>, WAYLAND_DISPLAY=<unset>
   0.079 Running in headless mode
   0.083 Loading mod core 0.0.0 (data.lua)
   0.140 Loading mod base 0.17.8 (data.lua)
   0.399 Loading mod base 0.17.8 (data-updates.lua)
   0.512 Checksum for core: 2736929835
   0.512 Checksum of base: 3541142062
   1.165 Info PlayerData.cpp:69: Local player-data.json unavailable
   1.165 Info PlayerData.cpp:74: Cloud player-data.json unavailable
   1.166 Custom inputs active: 0
   1.168 Factorio initialised
   1.168 Info Updater.cpp:266: Applying update /tmp/core-linux_headless64-0.17.8-0.17.9-update.zip
   2.392 Info AppManager.cpp:1044: Restarting Factorio
   2.392 Restarting for reason other than update. Setting execute permission skipped.
   2.392 Info AppManager.cpp:1077: Executable path: /home/user/factorio/factorio/bin/x64/factorio
   2.392 Info GlobalContext.cpp:678: Waiting for child processes to exit:
   2.416 Goodbye
   0.000 2019-03-09 12:18:21; Factorio 0.17.9 (build 43513, linux64, headless)
   0.057 Operating system: Linux (Debian 9.6)
   0.057 Program arguments: "factorio/bin/x64/factorio" "--apply-update" "/tmp/core-linux_headless64-0.17.8-0.17.9-update.zip"
   0.057 Read data path: /home/user/factorio/factorio/data
   0.057 Write data path: /home/user/factorio/factorio [352612/468356MB]
   0.057 Binaries path: /home/user/factorio/factorio/bin
   0.074 System info: [CPU: Intel(R) Xeon(R) CPU           X3430  @ 2.40GHz, 4 cores, RAM: 3946 MB]
   0.074 Environment: DISPLAY=<unset>, WAYLAND_DISPLAY=<unset>
   0.074 Running in headless mode
   0.077 Loading mod core 0.0.0 (data.lua)
   0.134 Loading mod base 0.17.9 (data.lua)
   0.392 Loading mod base 0.17.9 (data-updates.lua)
   0.508 Checksum for core: 2736929835
   0.508 Checksum of base: 3535299958
   1.170 Info PlayerData.cpp:67: Local player-data.json available, timestamp 1552144701
   1.170 Info PlayerData.cpp:74: Cloud player-data.json unavailable
   1.171 Custom inputs active: 0
   1.173 Factorio initialised
   1.173 Info Updater.cpp:266: Applying update /tmp/core-linux_headless64-0.17.8-0.17.9-update.zip
   1.858 Info AppManager.cpp:1102: Restarting Factorio
   1.858 Restarting for reason other than update. Setting execute permission skipped.
   1.858 Info AppManager.cpp:1135: Executable path: /home/user/factorio/factorio/bin/x64/factorio
   1.858 Info GlobalContext.cpp:678: Waiting for child processes to exit:
   1.883 Goodbye
   0.000 2019-03-09 12:18:23; Factorio 0.17.9 (build 43513, linux64, headless)
   0.078 Operating system: Linux (Debian 9.6)
   0.078 Program arguments: "factorio/bin/x64/factorio" "--apply-update" "/tmp/core-linux_headless64-0.17.8-0.17.9-update.zip"
   0.078 Read data path: /home/user/factorio/factorio/data
   0.078 Write data path: /home/user/factorio/factorio [352612/468356MB]
   0.078 Binaries path: /home/user/factorio/factorio/bin
   0.094 System info: [CPU: Intel(R) Xeon(R) CPU           X3430  @ 2.40GHz, 4 cores, RAM: 3946 MB]
   0.094 Environment: DISPLAY=<unset>, WAYLAND_DISPLAY=<unset>
   0.094 Running in headless mode
   0.098 Loading mod core 0.0.0 (data.lua)
   0.155 Loading mod base 0.17.9 (data.lua)
   0.416 Loading mod base 0.17.9 (data-updates.lua)
   0.536 Checksum for core: 2736929835
   0.536 Checksum of base: 3535299958
   1.214 Info PlayerData.cpp:67: Local player-data.json available, timestamp 1552144703
   1.214 Info PlayerData.cpp:74: Cloud player-data.json unavailable
   1.216 Custom inputs active: 0
   1.217 Factorio initialised
   1.217 Info Updater.cpp:266: Applying update /tmp/core-linux_headless64-0.17.8-0.17.9-update.zip
   1.898 Info AppManager.cpp:1102: Restarting Factorio
   1.898 Restarting for reason other than update. Setting execute permission skipped.
   1.898 Info AppManager.cpp:1135: Executable path: /home/henrique/factorio/factorio/bin/x64/factorio
   1.898 Info GlobalContext.cpp:678: Waiting for child processes to exit:
   1.920 Goodbye
   0.000 2019-03-09 12:18:25; Factorio 0.17.9 (build 43513, linux64, headless)
The server appears to have updated successfully, but I have to first kill that looping instance.
If I run the same command with 0.17.9, the restart loop occurs even if it should've done nothing.

posila
Factorio Staff
Factorio Staff
Posts: 5147
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.8]/[0.17.9] Linux headless loops while trying to apply update

Post by posila »

Thanks for the report.
Fixed for 0.17.10 - meaning updating from 0.17.9 is not fixed, but from 0.17.10 to higher version is fixed.

Post Reply

Return to “Resolved Problems and Bugs”