-
Notifications
You must be signed in to change notification settings - Fork 9
Service ID Dashboard
No license.
This system is obsolete and being replaced by Keycloak
ID Dashboard allows user creation. It allows SSO for talk (atlas is not working, helpdesk we stopped using it). It keeps a copy of users in OpenLDAP and MongoDB. When modifying a user via formage, it will update both MongoDB and OpenLDAP.
https://wiki.openmrs.org/x/6YCtBQ https://wiki.openmrs.org/x/9oXKB
It means the user didn't login to ID since Jan/2019. Ask the user to to login again to ID, using anonymous mode or a new device.
https://talk.openmrs.org/t/fixed-itsm-4118-users-not-in-formage/21296
Seems to have happened twice. You can see in nginx logs that the backend just never return the requests for POSTs. There are no obvious errors in ID logs.
If there was a network interruption, just restart ID.
cd /root/docker/id
docker-compose restart id-web
Add LOG_LEVEL=trace
to the docker environment variables. Omitting this will force it to only at the info
level.
ssh id.openmrs.org
docker exec -it id_mongodb_1 bash
mongo
use openmrsid
# Find by username
db.users.findOne({username: 'cintiadr'})
# Count all users
db.users.find().size()
# Count all pending confirmation users
db.users.find({inLDAP: false} ).size()
# Count users with CreateAt field that exists in LDAP
db.users.find({ $and: [ {createdAt: { $exists : true }},{inLDAP: true} ]}).size()
# Count users with CreateAt field that exists in LDAP starting with letter A
db.users.find({ $and: [ {username:{$regex: /^a/}},{createdAt: { $exists : true }},{inLDAP: true} ]}).size()
# Find all groups in mongodb
for (i=0; i < db.groups.find().size(); i++) { text += " " + db.groups.find()[i].groupName }
/data/docker/volumes/id_id-logs/_data
Read this before updating this wiki.