-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
AUTO_CURSEFORGE - Error after backup restores #3328
Comments
Ah that's because the Could also temporarily set CF_FORCE_REINSTALL_MODLOADER to true. |
oh wow! I was not expecting such a quick response. Only because I'm sure you're a busy person with all the awesome repos you keep up with. Adding CF_FORCE_REINSTALL_MODLOADER to the values.yaml and deployment.yaml appear to have fixed the issue. This indeed reinstalls forge on every reboot of the pod which prevents any issues of missing files. I like this because it will keep the backups size smaller as it doesn't need to store all the mods and forge files as long as it has the manifest and minecraft data files, we are good to go. Thank you @itzg What are your thoughts on adding that force reinstall env var as an option in the helm charts going forward? |
Glad to hear that helped. As for the helm chart, there already is support for any of the env vars via https://github.com/itzg/minecraft-server-charts/blob/master/charts/minecraft/values.yaml#L421 The chart has become bloated with too many specialized options that hinder maintainability, so that extraEnv is the path going forward. |
That makes sense. I'll stick to the extraEnv |
A clean setup works great. If the application is removed and added back fresh but there is a backup that can be restored, it will fail every time in the main pod/container.
This creates a crashloopback and the server never starts up.
My guess is the restore of the backup is lacking some data that it doesn't know what to do. I think it might be fixed if we could force a reinstall of the forge mod loader every time it boots up. Takes longer to boot but its worth it.
Could also tackle the issue of the possible missing files that don't get backed up. I turned off any exclusions by the way. So it should be getting everything from /data and it looks like it does when I compare the data.
The text was updated successfully, but these errors were encountered: