[Bug]: Failed to write the config to proper location
thousmay opened this issue ยท 7 comments
Mod Loader (Required)
Fabric
Minecraft Version(s) (Required)
1.21.6
Mod Version(s) (Required)
21.6.1 - 21.6.2
Minimal Setup (Required)
No
Notes (Required)
Whenever i start my server with open party and claims mod by thexaero that requires forge config api port mod it crashes the server and based on the server crash log it is trying to save on to the config file twice?? this issue has been reported to the mod owner and he said it is more likely a bug on the forge config api port unless if i tampered with the config file of forge config api port but i never did. Can you please fix it..???
latest.log (Required)
Hello Fuzss thank you for fixing the bug everything works flawlessly ill let you know if the mod is acting weird again but thank you
That area of FCAP port has not changed at all since Minecraft 1.21.5. My guess would be the updated Night Config library (v3.8.1 -> v3.8.2) backing the API is causing this issue.
Can you reproduce the issue on 1.21.5 with the same set of mods?
Hello so i tried the same set of mods in 1.21.5 and everything is working fine here is the server log for the server with 1.21.5 https://mclo.gs/TNrTEjr
Ok, thank you. So here are some things which would be great if you could test for me:
Please install this version of FCAP on 1.21.5. It should crash the same way 1.21.6 does now. https://mega.nz/file/WY81VTZJ#MPLNnkTtTEoirqKgariXn5d9xWpjvLGZ8t8uK-CTOyc
Separately on your 1.21.6 instance install this version. It should no longer crash.
https://mega.nz/file/PFVnjKzY#xDIaNqyjEUhrnTew3LGwVUK7GWcj45ZeunZAxkFhE3w
For both versions please send latest.log and the crash report if there is one.
Thank you!
Ok, scrap that. So this is indeed linked to an issue in Night Config: TheElectronWill/night-config#195
The commit that introduced the issue appears to be this one: TheElectronWill/night-config@cf0debe
I've included a patch in FCAP now that reverts the problematic part of the commit, please try that on 1.21.6 and let me know if it works for you: https://mega.nz/file/yclXnDQJ#q1ElNALwPc83jcbewH0j8yYT3G1GAGsCQ_WHQ2B5aaY
Also if you get another crash please make sure to include both latest.log and the crash report.
Thank you!
Hello sorry for a late reply so i cannot test the mod file that you sent to the server because im using aternos and they dont allow to upload a custom mod through files i also contacted them if they can make an exception but they told me that you have to release the patch to the curseforge
Greetings,
I believe this issue thread is at least related to what I experienced recently, I narrowed the cause down to a conflict with CorgiLib version 1.21.1-5.0.0.4, but the issue was not present in their 1.21.1-5.0.0.3 version. I see that this thread has been linked to an issue over in the night-config mod, but maybe this extra info is helpful?
Here is the issue thread I have created over in the CorgiLib repository: CorgiTaco-MC/CorgiLib#62
That issue also has a link back to an issue I created in the Radical Cobblemon Trainers mod, which was where I thought the bug was occurring before learning more. Here's a link to that thread: https://gitlab.com/srcmc/rct/mod/-/issues/56
Hopefully you're able to access any info you need from those threads but I'll provide other info that I can if needed.