Page 1 of 1

[Solved] Change mods on headless server [0.16.51]

Posted: Thu Aug 01, 2019 2:39 pm
by CybranII
I'm running a x64 headless Factorio server (version 0.16.51) on Linux. The server is running a map (originally created on a client) and uses a single mod without any problems.

Recently, I decided to update the mod used and add an additional mod. To do so, I

1. Stopped the server
2. Deleted the old mod's .zip file from the server's mod directory
3. Copied the .zip files of the updated mod and of the new mod to the same directory
4. Started the server, using /opt/factorio/bin/x64/factorio --start-server-load-latest --server-settings /path-to-factorio-data/settings/server-settings.yml

After doing so, no mods were loaded by the server. The mods do not appear in the server log. Attempting to connect to the server will fail with a mod mismatch error, saying the mods are not on the server.

Am I missing something?

I have previously changed the mods client-side, without any problems, loading the map and playing with these mods is working flawlessly. I also tried saving the map on the client (with updated mods) and transferring and loading this updated save on the server, without success.

Re: Change mods on headless server [0.16.51]

Posted: Fri Aug 02, 2019 12:55 am
by Loewchen
Post the log.

Re: Change mods on headless server [0.16.51]

Posted: Fri Aug 02, 2019 10:05 am
by CybranII
Added logs before & after the mod change

Re: Change mods on headless server [0.16.51]

Posted: Fri Aug 02, 2019 10:20 am
by CybranII
I have figured it out - the updated version of LTN I tried to install was not compatible with Factorio 0.16 (it was for 0.17 instead), the other mod had a dependency on LTN and was therefore not loaded. Using the correct mod version fixed the issue. A log entry indicating the incompatibility would have been nice though ;)