Server startup error: Duplicate mod elevated-rails.

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.
drewmate
Manual Inserter
Manual Inserter
Posts: 3
Joined: Wed May 26, 2021 2:37 pm
Contact:

Server startup error: Duplicate mod elevated-rails.

Post by drewmate »

I've been hosting a server based on the factoriotools docker image for several months with very few issues. Today (I think since the 2.0.55 update) it won't start up and gives me the error:

Code: Select all

Util.cpp:81: Duplicate mod elevated-rails.
I've never seen any duplicate errors before, and have been using the same mod-list.json for a couple months at least (I last played on Monday, so I know it worked then)

mod-list.json:

Code: Select all

{
  "mods": [
    {
      "name": "base",
      "enabled": true
    },
    {
      "name": "elevated-rails",
      "enabled": true
    },
    {
      "name": "quality",
      "enabled": true
    },
    {
      "name": "space-age",
      "enabled": true
    },
    {
      "name": "helmod",
      "enabled": true
    },
    {
      "name": "RateCalculator",
      "enabled": true
    },
    {
      "name": "bobinserters",
      "enabled": true
    },
    {
      "name": "flib",
      "enabled": true
    },
    {
      "name": "Cerys-Moon-of-Fulgora",
      "enabled": false
    },
    {
      "name": "Flare Stack",
      "enabled": true
    },
    {
      "name": "PlanetsLib",
      "enabled": true
    },
    {
      "name": "Todo-List",
      "enabled": true
    },
    {
      "name": "VehicleSnap",
      "enabled": true
    },
    {
      "name": "visible-planets",
      "enabled": false
    }
  ]
}
I have inspected the mods folder, and there is only one copy of the mod there

Code: Select all

-rw-r--r--    1 845      845         837203 Jul  9 22:29 Flare Stack_3.0.6.zip
-rw-r--r--    1 845      845         146200 Jul  9 22:29 PlanetsLib_1.6.3.zip
-rw-r--r--    1 845      845          95993 Jul  9 22:29 RateCalculator_3.3.7.zip
-rw-r--r--    1 845      845          45021 Jul  9 22:29 Todo-List_19.12.0.zip
-rw-r--r--    1 845      845          57832 Jul  9 22:29 VehicleSnap_2.0.2.zip
-rw-r--r--    1 845      845         160587 Jul  9 22:29 bobinserters_2.0.1.zip
-rw-r--r--    1 845      845            476 Jul  9 22:29 elevated-rails_1.1.0.zip
-rw-r--r--    1 845      845         423039 Jul  9 22:29 flib_0.16.3.zip
-rw-r--r--    1 845      845        3532097 Jul  9 22:29 helmod_2.1.16.zip
-rw-r--r--    1 845      845            910 Jul  9 22:30 mod-list.json
-rw-r--r--    1 845      845            486 Jul  9 22:29 space-age_1.1.0.zip
I even cleared out all the mods and restarted the server (and it re-downloaded the above set).

Does anyone know what's going on here? Does it have something to do with the space-age mod and elevated-rails being managed separately? It was my understanding that we needed to list both after the update, but did that change in 2.0.55?

Thanks!
drewmate
Manual Inserter
Manual Inserter
Posts: 3
Joined: Wed May 26, 2021 2:37 pm
Contact:

Re: Server startup error: Duplicate mod elevated-rails.

Post by drewmate »

It seems I didn't do enough research... It looks like this is an issue with the docker image:
https://github.com/factoriotools/factor ... 23168e3932

I guess the fix hasn't been pushed to the images yet. Disabling the mods didn't seem to work, so I guess I just need to wait for the images to update. :(
User avatar
Yodo
Long Handed Inserter
Long Handed Inserter
Posts: 79
Joined: Sat Dec 30, 2023 4:27 pm
Contact:

Re: Server startup error: Duplicate mod elevated-rails.

Post by Yodo »

I get the same error without using Docker, is there a way to solve this? I would like to keep multiple versions of the mod in the mod folder, like you can do with normal mods.
Have you considered using flow routers instead of balancers?
Roboport + Land mines > Behemoth Worm > (Legendary) Flamethrower turret
Rseding91
Factorio Staff
Factorio Staff
Posts: 16427
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Server startup error: Duplicate mod elevated-rails.

Post by Rseding91 »

The engine specifically errors if a duplicate built-in mod is found since that has historically meant a corrupt install and or failed update.

So no, there's no way to have duplicates with different versions.
If you want to get ahold of me I'm almost always on Discord.
User avatar
Yodo
Long Handed Inserter
Long Handed Inserter
Posts: 79
Joined: Sat Dec 30, 2023 4:27 pm
Contact:

Re: Server startup error: Duplicate mod elevated-rails.

Post by Yodo »

Thanks for the reply. I found a workaround by editing the info.json so that one of the mods isn't loaded (insert extra semicolon somewhere).
Have you considered using flow routers instead of balancers?
Roboport + Land mines > Behemoth Worm > (Legendary) Flamethrower turret
Post Reply

Return to “Technical Help”