GithubHelp home page GithubHelp logo

Comments (4)

tananaev avatar tananaev commented on September 21, 2024

You should upgrade first.

from traccar.

gokumar avatar gokumar commented on September 21, 2024

@tananaev upgraded to 5.12. The problem persists. I can't see the events from 22nd to 28th as listed above from db table.

But, I started to see a different problem, there is a proliferation of geofenceEnter events created suddenly for 28th. and only these are coming in the api response.

[
    {
        "id": 2573319,
        "attributes": {},
        "deviceId": 439285,
        "type": "geofenceEnter",
        "eventTime": "2024-02-21T08:47:01.000+00:00",
        "positionId": 292517484,
        "geofenceId": 15572,
        "maintenanceId": 0
    },
    {
        "id": 2615827,
        "attributes": {},
        "deviceId": 439285,
        "type": "geofenceEnter",
        "eventTime": "2024-02-28T13:51:56.000+00:00",
        "positionId": 298292114,
        "geofenceId": 15572,
        "maintenanceId": 0
    },
    {
        "id": 2615821,
        "attributes": {},
        "deviceId": 439285,
        "type": "deviceOnline",
        "eventTime": "2024-02-28T13:52:47.841+00:00",
        "positionId": 0,
        "geofenceId": 0,
        "maintenanceId": 0
    },
    {
        "id": 2616375,
        "attributes": {},
        "deviceId": 439285,
        "type": "geofenceEnter",
        "eventTime": "2024-02-28T13:52:56.000+00:00",
        "positionId": 298292883,
        "geofenceId": 15572,
        "maintenanceId": 0
    },
    {
        "id": 2616386,
        "attributes": {},
        "deviceId": 439285,
        "type": "geofenceEnter",
        "eventTime": "2024-02-28T13:53:56.000+00:00",
        "positionId": 298293485,
        "geofenceId": 15572,
        "maintenanceId": 0
    },
    {
        "id": 2616380,
        "attributes": {},
        "deviceId": 439285,
        "type": "geofenceEnter",
        "eventTime": "2024-02-28T13:53:56.000+00:00",
        "positionId": 298293162,
        "geofenceId": 15572,
        "maintenanceId": 0
    },
    {
        "id": 2616406,
        "attributes": {},
        "deviceId": 439285,
        "type": "geofenceEnter",
        "eventTime": "2024-02-28T13:54:56.000+00:00",
        "positionId": 298294158,
        "geofenceId": 15572,
        "maintenanceId": 0
    },
    {
        "id": 2616401,
        "attributes": {},
        "deviceId": 439285,
        "type": "geofenceEnter",
        "eventTime": "2024-02-28T13:54:56.000+00:00",
        "positionId": 298293741,
        "geofenceId": 15572,
        "maintenanceId": 0
    },
    {
        "id": 2616414,
        "attributes": {},
        "deviceId": 439285,
        "type": "geofenceEnter",
        "eventTime": "2024-02-28T13:55:56.000+00:00",
        "positionId": 298294685,
        "geofenceId": 15572,
        "maintenanceId": 0
    },
    {
        "id": 2616408,
        "attributes": {},
        "deviceId": 439285,
        "type": "geofenceEnter",
        "eventTime": "2024-02-28T13:55:56.000+00:00",
        "positionId": 298294379,
        "geofenceId": 15572,
        "maintenanceId": 0
    },
    {
        "id": 2616429,
        "attributes": {},
        "deviceId": 439285,
        "type": "geofenceEnter",
        "eventTime": "2024-02-28T13:56:56.000+00:00",
        "positionId": 298295373,
        "geofenceId": 15572,
        "maintenanceId": 0
    },
    {
        "id": 2616419,
        "attributes": {},
        "deviceId": 439285,
        "type": "geofenceEnter",
        "eventTime": "2024-02-28T13:56:56.000+00:00",
        "positionId": 298295033,
        "geofenceId": 15572,
        "maintenanceId": 0
    },
    {
        "id": 2616441,
        "attributes": {},
        "deviceId": 439285,
        "type": "geofenceEnter",
        "eventTime": "2024-02-28T13:57:56.000+00:00",
        "positionId": 298295737,
        "geofenceId": 15572,
        "maintenanceId": 0
    },
    {
        "id": 2616438,
        "attributes": {},
        "deviceId": 439285,
        "type": "geofenceEnter",
        "eventTime": "2024-02-28T13:57:56.000+00:00",
        "positionId": 298295657,
        "geofenceId": 15572,
        "maintenanceId": 0
    },
    {
        "id": 2616450,
        "attributes": {},
        "deviceId": 439285,
        "type": "geofenceEnter",
        "eventTime": "2024-02-28T13:58:56.000+00:00",
        "positionId": 298296541,
        "geofenceId": 15572,
        "maintenanceId": 0
    },
    {
        "id": 2616447,
        "attributes": {},
        "deviceId": 439285,
        "type": "geofenceEnter",
        "eventTime": "2024-02-28T13:58:56.000+00:00",
        "positionId": 298296239,
        "geofenceId": 15572,
        "maintenanceId": 0
    },
    {
        "id": 2616460,
        "attributes": {},
        "deviceId": 439285,
        "type": "geofenceEnter",
        "eventTime": "2024-02-28T13:59:56.000+00:00",
        "positionId": 298297064,
        "geofenceId": 15572,
        "maintenanceId": 0
    },
    {
        "id": 2616453,
        "attributes": {},
        "deviceId": 439285,
        "type": "geofenceEnter",
        "eventTime": "2024-02-28T13:59:56.000+00:00",
        "positionId": 298296677,
        "geofenceId": 15572,
        "maintenanceId": 0
    },
    {
        "id": 2616465,
        "attributes": {},
        "deviceId": 439285,
        "type": "geofenceEnter",
        "eventTime": "2024-02-28T14:00:56.000+00:00",
        "positionId": 298297350,
        "geofenceId": 15572,
        "maintenanceId": 0
    },
    {
        "id": 2616965,
        "attributes": {},
        "deviceId": 439285,
        "type": "deviceOnline",
        "eventTime": "2024-02-28T14:01:50.904+00:00",
        "positionId": 0,
        "geofenceId": 0,
        "maintenanceId": 0
    }
]

