-
Notifications
You must be signed in to change notification settings - Fork 5
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
GEOSERVER admin password seems not be updated #39
Comments
I tried the removal of the |
Hi @jkariukidev
That is expected. Have you locally validated our idea that (prior to the fixtire removal) the password was only changed the very first time and not from then onwards? If so you can send a merge request to remove the fixture |
I have locally validated the idea. Pull request is here |
@jkariukidev regarding the PRs, please follow the checks inside the template that is presented when you create a new PR.
Please do the above steps, thanks. |
Internal clone issue for the sibling in the official GeoNode fork GeoNode#209
I'll summarize here our findings and the way forward
In
geonode-project
we have two envionment variables in the.env
that defint the username and password of the administrator user in GeoServer. There is a logic in geonode that should allow the user to override the geoserver administrator password based on the value ofGEOSERVER_ADMIN_PASSWORD
in the.env
file but apparently is not working as expected.What we observe is that it only works in a very specific use case, i.e. the current password is set to the default
geoserver
and has not been changed yet. If the current password is anything butgeoserver
the REST request sent to geoserver to change the password does not work (all REST calls to geoserver require authentication).Our current understanding is that this logic (implemented in entrypoint -> geoserverfixture -> _geoserver_info_provision) is concaptually wrong because is trying to set the new password based on the content of the
.env
file but in order to do that it needs to know what the old password is and that is not tracked in the.env
fileThe goal of this task it to validate the above and create a PR to remove the fixture which is conceptually wrong
The text was updated successfully, but these errors were encountered: