No other ideas. One thing I recommend trying is removing the media folder and uploading again.
.
Yes, it should.
ok, i did, the folder was created again automatically when i uploaded the image, but the result is still the same. could it be a permission issue?
Highly unlikely. If the image and folders were created by the server, it should have access. Are you sure you don't have some configuration changes that might affect it?
I don't think so, this is a fresh install... i only changed logo in server/attributes under settings (and it worked), and added 2 devices. i only asked about permissions because i have not made the installation under root, but my user is a sudoer, so it shouldn't be a problem
If you did "sudo", it means it was installed under a root user.
ok, i found the issue... i t was actually a permission issue but in the apache config file, i added:
<Location /api/media/>
ProxyPass !
</Location>
Alias /api/media /opt/traccar/media
<Directory /opt/traccar/media>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
and now it shows
now i am able to see the image when i click the vehicle... but there is another question... is it possible to add that picture to the status icon? i know the icon shows green and grey when online/offline, but is there a chance to replace the icon for the device custom image?
In earlier comments I don't see any mention of the fact that you even had Apache.
yes, sorry, my bad... i followed instructions on documentation to install SSL and redirect to https
We definitely don't have those lines in our official documentation:
so, is there a chance to replace the status icon for the device image?, i mean directly from the web app?
yes...
i tried enabling cors, just to test, i know it involves security issues, but it was just to test, but still same error