Modern web-access: how to show a real-time path?

Anton Tananaev2 years ago

The software is the same for everyone. We don't have any special features for paid subscriptions only.

To enable live routes you need to go into preferences and enable it. Note that it will show the trail for the selected device only and it doesn't load historical data. It only shows data as it comes in.

Anton Tananaev2 years ago

But - sorry for complaining, I find a legacy interface more convenient...

Something you're used to always feels more convenient. You can continue using the old interface if you want, but I would recommend to give modern app a try. And if you have some improvement suggestions feel free to post them on GitHub, but please include details and reasons.

ildar2 years ago

Note that it will show the trail for the selected device only and it doesn't load historical data. It only shows data as it comes in.

Thank you for your explanations.
I will stay on the legacy version. Hope that all the best features from the legacy version will come to the modern version some day)
For my very small usecases (tracking aged family members) the legacy version is VERY VERY useful and convenient.
Thanks a lot one more time for the application.

ildar2 years ago

post them on GitHub, but please include details and reasons.

Yes, I will try to provide accurate & detailed proposals!

hairydog2 years ago

OK, I have tried to use the modern interface. This is not easy because Traccar sits behind a reverse proxy and https. I really don't want to have to recompile the software (even if I knew how to) and have to do it again and again every update.

I could live with having to have it in the root of a subdomain (though every user would need to change their settings if I changed that), but to run without https: is not acceptable.

You say there is the option to go to the old interface on the login page, but the only option I can see is to change the language.

I cannot work out how to show routes on the map. You say I can click on the vehicle and see a trail on the map, but I can't see how to do this.

I don't like the "modern" dumbed-down look and feel as much as the old one, but I expect I could get used to it... but only if it works!

For now, to get Traccar to run, I have had to revert to version 4.13.

Is there any newer version that will work without diverting users to the inoperative modern subdirectory?

Anton Tananaev2 years ago

You can just remove the lines that redirect to the modern app:

https://github.com/traccar/traccar-web/blob/master/web/release.html#L13-L14

I'm not sure I understand how a proxy is related to the version of the web app.

hairydog2 years ago

Thanks. I'll try removing those two lines. Where is this documented? I would rather find out than have to ask here.

The last reference I recall from you about this issue is https://www.traccar.org/forums/topic/access-new-traccar-web-by-reverser-proxy/#post-61377

Anton Tananaev2 years ago

It's not an issue with proxy. It's an issue of using different path. I don't know if there's a solution for it.

hairydog2 years ago

I don't think we are talking about the same thing.
I want to access Traccar using https://myurl.com/track not at http://myurl.com:8082
To do this, I am using a reverse proxy in Apache, which was the way recommended here, years ago when I set it up. Is there a different way to do this?

Anton Tananaev2 years ago

I would probably recommend a subdomain as the easiest option.

hairydog2 years ago

The trouble with that is that every user would have to change the URL they use. It's bad enough getting people to be happy with changes to the UI. Forcing them to also make changes to their settings is probably a step too far.

I shall try to remove the forward to the modern UI for now.

Am I right in thinking that new versions of Traccar 5 will only offer the Modern UI?

Anton Tananaev2 years ago

You can redirect the old URL, so users don't need to do anything.

We plan to include the legacy app for some time, so you don't need to worry that we remove it any time soon. Maybe in a year or so.

hairydog2 years ago

That's good news. Thank you!

Sylwester2 years ago

I do not have option REPLAY in Reports. Do I need to turn on it somewhere? Server installed as addon on home assistant.

Anton Tananaev2 years ago

You need to upgrade to the latest version.