Cannot load Factorio mods

OS Name/Version: Ubuntu 22.04.1

Product Name/Version: AMP -

Problem Description:

I cannot load mods into my Factorio server. I have uploaded the mods to the correct ‘mods’ folder and I have made sure the config files are in the correct place as well (config>mods>modlist.json). The game does not even seem to register that there are any mods, even though the world I loaded also has the mods. I have also checked for dependencies and incompatibilities, and I am all good on that. What is going on?

2023-05-17 14:44:45; Factorio 1.1.80 (build 60618, linux64, headless)
Operating system: Linux (Ubuntu 22.04)
Program arguments: "/home/amp/.ampdata/instances/XDWFactorioDedicatedServer01/factorio/bin/x64/factorio" "--start-server" "/home/amp/.ampdata/instances/XDWFactorioDedicatedServer01/factorio/./saves/Teams Combat USA-NK-Japan JT MC" "--console-log" "log.out" "--bind" "" "--rcon-port" "7777" "--rcon-password" <private> "--server-settings" "/home/amp/.ampdata/instances/XDWFactorioDedicatedServer01/factorio/data/server-settings.json" "-c" "/home/amp/.ampdata/instances/XDWFactorioDedicatedServer01/factorio/config/config.ini"
Config path: /home/amp/.ampdata/instances/XDWFactorioDedicatedServer01/factorio/config/config.ini
Read data path: /home/amp/.ampdata/instances/XDWFactorioDedicatedServer01/factorio/data
Write data path: /home/amp/.ampdata/instances/XDWFactorioDedicatedServer01/factorio/config [38801/46041MB]
Binaries path: /home/amp/.ampdata/instances/XDWFactorioDedicatedServer01/factorio/bin
System info: [CPU: Intel(R) Pentium(R) 4 CPU 1000MHz, 1 core, RAM: 6922 MB]
Running in headless mode
Loading mod core 0.0.0 (data.lua)
Loading mod base 1.1.80 (data.lua)
Loading mod base 1.1.80 (data-updates.lua)
Checksum for core: 3955387189
Checksum of base: 434889501
Prototype list checksum: 3034860339
Info PlayerData.cpp:71: Local player-data.json available, timestamp 1684170873
Info PlayerData.cpp:78: Cloud player-data.json unavailable
Info GlobalContext.cpp:1249: Resetting config.
Factorio initialised
Info ServerSynchronizer.cpp:29: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
Info ServerMultiplayerManager.cpp:795: updateTick(4294967295) changing state from(Ready) to(PreparedToHostGame)
Info ServerMultiplayerManager.cpp:795: updateTick(4294967295) changing state from(PreparedToHostGame) to(CreatingGame)
Loading map /home/amp/.ampdata/instances/XDWFactorioDedicatedServer01/factorio/./saves/Teams Combat USA-NK-Japan JT MC 55172217 bytes.
Loading level.dat: 140970112 bytes.
Info Scenario.cpp:199: Map version 1.1.80-0

Steps to reproduce:

  • Step 1: Create a new Factorio instance
  • Step 2: Upload a modded world and mods, then reboot the instance
  • Step 3: Try to start the game and connect


Update: I am now getting it to “see” the mods, but it runs into errors:

tack trace logging done
Error FluidBox.cpp:562: float(1 / this->prototype->baseArea) == this->invertedBaseArea was not true
Error CrashHandler.cpp:637: Received 6
Logger::writeStacktrace skipped.
Error Util.cpp:97: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.
Uploading log file
Info SystemUtil.cpp:801: Started /home/amp/.ampdata/instances/XDWFactorioDedicatedServer01/factorio/bin/x64/factorio; trampoline PID: 180166
Error Util.cpp:83: Couldn't acquire exclusive lock for
/home/amp/.ampdata/instances/XDWFactorioDedicatedServer01/factorio/config/.lock: Resource temporarily unavailable.
Is another instance already running?