Modsync failing to remove empty folders properly with enforced sync
when I removed sain and questingbots from my synced plugins folder because they were migrated to the dedi client using an enforced sync on the bepinex/plugins folder it constantly brings up this screen when launching the game and when clicking continue is not able to actually delete those folders and the client cannot log into the game. I'm not sure why those specific folders can't be removed(maybe because they are subfolders?)
Appreciate the report! Could you run through this again (click continue and let it do it's thing), then restart and send me the ModSync_Data/ModSync.log file?
I'd also love to see your server-side config.jsonc.
Thanks!
I will find a time when people are not actively playing on my home server(lots of roomates and friends) and rerun this experiment, Sadly the only way to get it to remove unsupported mods is with an enforced sync and that means kicking everyone off the server, reboot the server, enforced sync, reboot the server AGAIN, and set it back to normal because it means anyone with a sync problem like this can't log into the game. I would LOVE an option to do the enforced sync algorithm with a "skip for now" button like the regular update so i can do periodic "forced" updates without bricking people's game especially since there's no other way for me to remove unsupported mods from clients(which is the feature i would really like to see)
So I added the same set of mods to be removed, started the server with the following config.jsonc which is the exact same as our regular config.jsonc other than enforced set to true on the plugins folder
started the client and hit continue to remove the extra mods, modsync generated the following log after hitting continue
restarted the game, same result
modsync generates the following RemovedFiles.json
I hit continue and exit game, generating the following log and get stuck in the same infinite loop
and for added context our specific use case is that we are now running a dedicated client so I am trying to automatically remove all the unnecessary AI mods from the clients
This ended up being an issue where enforced was used but not all client-created files were present/excluded on the server. Solution is adding a server-side exception for the two files that were repeatedly deleted and regenerated.