from traccar.

tananaev avatar tananaev commented on September 21, 2024

Essentially Traccar just passes the data from the database, so it's very unlikely that they won't match because of some Traccar problem. I suspect you're missing something.

from traccar.

gokumar avatar gokumar commented on September 21, 2024

@tananaev Thanks for your response. Its a plain vanilla installation... here is my traccar.xml for your reference as well.

<?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>
    <!--
    This is the main configuration file. All your configuration parameters should be placed in this file.

    Default configuration parameters are located in the "default.xml" file. You should not modify it to avoid issues
    with upgrading to a new version. Parameters in the main config file override values in the default file. Do not
    remove "config.default" parameter from this file unless you know what you are doing.

    For list of available parameters see following page: https://www.traccar.org/configuration-file/

    -->
    <entry key='database.driver'>org.postgresql.Driver</entry>
    <entry key='database.url'>jdbc:postgresql://<msked>:5432/tracker</entry>
    <entry key='database.user'>masked</entry>
    <entry key='database.password'>masked</entry>
    <entry key='forward.json'>true</entry>
    <entry key='event.forward.enable'>true</entry>
    <entry key='event.forward.url'>masked</entry>
    <entry key='event.forward.header'>authorization: masked</entry>
    <entry key='logger.rotate'>true</entry>
    <entry key='event.enable'>true</entry>
    <entry key='speedLimit'>50</entry>
    <entry key='event.overspeedHandler'>true</entry>
    <entry key='event.globalSpeedLimit'>50</entry>
    <entry key='event.overspeed.notRepeat'>true</entry>
    <entry key='logger.level'>OFF</entry>
    <entry key='filter.enable'>true</entry>
    <entry key='filter.duplicate'>true</entry>
    <entry key="report.trip.minimalParkingDuration">600</entry>
</properties>

Is there any way to debug this? What logger level should I configure to understand the problem
Appreciate your help!

from traccar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.