3.12 web-ui events panel empty and events notification not displayed.

Anton Tananaev7 years ago

Looks like minification process was breaking some web app code. We have release version 3.13 with a fix:

https://www.traccar.org/download/

There are some small tweaks in the build, but no major changes from 3.12. It's just a quick fix for the minification problem.

imarinkovic7 years ago

Great Anton, working Ok now.

Thanks a lot.

Parth7 years ago

hi
we are use version 3.13 and i still have same issue . we can't show any event and same error . So for this what we exactly do .

Anton Tananaev7 years ago

Are you absolutely sure it's exactly the same error and you have official version 3.13 installed? If yes, I would need access to the server to take a look myself.

Parth7 years ago

We Emailed you server details ..

dirkdeb7 years ago

Is this issue sorted in 3.16 "web-ui events panel empty and events notification not displayed."
I get the Alarm events notification in the reports window but not in the Events window.
I have a group with devices defined, enabled notifications for All devices of that group with no Calendar settings.
I am logged in as Admin.
My traccar.xml settings:

    entry key=' event.enable'>true
    entry key='event.statusHandler'>true
    entry key='event.motionHandler'>true
    entry key='event.geofenceHandler'>true
    entry key='event.alertHandler'>true
    entry key='deviceManager.lookupGroupsAttribute'>true
    entry key=''filter.enable'>true
    entry key='filter.zero'>true
    entry key='filter.invalid'>true</entry

Thanx in advance

Anton Tananaev7 years ago

That's wrong settings for 3.16. Any known issues that we has in previous releases were fixed.

dirkdeb7 years ago

Thanx Anton,
In my previous post, was the syntax problem or just wrong settings. Am I reading old/ wrong documents ?
If wrong settings, please help. I tried without the filter settings, just in case :)
I have a group with devices defined and allocated to the group , notifications enabled send via web for All devices of that group.
File: /opt/traccar/conf/traccar.xml
Some settings in the "properties section"

<properties>
    <entry key='status.timeout'>259200</entry>
    <entry key='event.enable'>true</entry>
    <entry key='event.statusHandler'>true</entry>
    <entry key='event.motionHandler'>true</entry>
    <entry key='event.geofenceHandler'>true</entry>
    <entry key='event.alertHandler'>true</entry>
    <entry key='event.overspeed.notRepeat'>true</entry>
    <entry key='filter.enable'>true</entry>
    <entry key='filter.zero'>true</entry>
    <entry key='filter.invalid'>true</entry>
</properties>

But then I see when editing a device, the fact that the notifications send via web is enabled for the group which the device was allocated/assigned to, that the notification is 'nt enabled automatically for the device(s), belonging to that group.
Is my assumptions correct ? We must enable notifications via web for the group as well as the devices belonging to that group if we want to notifications in the notification pannel.
If the server settings is correct : ) because I still don't get notifications in the notifications pannel.

Anton Tananaev7 years ago

You can find configuration file documentation here:

https://www.traccar.org/configuration-file/

dirkdeb6 years ago

Thank you,
yes that is the documentation I use.
Probably my lack of understanding or web development prevent me from understanding what I do wrong or don't do in the config file.
I am still getting the same unpopulated Events window/list.
Everything else is working perfect accept for this.

If you could be so kind to point me to my config file error, I'll appreciate.

Anton Tananaev6 years ago

OK, if you are saying that's what you are using please point me to the event.statusHandler on that page.

dirkdeb6 years ago

Hi Anton,
I must apologise.
I got that out of old forum feedback, I hope :).
According to the page this is all I need in the /conf/traccar.xml file. I changed like that and restart the server.
But still no event popup, entry in table or sound although the event shows up as Alarm in the report table.

<properties>
    <entry key='status.timeout'>259200</entry>
    <entry key='event.enable'>true</entry>
    <entry key='event.overspeed.notRepeat'>true</entry>
    <entry key='filter.enable'>true</entry>
    <entry key='filter.zero'>true</entry>
    <entry key='filter.invalid'>true</entry>
</properties>

Thank you for the support

Fergal Powell6 years ago

I believe I am having a similar issue using 4.1 version. The events and reports panels are both empty however the events are being stored in the database table. I have set 'event.enable' to true in my traccar.xml, shown below, and have restarted using sudo systemctl stop traccar and sudo systemctl start traccar. There are no errors in console when opening /debug.html. Am I missing something in my traccar.xml? Thanks.

<?xml version='1.0' encoding='UTF-8'?>

<!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'>

<properties>

    <entry key='config.default'>./conf/default.xml</entry>
    <entry key='web.port'>8082</entry>
    <entry key='event.enable'>true</entry>

    <entry key='database.driver'>com.mysql.jdbc.Driver</entry>
    <entry key='database.url'>jdbc:mysql://localhost/traccar?useSSL=false&amp;allowMultiQueries=true&amp;autoReconnect=true&amp;useUnicode=yes&amp;characterEncoding=UTF-8&amp;ses$
    <entry key='database.user'>traccar</entry>
    <entry key='database.password'>traccar</entry>

    <entry key='server.timeout'>120</entry>

</properties>
Anton Tananaev6 years ago

Try to select bigger time interval.

Fergal Powell6 years ago

I set status.timeout value to 259200 and that did not fix my issue. I also set a bigger timeout for server.timeout which also did not work. Am I using the wrong config key to set a bigger interval?