[Geoserver-users] geoserver upgrade - login fail

Dear all,

I just upgraded my geoserver instance from 2.13 to 2.19.2 and I can’t login anymore. The error message is :

  • Invalid username/password combination.

Nothing comes out in the logs.

I transferred the data directory to the new geoserver and all my layers can be previewed. If I check the file ./geoserver/data/security/usergroup/default/users.xml I can still see all the registered users.

What am I missing? Are there an additional steps to perform for a successful update?

Thanks for your help.

Best regards,

···
-- 
Nicolas de Ville
Belgian Marine Data Centre (BMDC)
OD-Nature, Royal Belgian Institute of Natural Sciences
02/627.42.79
[www.bmdc.be](http://www.bmdc.be)
[https://metadata.naturalsciences.be/](https://metadata.naturalsciences.be/)

That’s one big jump… thinking out loud, it might be related to the JDK used in the two cases.
The JDK contains the cryptography routines, maybe in one you had the strong crypto installed,
and in the other you don’t? However, recent versions of OpenJDK should have the strong cryptography built-in…

Cheers
Andrea

···

Regards,

Andrea Aime

==
GeoServer Professional Services from the experts!

Visit http://bit.ly/gs-services-us for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions Group
phone: +39 0584 962313

fax: +39 0584 1660272

mob: +39 333 8128928

https://www.geosolutionsgroup.com/

http://twitter.com/geosolutions_it


Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail

If I check the file ./geoserver/data/security/usergroup/default/users.xml I can still see all the registered users.

If all else fails you can reset the admin password in that file to plain text and then update all (including admin) passwords from the GUI (that should then use the new encryption algo).
see eg. https://geoserver-users.narkive.com/rDV1AUhb/forgot-the-geoserver-login-password#post2

···

Disclaimer;
This message is just a reflection of what I thought at the time of sending. The message may contain information that is not intended for you or that you don’t understand.

Dear all,

Thank you for your replies.

Downgrading to version 2.18.5 seems to solve the password issue. I’ll try your solution of admin password reset with newer version.

Best regards ,

Nicolas de Ville

···

On 15/10/2021 13:39, Mark Prins wrote:

If I check the file ./geoserver/data/security/usergroup/default/users.xml I can still see all the registered users.

If all else fails you can reset the admin password in that file to plain text and then update all (including admin) passwords from the GUI (that should then use the new encryption algo).
see eg. https://geoserver-users.narkive.com/rDV1AUhb/forgot-the-geoserver-login-password#post2

Disclaimer;
This message is just a reflection of what I thought at the time of sending. The message may contain information that is not intended for you or that you don’t understand.

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: [http://www.ianturton.com/talks/foss4g.html#/](http://www.ianturton.com/talks/foss4g.html#/)
- The GeoServer user list posting guidelines: [http://geoserver.org/comm/userlist-guidelines.html](http://geoserver.org/comm/userlist-guidelines.html)

If you want to request a feature or an improvement, also see this: [https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer](https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer)

[Geoserver-users@lists.sourceforge.net](mailto:Geoserver-users@lists.sourceforge.net)
[https://lists.sourceforge.net/lists/listinfo/geoserver-users](https://lists.sourceforge.net/lists/listinfo/geoserver-users)

-- 
Nicolas de Ville
Belgian Marine Data Centre (BMDC)
OD-Nature, Royal Belgian Institute of Natural Sciences
02/627.42.79
[www.bmdc.be](http://www.bmdc.be)
[https://metadata.naturalsciences.be/](https://metadata.naturalsciences.be/)