I managed to delete my admin account

jonas3 8 years ago

I managed to delete my admin account :) . It is possible to add an admin account without admin rights?

Luke williams 8 years ago

do you not have a backup that you can restore?

Anton Tananaev 8 years ago

You can add it back directly to the database.

jonas3 8 years ago

I have one backup for an old version, but I have not been able to import the data log to the new install. is it just to copying and pasting database.mv.db? I can't find a guide that helps me.

jonas3 8 years ago

thanks. how do i edit the database?

Anton Tananaev 8 years ago

You need a JDBC client. You would also need to know SQL language. If you don't have enough technical knowledge to do that I would recommend to find someone who can do it for you.

Also, it's not recommended to use H2 database in production.

jonas3 8 years ago

Thanks!
I'll just have to install Traccar again then :(

Anton Tananaev 8 years ago

You can just remove database file if you want to reset everything.