Page 1 of 1

Crash upon running headless server with Space Age

Posted: Sun Jul 20, 2025 11:19 am
by CJCWIS
Should preface this all by saying:
Since there's no guide on how to run a headless server with Space Age, I dragged the elevated-rails, quality, and space-age folders from the ./Factorio/data/ folder (from my main install) to the headless server, and also enabled them using mod-list.json. I have no idea if this is the right way to do this. Would either like a guide on how to install Space Age on a headless server (if I did something wrong), or any possible solution for my crash. Thank you.

OS: Windows 10
Factorio version: 2.0.60
Space Age (and all other optional add-ons) version: 2.0.60

I ran my startup script, and the server immediately crashes. This only happens with Space Age and its related dependencies enabled. I expected the server to boot up into the world I provided (this crash still happens even on a different world). It always happens, even after a reboot.

My startup script:

Code: Select all

start /wait .\bin\x64\factorio.exe --start-server-load-latest --server-settings .\server-settings.json
pause

Re: Crash upon running headless server with Space Age

Posted: Sun Jul 20, 2025 1:10 pm
by robot256
The headless server build already includes the DLC files, so no copying is necessary. Just create a Space Age save file on your client, same the map, and transfer it to the headless server saves directory. It will automatically load the DLC when it detects it in the save. (At least that's how it worked for me.)

Re: Crash upon running headless server with Space Age

Posted: Sun Jul 20, 2025 1:53 pm
by Loewchen
Well, there is no headless build on windows, you need to use the standard space age install and run that in headless mode.

Re: Crash upon running headless server with Space Age

Posted: Sun Jul 20, 2025 5:34 pm
by Rseding91
The log says “device or resource busy” as the crash reason, but much is odd but maybe indicates that you already have the game open when trying to start the server with the same write data directory?