-
Notifications
You must be signed in to change notification settings - Fork 411
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
Clearing users.xml while creating user #664
Comments
What do you mean when you say create a user, through the UI or on startup with env variables? |
You need to add a persistent mount like
Because in Kubernetes, restarting a pod, recreates a new container with new params whilst in docker-compose a restart is different as it just restarts the running instance |
Thank you for the solution it worked |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is the bug or the crash?
I have deployed the geoserver in Kubernetes and whenever I create a user it clear the users.xml file as it will be empty and geoserver will start crashing due to that. I have configured EFS volume for persistent storage.
Steps to reproduce the issue
deployed the geoserver in EKS cluster with EFS storage for persistence storage, created a user and if the geoserver pod restart it will clear the users.xml file.
Versions
2.25.0
Additional context
I have faced the same issue in 2.22.1 version as well
The text was updated successfully, but these errors were encountered: