User accounts available in couchdb but not working

Hi ,
I have been facing a challenge of user accounts being available in the couchdb _users database but not available in the admin side in the frontend.



But this same user is not available in the frontend on the admin side.

Their credentials login but this is what is displayed.

What could be causing this. This happened after replication of user accounts with the same role vht

Hi @Edwin

In the CHT, a user account has two components, one in the _users database, and one in the medic database, and both are required.
How did you create this user?

1 Like

Hi @diana

Thankyou for the prompt response.

We did both a medic database and _user replication. These are users what we brought in from another instance with their data.

Can you please check whether or not you have the corresponding docs in both databases?

Hi @diana
Thankyou for your Help. The accounts finally showed up.

The was because the data replication was not complete. So i did a data replication afresh of the medi database this time initiated from the Target and not the source.

2 Likes