Open pranay01 opened 2 years ago
You can exec inside query-service container and remove all users and organisations: docker exec -it query-service sh OR
docker exec -it query-service sh
kubectl -n platform exec -it pod/my-release-signoz-query-service-0 -- sh Run the following:
kubectl -n platform exec -it pod/my-release-signoz-query-service-0 -- sh
# install sqlite apk update apk add sqlite # open sqlite with signoz.db sqlite3 /var/lib/signoz/signoz.db # (sqlite shell) check existing users select * from users; # (sqlite shell) delete all users delete from users where 1=1; # (sqlite shell) verify user deletion select * from users; # (sqlite shell) check existing organizations select * from organizations; # (sqlite shell) delete organizations delete from organizations where 1=1; # (sqlite shell) verify org deletion select * from organizations; # press CTRL + D to exit from sqlite shell # safely exit from the query-service container exit
After that you should be able to create a new admin account from SigNoz UI.
This would be a hacky solution. We would need to iterate over login/auth flow instead.
@pranay01 @prashant-shahi is this issue resolved ?
No resolved AFAIK. Let it remain open
You can exec inside query-service container and remove all users and organisations:
docker exec -it query-service sh
ORkubectl -n platform exec -it pod/my-release-signoz-query-service-0 -- sh
Run the following:After that you should be able to create a new admin account from SigNoz UI.