I have logged as admin and tried to deactivate the user from sonar Qube UI, but i got the below error
An error has occurred. Please contact your administrator
When i try using api url to deactivate as admin user. I saw below error from the log.
curl -k -X POST -v -u admin ‘https://URL/api/users/deactivate?login=XXXXX’
Caused by: org.postgresql.util.PSQLException: ERROR: Cannot run UPDATE or DELETE on table groups_users because it does not have primary key.
Hint: Add primary key to the table
Please help me resolve it
SONARQUBE: Version 6.7 (build 33306) - [LGPL v3]