The device does not fetch the custom image after restarting the server.

Turbovix2 years ago

Hey guys. After choosing a custom image for each device, the images are automatically loaded when choosing any device, however when the server is restarted, the images are not loaded again, being necessary to upload them again. Could anyone let me know what the problem is?

Thanks.

Anton Tananaev2 years ago

Are you sure you're just restarting the server or not deleting the files?

Turbovix2 years ago

Hi Anton, I am not deleting any files.
My instance is running on docker, but I use mariadb as a database.
And the folders (conf, logs, templates) are mapped on the host.

Anton Tananaev2 years ago

And the media folder?

Turbovix2 years ago

Bingo, so that's exactly the problem as I ignored that folder. I believe that in the Docker Hub documentation there is no mention of it.
Thanks Anton.

Avanta year ago

I was just caught by this too.. be nice if the doco had mentioned that..

https://github.com/traccar/traccar-docker#readme

nada...

Anton Tananaeva year ago

Send a PR or create a ticket to update the documentation.