#general

Resetting Admin Account Results in Error

TLDR surya encountered an error while resetting the admin account. Dahe and Prashant gave advice on restarting services and deleting the sqlite3 db file, but cautioned against deleting it due to potential data loss.

Powered by Struct AI
Jul 23, 2023 (4 months ago)
surya
Photo of md5-47ff5ecc2111c238ec92cf273d5ec85c
surya
01:19 PM
I used this steps to reset my admin account but i am getting error now, please anyone help me.
Image 1 for I used this <https://github.com/SigNoz/signoz/issues/1861#issue-1499692469|steps> to reset my admin account but i am getting error now, please anyone help me.
Jul 24, 2023 (4 months ago)
Dahe
Photo of md5-70a65c96b293c1aafa37eaaefeaefa64
Dahe
02:27 AM
I suggest trying to delete sqlite3 db (/var/lib/signoz/signoz.db), and restart signoz-query-service. Next, the data is reinitialized to prepare for the next run.
Prashant
Photo of md5-1899629483c7ab1dccfbee6cc2f637b9
Prashant
07:11 AM
You will need to restart the query service container.
07:12
Prashant
07:12 AM
Deleting sqlite db file is not recommended since it also deletes alerts, dashboards and other metadata.