TOTP One-Time Password Code

Usman Mughal2 years ago

Hi, I have compiled the latest code for Traccar and am also using the latest code for the frontend, but it seems like I can't login to the account after registration without entering the one-time password code, which I am unable to generate or get. Any guide or tutorial would be really appreciated. Also, if there is any way to disable it.

Anton Tananaev2 years ago

Have you enabled one time password?

Usman Mughal2 years ago

It is enabled by default. I am new to this, so if I am doing anything wrong, please let me know. I haven't done anything related to a one-time password anywhere. Is there anyway to disable it, and if I want to use it in the future, how could that be done?

Anton Tananaev2 years ago

The issue should be fixed now.

Usman Mughal2 years ago

Thank you; it is really appreciated. I guess this question has already been asked. Sorry for asking again, what would be the server specs for 5K–6K devices?

Anton Tananaev2 years ago

Impossible to say without any additional information.

Ashok Chandra2 years ago

just now, I have dropped database Traccar. After recreating, when I register first user so getting error.

Unknown column 'totpKey' in 'field list' - SQLSyntaxErrorException (... < QueryBuilder:469 < DatabaseStorage:95 < UserResource:113 < ...)
Ashok Chandra2 years ago

after installing the preview this is resolved but i am not received totp on my email.

Anton Tananaev2 years ago

Please use the stable version unless you know what you're doing.

Usman Mughala month ago

Hi Anton Tananaev,

We are using Traccar along with the same database for our backend services. Our stack includes WebSocket communication through Node.js, a Laravel-based backend, and a React.js frontend.

Currently, for development purposes, we are using the following server specs and have been testing with a small list of client devices:

Storage: 30 GB

RAM: 6 GB

CPU: 4 Cores

Database Size: Approximately 2 GB

Now, we are preparing to move to a production environment, where the expected number of devices will range from 1,000 to 5,000+ as per the client’s requirement.

We are considering the following VPS option from Contabo for our monolithic setup:

8 vCPU Cores

20 GB RAM

200 GB NVMe (or 400 GB SSD)

Given this scenario, could you kindly share your recommendations or suggestions for handling this scale effectively with Traccar?

Best regards.

Anton Tananaeva month ago

How is this related to the topic?

Usman Mughala month ago

Apologies for posting under an unrelated topic. I asked a similar question last year but didn’t have the required details at the time. I just wanted to get your input on server specs for 1K–5K devices, but I understand if you'd prefer it in a separate thread. I’ll create a new topic if that's more appropriate. Thanks again.