Multiplayer help - sync mods with server issue. default install

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.
carefreepineapple
Burner Inserter
Burner Inserter
Posts: 5
Joined: Tue Jan 07, 2025 7:19 am
Contact:

Multiplayer help - sync mods with server issue. default install

Post by carefreepineapple »

Just purchased factorio and downloaded the 2.0.28 dmg.

I also setup a headless server running factorio-headless_linux_2.0.28.tar.xz on ubuntu 24.04 lts.

when i connect to the server via local lan ip, it comes back with a message:
Sync mods with server. I click confirm, it relaunches the game, but comes right back to the same message.
01-07-2025, 02-34-43.png
01-07-2025, 02-34-43.png (23.98 KiB) Viewed 305 times
01-07-2025, 02-25-28.png
01-07-2025, 02-25-28.png (95.11 KiB) Viewed 307 times
everything is vanilla. I copied the server-settings.example.json to server-settings.json and just adjusted a few options. I did not add anything.

The only thing that may be slightly out of the ordinary is that I copied my save game file from the demo that I was playing before I purchased. I copied that file into the saves directory: factorio/saves

i dont see anything of value in the log file

Code: Select all

~$ /opt/wube/factorio/logs$ cat factorio.log
=== Log opened 2025-01-07 07:09:11 ===
~$
I have an ansible playbook that I created for the installation if someone thinks there is a problem there. the service seems to be running fine, port 34197 is open and listening, i dont have a problem connecting, just getting past the sync message.
Loewchen
Global Moderator
Global Moderator
Posts: 9730
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Multiplayer help - sync mods with server issue. default install

Post by Loewchen »

You set up a Space age server and it looks like you are trying to connect to it with a client that does not have the Space age expansion.
carefreepineapple
Burner Inserter
Burner Inserter
Posts: 5
Joined: Tue Jan 07, 2025 7:19 am
Contact:

Re: Multiplayer help - sync mods with server issue. default install

Post by carefreepineapple »

awesome. is there a download link for factorio headless that is not space age? I only see 1 download link for headless on the downloads page
Loewchen
Global Moderator
Global Moderator
Posts: 9730
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Multiplayer help - sync mods with server issue. default install

Post by Loewchen »

Disable the expansion mods by setting them to "enabled": false in the mod-list.json.
carefreepineapple
Burner Inserter
Burner Inserter
Posts: 5
Joined: Tue Jan 07, 2025 7:19 am
Contact:

Re: Multiplayer help - sync mods with server issue. default install

Post by carefreepineapple »

thanks. I tried doing that and set the following:

Code: Select all

{
  "mods":
  [

    {
      "name": "base",
      "enabled": true
    },

    {
      "name": "elevated-rails",
      "enabled": false
    },

    {
      "name": "quality",
      "enabled": false
    },

    {
      "name": "space-age",
      "enabled": false
    }
  ]
}

the minute I restart the factorio service, it changes them all back to true.
Loewchen
Global Moderator
Global Moderator
Posts: 9730
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Multiplayer help - sync mods with server issue. default install

Post by Loewchen »

You need to stop the server before editing the file.
carefreepineapple
Burner Inserter
Burner Inserter
Posts: 5
Joined: Tue Jan 07, 2025 7:19 am
Contact:

Re: Multiplayer help - sync mods with server issue. default install

Post by carefreepineapple »

absolutely. and i'm doing far more than that, i'm recreating the server with ansible.

upon initial creation and before first start, they are set to false.
I can start the service and see its still set to false, however once I try to connect it still complains about the mods. then I restart the service, without changing anything in the mod-list.json file, its all still set to false, and it all pops back to true.

does the service need to go through an initial start before I change mod-list.json?

another thing is that it does not like False instead of false. if I use capital F, it reverts back to true.
carefreepineapple
Burner Inserter
Burner Inserter
Posts: 5
Joined: Tue Jan 07, 2025 7:19 am
Contact:

Re: Multiplayer help - sync mods with server issue. default install

Post by carefreepineapple »

that seems to have done it. make sure to do an initial start of the service, wait for it to start up, then stop it, change the file, and start it back up.

sucks that the initial start forcibly overwrites mod-list.json.
Post Reply

Return to “Technical Help”