When you say icons, are you actually referring to the icon you reference (car, motorcycle, boat, person, plane...) or are you saying the image you uploaded to reference a device?
Thanks for our help.
I mean the Image for reference to a Device.
This image is located inside /opt/traccar/media.
This image is located inside /opt/traccar/media
Therefore, you must correctly map the folder between the host and container. In the same way as you would do with the /config folder.
version: '3.7'
services:
traccar:
image: traccar/traccar
volumes:
- ./Your path on the host/config:/opt/traccar/config
- .Your path on the host/media:/opt/traccar/media
ports:
- "8082:8082"
Here you will find the information you need.
Thanks a lot for your fast replay - it works perfectly :).
@turbofix: Yeah, i know this, but i hasn't the path for the media - but it shown too easy :).
Migration yesterday round about 30 Container to a new host, and thats was the only problem.
I love Traccar, it is very easy and cool.
If needed, i wrote an German Manual (you can use Google Translate for other languages), including complete configuration for an ST-902L: https://wiki.leibling.de/books/traccar
Hello, yesterday i migrate my Docker Host to another (Ubunutu 20.x > 24.x). For this i copy all my Datafolders to the new Server and starts the containers - all works find, except a little problem.
The Device Icons are now not shown.
For Traccar i compare my Datafolders on booth Servers (/docker-data/traccar/conf and /docker-data/traccar/logs) but everything is the same, include the permissions and ownership.
If i update my Devicesettings, the Image for the Device isn't shown. I take a look in the Database and they show me for every Device {"deviceImage":"device.png"}
Can somebody tell me, how i can fix the problem? Or where the Images has to be? Are they in the container instead of an local folder? If yes where? So i can mount them out of the Container in the local filesystem.
Thanks for your help.