-
Notifications
You must be signed in to change notification settings - Fork 0
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
invalidating cached credentials for all users after 4.x and verify shows medic-user-<uname>-meta db's as never passing checks #16
Comments
Okay, I re-ran another upgrade using an original copy of that dataset in the above post. I can verify never moving data, not touching it at all and when launching 4.5.2, cht-couchdb:4.5.2 on bootup shows the invalidating cached credentials log entry for all users, and when logging in as I'm looking to clarify if this is expected behavior when jumping to 4.5.2 from 3.x and what the user impact will be |
I wouldn't read anything into I'm not sure what
I'm not sure what this means. Can you log in? It would be helpful to provide more information about the behavior that you are seeing. |
Yeah, i could log in and eventually everything would load. Partner has finished their testing and are preparing for production, so I'm going to close this issue. |
I've opened this issue as after upgrades existing user credentials can not login the user except Edit: |
Actual non-admin users can still login right? We recreate the couch config in cht-4.x, so the medic user and session hashes are re-entered, but not the other admin users. @dianabarsan I think I remember a discussion sometime back about multiple admins and having to potentially sync passwords across clusters was difficult, so we limited to only 1 admin. Is that accurate? I'm unable to find the issue where the discussion happened |
This is right @Hareet . For
Screen.Recording.2024-04-24.at.12.45.04.PM.mov |
Hi @Hareet The way to add admins is to use the default couchdb endpoints. To add admins on a cluster, you would need to add the admin one one node, and then copy the hashed password onto the other nodes. This is a bit of a complication. May I ask, do you require these users to be db admins or can your workflow work with a regular online user? |
I'm having issues trying to upgrade the same set of data from this issue
Differences from that issue, I'm not moving data around.
Mounting data disk.
Launching docker compose (with medic-os and haproxy) pointed at data disk.
Running couchdb-migration container to pre-index-views 4.5.2
Stopping containers
Launching single-node cht-core couchdb:4.5.2 image that mounts storage/medic-core/couchdb/data/:/opt/couchdb/data
Run couchdb-migration container move-node command
Checking couchdb logs:
Are both output to be expected?
The text was updated successfully, but these errors were encountered: