Page 1 of 1

[Solved] How to update the headless server?

Posted: Mon Oct 21, 2024 10:13 pm
by Katawa
I just finished setting up a headless factorio server, and the game updated to 2.0.8 while the server is still 2.0.7.
How do i update it? I tried launching it with --apply-update and --start-server --apply-update settings but that didn't help.

Re: How to update the headless server?

Posted: Tue Oct 22, 2024 5:15 am
by i9nore
The simplest way is to download the new version of the server archive to the same folder where you originally installed the server, and then just unpack it. But I'm also curious if it's possible to enable auto-updates.

Re: [Solved] How to update the headless server?

Posted: Tue Oct 22, 2024 1:11 pm
by Katawa
That's simple enough. I have no idea how it didn't work for me the first time around, I tried it again and it was fine.
I think I can set up a small bash script to do it with one command

Re: [Solved] How to update the headless server?

Posted: Wed Oct 23, 2024 12:01 pm
by Shirasagi
It could be a good idea to use a Docker image for hosting.
You might want to consider using the image factoriotools/factorio-docker, which makes it easy to switch between different versions, or hosting multiple server on the same machine.