[Solved] How to update the headless server?

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Katawa
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sat Oct 05, 2019 6:23 am
Contact:

[Solved] How to update the headless server?

Post 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.
Last edited by Katawa on Tue Oct 22, 2024 1:10 pm, edited 1 time in total.
i9nore
Manual Inserter
Manual Inserter
Posts: 1
Joined: Tue Oct 22, 2024 5:10 am
Contact:

Re: How to update the headless server?

Post 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.
Katawa
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sat Oct 05, 2019 6:23 am
Contact:

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

Post 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
Shirasagi
Manual Inserter
Manual Inserter
Posts: 1
Joined: Wed Oct 23, 2024 11:55 am
Contact:

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

Post 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.
Post Reply

Return to “Technical Help”