add new mod to headless server save

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.
dakkar
Burner Inserter
Burner Inserter
Posts: 11
Joined: Thu May 05, 2016 6:09 pm
Contact:

add new mod to headless server save

Post by dakkar »

Hello

I have a headless server running and its working fine with some mods.
Now i want to add a new mod. When connecting to the server I get the sync dialog, but i can not tick the checkbox with the new mod in order to sync/activate it.
The serverlog itself states nothing about the new added mod.
the installed addons:

Code: Select all

AutoDeconstruct_0.1.12.zip
DiscoScience_0.1.14.zip
FARL_3.1.15.zip
LogisticTrainNetwork_1.11.6.zip
mod-settings.dat                                                                                                                                                                                                  
Squeak Through_1.4.0.zip
Todo-List_17.3.0.zip
The log of the server:

Code: Select all

factorio_1  |    0.000 2019-12-02 12:48:52; Factorio 0.17.79 (build 47865, linux64, headless)                                                                                                                    
factorio_1  |    0.000 Operating system: Linux                                                                                                                                                                   
factorio_1  |    0.000 Program arguments: "/opt/factorio/bin/x64/factorio" "--start-server-load-latest"                                                                                                          
factorio_1  |    0.000 Read data path: /opt/factorio/data                                                                                                                                                        
factorio_1  |    0.000 Write data path: /opt/factorio [2509651/2810981MB]                                                                                                                                        
factorio_1  |    0.000 Binaries path: /opt/factorio/bin                                                                                                                                                          
factorio_1  |    0.009 System info: [CPU:         Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz, 8 cores, RAM: 31858 MB]                                                                                               
factorio_1  |    0.009 Environment: DISPLAY=<unset> WAYLAND_DISPLAY=<unset> DESKTOP_SESSION=<unset> XDG_SESSION_DESKTOP=<unset> XDG_CURRENT_DESKTOP=<unset> __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>                                                                                                                                          
factorio_1  |    0.009 Running in headless mode
factorio_1  |    0.018 Loading mod settings FARL 3.1.15 (settings.lua)

factorio_1  |    0.018 Loading mod settings AutoDeconstruct 0.1.12 (settings.lua)
factorio_1  |    0.019 Loading mod settings Squeak Through 1.4.0 (settings.lua)
factorio_1  |    0.019 Loading mod settings Todo-List 17.3.0 (settings.lua)
factorio_1  |    0.020 Loading mod core 0.0.0 (data.lua)
factorio_1  |    0.076 Loading mod base 0.17.79 (data.lua)
factorio_1  |    0.310 Loading mod FARL 3.1.15 (data.lua)
factorio_1  |    0.438 Loading mod Todo-List 17.3.0 (data.lua)
factorio_1  |    0.543 Loading mod base 0.17.79 (data-updates.lua)
factorio_1  |    0.647 Loading mod FARL 3.1.15 (data-updates.lua)
factorio_1  |    0.750 Loading mod Squeak Through 1.4.0 (data-updates.lua)
factorio_1  |    0.852 Loading mod FARL 3.1.15 (data-final-fixes.lua)
factorio_1  |    0.956 Loading mod DiscoScience 0.1.14 (data-final-fixes.lua)
factorio_1  |    1.071 Checksum for core: 2035938594
factorio_1  |    1.071 Checksum of base: 4156627525
factorio_1  |    1.071 Checksum of FARL: 677650815
factorio_1  |    1.071 Checksum of AutoDeconstruct: 2582707891
factorio_1  |    1.071 Checksum of DiscoScience: 2020706560
factorio_1  |    1.071 Checksum of Squeak Through: 2042158127
factorio_1  |    1.071 Checksum of Todo-List: 3182550957
factorio_1  |    1.288 Prototype list checksum: 3758668089
factorio_1  |    1.318 Info PlayerData.cpp:70: Local player-data.json unavailable
factorio_1  |    1.318 Info PlayerData.cpp:75: Cloud player-data.json unavailable
factorio_1  |    1.320 Factorio initialised
When connecting to the server:
Image
Loewchen
Global Moderator
Global Moderator
Posts: 9148
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: add new mod to headless server save

Post by Loewchen »

You need to install the new mods on the server and load the save, connecting clients can then synchronize the mods if available on the mod portal.
You seem to have installed the new mods on your client but not on the server instead.
dakkar
Burner Inserter
Burner Inserter
Posts: 11
Joined: Thu May 05, 2016 6:09 pm
Contact:

Re: add new mod to headless server save

Post by dakkar »

nope, the "ls" from above is from the server.

Code: Select all

/opt # ls -al /opt/factorio/mods/
total 1860
drwxr-xr-x    2 root     root          4096 Dec  2 15:10 .
drwxr-xr-x    1 root     root          4096 Dec  2 15:10 ..
-rw-r--r--    1 root     root         51205 Nov 28 14:38 AutoDeconstruct_0.1.12.zip
-rw-r--r--    1 root     root       1108359 Nov 28 14:38 DiscoScience_0.1.14.zip
-rw-r--r--    1 root     root        445907 Nov 28 14:38 FARL_3.1.15.zip
-rw-r--r--    1 root     root        195313 Dec  2 12:48 LogisticTrainNetwork_1.11.6.zip
-rw-r--r--    1 root     root         39684 Nov 28 14:38 Squeak Through_1.4.0.zip
-rw-r--r--    1 root     root         44533 Nov 28 14:38 Todo-List_17.3.0.zip
-rw-r--r--    1 root     root           552 Dec  2 15:10 mod-settings.dat
Bilka
Factorio Staff
Factorio Staff
Posts: 3309
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: add new mod to headless server save

Post by Bilka »

You need to install the dependency of the mod on the server:
Image
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
dakkar
Burner Inserter
Burner Inserter
Posts: 11
Joined: Thu May 05, 2016 6:09 pm
Contact:

Re: add new mod to headless server save

Post by dakkar »

omg that'S the solution. thanks a lot!
Post Reply

Return to “Technical Help”