[midPoint] backup and restore issue

Yann Vernette yann.vernette at grenoble-inp.fr
Thu Oct 24 15:36:37 CEST 2024


Hello, 

On my computer, I have 2 instances of midPoint (4.8). 

Each of them comes from a docker compose and are identical except for the server port to the host (8080 and 8081). 

In production instance I have created an HR resource connected to .CSV file (from mP book sample) and done stuff to import and create person users in mP. 

Before backup and restore operations, I can authenticate as administrator. 

These instances reflect a two-environment architecture (pre-production and production). 

I want to make a backup of the production instance and import it into the pre-production instance. 

By making the archives of the data and home volumes of the production instance then placing them in the pre-production volumes I have the following result: By logging in as administrator on the pre-production instance, authentication fails. 

The staging container logs indicate the following message : 

midpoint_server-1 | 2024-10-24 12:57:54,780 [] [http-nio-8080-exec-9] ERROR (com.evolveum.midpoint.authentication.impl.evaluator.CredentialsAuthenticationE 
valuatorImpl): Error dealing with credentials of user "administrator" credentials: No key mapped to key digest +DP8EV64FhbtyDpCpT5r21yI9/c= could be found i 
n the keystore. Keys digests must be recomputed during initialization 

The behavior is identical if I dump into the production container and then do psql -f in the pre-production container. 

I specify that I did not modify the keystore.jceks file. 

Is it a way to recompute keys digests during initialization ? Or I miss something else ? 

Thanks for your help, 
Best regards, 

Yann 

--- 
Yann Vernette 
Concepteur - développeur / DSI - ADA (architecture - développements - applications) 
Tél +33 (0)4 76 5 7 47 73 
En télétravail mer. matin et vendredi 
Mer. après-midi non travaillé 
Grenoble INP - UGA 
Institut d'ingénierie et de management / Graduate Schools of engineering and management 
46 av. Félix Viallet - 38031 Grenoble | [ https://www.grenoble-inp.fr/ | https://www.grenoble-inp.fr ] 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20241024/9032f9d8/attachment.htm>


More information about the midPoint mailing list