Forge Config API Port

Forge Config API Port

37M Downloads

[Crash]: Failure to write config on server, causing fatal crash. Linux

eliander09 opened this issue · 3 comments

commented

Mod Loader (Required)

Fabric

Minecraft Version(s) (Required)

1.21.4

Mod Version(s) (Required)

Forge Config API: v21.4.1
Easy Magic: v21.4.1
Easy Anvil: v21.4.1
Stoneworks: v21.4.0

Minimal Setup

No

Notes (Required)

  1. Launch server with mods
  2. Server fails to fully start

It may be a mod conflict due to a minimal setup working perfectly, however the logs or crash report don't mention a suspect.
Night config may be misconfigured for linux causing config write to fail.
Same error probably occurs for every mod using the api.

Provided crash report only contains the "iteminteractions" mod due to the server not providing one when the other mods that require the api are present. Weirdly enough, iteminteractions only show up in logs when the other mods aren't present.

First log file with Easy Anvil, Easy Magic and Stoneworks: https://gist.github.com/eliander09/ee21a7c8fa21448ee9eca8c54d1110db
Second log file with only forge config api: https://gist.github.com/eliander09/e0950aaa8f094f8c03381d7fcdb957df

Crash Report (Required)

https://gist.github.com/eliander09/37cc4ff1c6d2ac354f5ab3b3c6a4b955

latest.log (Optional)

No response

commented

Experiencing the same exact crash on my fabric 1.21.1 server. Unable to use any Forge Config API mods without any clear hints in the logs.

commented

🎉 Temporary solution to the issue, managed to get all my mods working.

1. Go to the server root folder, where your jar, mods folder etc. are.
2. Create ./config/config folder. (mkdir -p <server_dir>/config/config)

3. If you got any mods that have their config inside a nested folder, like Regions Unexplored:
Make sure its structure is duplicated like that: <server_dir>/config/mod_folder/config/mod_folder.

In the case of Regions Unexplored, I had this structure: <server_dir>/config/regions_unexplored/config/regions_unexplored.

4. Restart your server and enjoy!

This is quite a weird and messy solution, but I guess there's some mod that's messing the working directory for Forge Config API Port. I'm still testing everything, but things look promising and stable. Hope this helps someone.

P.S.
The same can be seen with WATUT mod's CoroUtil dependency.

commented

This is tracked with more info in #84 now.