Omitting --homedir
results in server not finding modules
#4958
Labels
Category: Crash
Requests, Issues and Changes targeting unexpected terminations, segfaults, etc.
Status: Needs Investigation
Requires to be debugged or checked for feasibility, etc.
Topic: Stabilization
Requests, Issues and Changes related to improving stablity and reducing flakyness
What you were trying to do
Start a headless server and override its default configuration.
./gradlew server --args="--override-default-config=override.cfg"
What actually happened
The server failed to start the game.
How to reproduce
./gradlew server
and notice that the server starts successfully[main] INFO o.t.e.n.internal.NetworkSystemImpl - Started server on port 25777
./gradlew server --args="--override-default-config=override.cfg"
and notice that it cannot find modules and fails to start[main] WARN o.t.e.c.m.loadProcesses.RegisterMods - Missing at least one required module (or dependency) from the following list: [BiomesAPI, Thirst, StructureTemplates, Furnishings, CoreRendering, AnotherWorld, Health, CoreSampleGameplay, Inventory, Explosives, CoreWorlds, CoreAdvancedAssets, Drops, StructuralResources, AnotherWorldPlants, engine, ClimateConditions, AlterationEffects, Fluid, CoreAssets, PlantPack, GrowingFlora]
./gradlew server --args="--override-default-config=override.cfg --homedir terasology-server"
and notice that the server starts successfullyWorkaround
Specify the home directory with
--homedir
Additional Context
Note, that you may need to take additional actions due to #4956 and #4957
The text was updated successfully, but these errors were encountered: