Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Omitting --homedir results in server not finding modules #4958

Open
jdrueckert opened this issue Nov 20, 2021 · 0 comments
Open

Omitting --homedir results in server not finding modules #4958

jdrueckert opened this issue Nov 20, 2021 · 0 comments
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

Comments

@jdrueckert
Copy link
Member

jdrueckert commented Nov 20, 2021

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

  1. Run ./gradlew server and notice that the server starts successfully
    [main] INFO o.t.e.n.internal.NetworkSystemImpl - Started server on port 25777
  2. Stop the server
  3. Run ./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]
  4. Run ./gradlew server --args="--override-default-config=override.cfg --homedir terasology-server" and notice that the server starts successfully

Workaround

Specify the home directory with --homedir

./gradlew server --args="--override-default-config=override.cfg --homedir terasology-server"

Additional Context

Note, that you may need to take additional actions due to #4956 and #4957

@jdrueckert jdrueckert added 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 Category: Crash Requests, Issues and Changes targeting unexpected terminations, segfaults, etc. labels Nov 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant