I try at the moment to create a bash script for updating my factorio server automatically on my windows root.
after 2 hours searching i found this command
factorio.exe --apply-update arg
but i did not work. I Try as test update a server from version 0.14.23 to the newest experimentel
Code: Select all
0.000 2017-11-26 00:31:17; Factorio 0.14.23 (build 25374, win64, alpha)
0.001 Operating system: Windows 10 (version 1607)
0.001 Program arguments: "factorio.exe" "--apply-update" "arg"
0.001 Read data path: [My Factorio Path]/data
0.001 Write data path: [My Factorio Path]
0.001 Binaries path: [My Factorio Path]/bin
0.021 System info: [CPU: Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz, 4 cores, RAM: 4095MB]
0.022 Running in headless mode
0.025 Loading mod core 0.0.0 (data.lua)
0.031 Loading mod base 0.14.23 (data.lua)
0.151 Checksum for core: 1291735968
0.151 Checksum for mod base: 786624017
0.509 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1511652128
0.509 Info PlayerData.cpp:62: Cloud player-data.json unavailable
0.513 Custom inputs active: 0
0.513 Info Updater.cpp:749: Downloading https://updater.factorio.com/get-available-versions?username=Saint&token=<private>&apiVersion=2
2.182 37 packages available to download (experimental updates disabled).
2.189 Factorio initialised
2.191 Error Util.cpp:57: copy_file(p1, p2, options): invalid arguments: operation not permitted
what must I enter for arg ? or better what is the correct command for updating the server always to the newest experimantal version ?
I will not longer update the server complete manuelly, login on website, download the file, move to the correct dir, unzip...... this all needs to much time. I like to automatically this.