Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
https://github.com/GameServerManagers/LinuxGSM/blob/master/lgsm/functions/update_factorio.sh
Theres a function called "fn_update_factorio_availablebuild()". In that command is a check for the current build from the following url "https://www.factorio.com/download-headless/stable".
You might be able to change "stable" to "experimental" so that its checking the experimental branch.
By default, $branch is set to "stable" in ~/lgsm/config-lgsm/fctrserver/_default.cfg, but it can be overridden by editing the fctrserver.cfg file in the same directory.
So until it changes again, you could just open a terminal and enter:
This should put you back on the bleeding edge of headless Factorio after running ./fctrserver update :D
TO make more sence, i would:
1. fctrserver backup
2. manually clean out the folder lgsm/tmp
3. run fctrserver update
If that didnt work, i would goto tmp and manually tar the latest experimental and chmod. And try install again, afterwhich i would need to take from backup the save and fctrserver.cfg
I don't really have a way of testing any further, but adding that variable to the config file made the update command swap in the latest experimental release.
Also after some further setup/config I ended up adding
Anyway, hope that helps for the next update!
Status: OFFLINE
fctrserver@NAStradamus:~$ ./fctrserver update
fetching command_update.sh...OK
[ .... ] Update fctrserver: fetching check_system_dir.sh...OK
fetching logs.sh...OK
[ERROR ] Update fctrserver: Checking for update: factorio.com: Current build version not found
[ INFO ] Update fctrserver: Checking for update: factorio.com: Forcing server restart
fetching command_stop.sh...OK
[ .... ] Stopping fctrserver: fetching check_config.sh...OK
[ INFO ] Stopping fctrserver: Factorio Server is already stopped
fetching command_start.sh...OK
[ .... ] Starting fctrserver: Factorio Server fetching check_executable.sh...OK
[ OK ] Starting fctrserver: Factorio Server
[ OK ] Update fctrserver: Checking for update: factorio.com
No update available:
Current version: 0.14.23
Available version: 0.14.23
[ OK ] Update fctrserver: No update available
fctrserver@NAStradamus:~$ echo branch=\"experimental\" >> ~/lgsm/config-lgsm/fctrserver/fctrserver.cfg
fctrserver@NAStradamus:~$ ./fctrserver update
[ OK ] Update fctrserver: Checking for update: factorio.com
Update available:
Current build: 0.14.23 linux64
Available build: 0.15.28 linux64
Applying update...
[ OK ] Stopping fctrserver: Graceful: CTRL+c: 2: OK
[ OK ] Stopping fctrserver: Factorio Server
######################################################################## 100.0%
downloading factorio_headless_linux64-0.15.28.tar.gz...OK
extracting factorio_headless_linux64-0.15.28.tar.gz...tar (child): xz: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
FAIL
fctrserver@NAStradamus:~$
This didn't work for me, as the quotes were taken literally and passed into the curl query. This worked for me: