Server Won't Start
Symptoms
Section titled “Symptoms”flowlayer-serverexits immediately.- You see a usage error before any service starts.
- No startup plan is printed.
Likely causes
Section titled “Likely causes”- config path is wrong
- both
-cand--configwere passed - too many positional arguments were passed
- config contains unknown or invalid fields
- at least one service has missing or invalid
cmd - dependency graph is invalid (cycle or unknown dependency)
-sbind address is invalid or already in use
Resolution
Section titled “Resolution”- Start with the simplest valid command:
flowlayer-server -c ./flowlayer.jsonc- If the file path is correct, ensure you are not mixing config selectors:
- use
-c <path>or--config <path>, not both - or pass one positional config path
- Validate the config shape:
- every service needs a non-empty
cmd - every
dependsOntarget must exist - remove unknown fields
- If session API is enabled, validate the bind:
flowlayer-server -c ./flowlayer.jsonc -s 127.0.0.1:6999 -token dev-token-
If startup fails with dependency errors, check Dependency Cycle.
-
If startup reaches runtime but clients fail, check TUI Cannot Connect.
Fast checks
Section titled “Fast checks”config file not foundmeans the selected file path is wrong.use either -c or --config, not bothmeans flag conflict.too many positional argumentsmeans more than one loose path was passed.dependency cycle detected among servicesmeans graph planning failed before runtime.