Create a admin user when admin user is deleted

Sachithra4 years ago

Hi Guys, How can I create a new admin user on traccar when I don't have access to the original admin user via GUI. Can I do it via CLI or via the database?

Thanks in Advance.

Sachithra

Anton Tananaev4 years ago

You can do it via database directly.

Sachithra4 years ago

Hi Anton, Thank you for the response, I've tried to put "1" in the field (administrator) in the table "tc_users". But it didn't work for me. I've done this for a regular user that i have. Do i need to follow any specific procedure...

Anton Tananaev4 years ago

Have you restarted the service after changing the data?

Sachithra4 years ago

No. I restarted it now. And it's working.

Thanks a lot, Anton