Factorio - Default uses --start-server launch argument, but prone to cascading autosave failure? #4959
Unanswered
Doug-Murphy
asked this question in
Q&A
Replies: 2 comments
|
I was running some tests, and found that my server ran out of disk space. As a result, Factorio was not able to save to the latest |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I went on vacation a few days ago and left my dedicated server running. When I returned today and loaded into my server, I quickly noticed that it was back at the starting point with the crashed ship. I did some looking at my autosaves and the famous
save1.zipthat is part of the launch arguments and noticed that mysave1.ziphad a timestamp of when I first started up the server. All of my autosaves had been, as expected, the last 5 autosaves all 10 minutes apart. At some point over my vacation, the server had restarted and loaded in the initial (read-only by Factorio design apparently?)save1.zipand then all of the autosaves from there wrote that same save game until my server had all backups completely removed. I am using the Docker image for this, in case that helps explain why this may have happened.My question here is "Should we be using
--start-server ${serverfiles}/save1.zipin the launch arguments or should we instead use--start-server-load-latest?"With
--start-server-load-latest, it automatically loads the latest autosave when the server boots. I was able to successfully verify this by addingstartparameters="--bind ${ip} --start-server-load-latest --server-settings ${servercfgfullpath} --port ${port} --rcon-port ${rconport} --rcon-password ${rconpassword}"to my/data/config-lgsm/fctrserver/fctrserver.cfgfile. Upon launching the server, the latest autosave is the file that had loaded up. For good measure, I even renamed mysave1.zipso that there was nosave1.zipfor it to somehow sneakily use.All reactions