Getting started frustrations- Help please!

Jim 2 days ago

I am new to traccar and getting rather frustrated!

Need some guidance please :-)

My background is in IT (systems development - but not on Linux/web systems) so no stranger to configuring systems in various quirky ways, but traccar has me stumped.

I have read the guides (multiple times) and followed instructions, as well as searching this forum (and wider) for answers. Sometimes there is reference to the issue, but the solution often refers to options that don't exist so presume they are for older versions of the system.

I have a basic setup

  • Traccar 6.8.1 on Linux - clean build (can't use any later version due to a Google map key entry bug)
  • 10 trackers
  • POIs
  • Geofences (as lines, to show routes on the map)

Devices
I cannot get these to show for any user other than the original admin user who created them. Making another user admin makes no difference, they do not show.

Groups
These do not appear to be global, only being available to the user that created them.

Geofences
Work as I want them to, HOWEVER they appear to be per-user, meaning I have to upload them for every user. If the user is read-only, you have to temporarily make the user an admin to make the changes (VERY bad practice on a live system).

POI
Placed the kml file in this path and these work as expected
/opt/traccar/web/

Except...
The POI only show if the filename is specified under Server settings. When specified under a User (with nothing under Server), no POI are shown.

Replacing the file with a new version does NOT change the displayed POI, even with a server reboot (appears to be hard-cashed somewhere).

There doesn't appear to be any POI management (like Geofences), so you can only have one file active. Also, not having a way to upload POI data (in the way Geofences are done) without having to SSH onto the server is rather strange, as it means admin users can't change anything, it needs a sysadmin to do it.

HELP!

Unless I've missed something, there doesn't appear to be any user-friendly, central management system.

Jim

Anton Tananaev 2 days ago

To be able to see Devices, Groups, Geofences etc they need to be linked to the user. An admin can do that, but that does not happen automatically. I'm not exactly sure why you expect that to be automatic.

As for POI, per user setting should work just fine, unless you enable force server settings. But hopefully you would tell us that upfront.

Jim 2 days ago

I would expect groups to be global, and be able to assign devices/geofences/POIs etc. to that group, then assign a group to a user. Nothing automatic, but a central way of being able to group things together.

Don't know what you mean by "force server settings"? If you mean putting the POI filename in the server settings, I remove that when trying per-user, but that doesn't work (it's just removed).

Anton Tananaev 2 days ago

I would strongly recommend reading the documentation on this website first. Groups are groups of devices and nothing else. You can link them the same way as everything else.

Jim 2 days ago

I have read the documentation, but it wasn't clear that groups are for devices only. Thanks.

What do you mean by "force server settings"?

What about the POI caching issue, is that a bug or something I'm missing?

Anton Tananaev 2 days ago

Force server settings is a flag in server settings.

What caching issue?

Jim 2 days ago

As per my original post...

Replacing the (POI) file with a new version does NOT change the displayed POI, even with a server reboot (appears to be hard-cashed somewhere).

Anton Tananaev 2 days ago

Most likely service worker cache.

Jim 2 days ago

OK, how do I clear that?

Anton Tananaev 2 days ago

In a browser you can do it from developer tools.

Jim 2 days ago

Where can I find developer tools?

Nothing in the documentation and a google search isn't bringing anything up.

Anton Tananaev 2 days ago

What browser are you using?

Jim 2 days ago

Firefox, but what does that matter?

Isn't this is the traccar server we are talking about?

Anton Tananaev 2 days ago

No, developer tools are in your browser. And I'm pretty sure Firefox has them as well.

Jim 2 days ago

Now I'm confused.

What has the developer tools in the browser got to do with clearing a cache that's on the server?

Clearly I'm missing something here, a slightly longer explanation of what I need to do would be helpful please.