Traccar in Docker no store data in mapping folder.

Pawel Pio 5 days ago

Hello
After installing the server in Docker, I don't see the data and log files in the mapped folders. When I log into the container terminal, I see these files in the internal filesystem. Did I make a configuration error? If I correct the configuration, for example, by adding a port mapping, and then restart the container's Deploy, I lose the internally saved data, which should be saved in the mapped folder. Am I thinking correctly? What could I have done wrong?

Anton Tananaev 5 days ago

You probably misconfigured something.

Pawel Pio 5 days ago

Yes, I just noticed that I swapped the source and destination paths. I fixed it and everything works, but I lost the tracking data already stored on the server. Oh well, it was only a day, so no big loss. The important thing is that it works correctly.