...
Post-Upgrade
...
Connect to
rbacdb
Code Block |
---|
> ./kfuse-postgres.sh kfuse-configdb-0 kfuse rbacdb |
Make a note of user_id with NULL value created during rbac migration
Code Block |
---|
rbacdb=# select slodbid from users where grafana_id=NULL |
Cleanup of empty users in the rbac db created during import from existing users.
Code Block |
---|
rbacdb=# delete from users where grafana_id is NULL; |
For each user in the output of step 2, delete the user from group
Code Block |
---|
rbacdb=# delete from group_members where user_id='<user-id>' |
The kfuse-postgres.sh script is available in the customer repository under scripts directory
...