Headless Server - How to enable automatic updates
Posted: Fri Jun 02, 2017 11:50 am
Hi All,
I have done some searching on google, reddit and this forum and have not been able to find a solution to my problem.
I installed a server recently and have been playing on version 0.15.16 with no issues.
My client automatically updated to 0.15.18 so I am looking to update the server without having to reinstall it from scratch.
I edited to setto true, but when I launch the server i get the messages
So, I quit the server and check on the enable experimental updates field has reverted back to false.
I then copied config.ini to a different directory and launched the server adding it's path using to the new path. The same thing happens and the new config.ini is overwritten and set to false.
I'm using to launch the server.
As this wasn't working, I then tried to update manually by adding to my launch parameters. I receive the following error:
The first strange thing is that the file is not a zip file. I guess this is because I'm trying to update using the full installer package downloaded from the factorio site. I then went to to look for the update manually. there doesn't seem to be a 'from V0.15.16' 'to V0.15.18'.
So, if anyone can explain how i can a) enable automatic updates of experimental releases or b) provide a link to where i can get the update files from manually then I'm sure my problems will be fixed. I'm not running any mods. Thanks in advance...
I have done some searching on google, reddit and this forum and have not been able to find a solution to my problem.
I installed a server recently and have been playing on version 0.15.16 with no issues.
My client automatically updated to 0.15.18 so I am looking to update the server without having to reinstall it from scratch.
I edited
Code: Select all
/config/config.ini
Code: Select all
'enable-experimental-updates'
Code: Select all
0.268 Info Updater.cpp:751: Downloading https://updater.factorio.com/get-available-versions?username=XXXXXXXXXXXX&token=<private>&apiVersion=2
0.788 Some core updates would be reachable if experimental updates were enabled.
0.789 0 packages available to download (experimental updates disabled).
Code: Select all
/config/config.ini
I then copied config.ini to a different directory and launched the server adding it's path using
Code: Select all
-c [ --config ] PATH
I'm using
Code: Select all
sudo runuser -l factorio -c "/opt/factorio/bin/x64/factorio --server-settings /opt/factorio/data/server-settings.json --start-server-load-latest --port 34197"
As this wasn't working, I then tried to update manually by adding
Code: Select all
--apply-update /home/factorio/factorio_headless_x64_0.15.18.tar.xz
Code: Select all
2.144 Info Updater.cpp:382: Applying update /home/factorio/factorio_headless_x64_0.15.18.tar.xz
2.144 Error Util.cpp:62: Error opening update package: Opening zip /home/factorio/factorio_headless_x64_0.15.18.tar.xz failed: Bad zip file
2.152 Goodbye
Code: Select all
https://updater.factorio.com/get-available-versions?username=MYUSERNAME&token=MYTOKEN&apiVersion=2
So, if anyone can explain how i can a) enable automatic updates of experimental releases or b) provide a link to where i can get the update files from manually then I'm sure my problems will be fixed. I'm not running any mods. Thanks in advance...