My traccar server does not update positions, but shows that they are online

jesusle7 years ago

Hi Anton,
My traccar server does not update positions, but shows that they are online.
I have to restart the service to update the positions again. It also does not store positions when it happens. This is happening to me twice, after two weeks.

Regards,

Anton Tananaev7 years ago

Check logs before asking for help.

jesusle7 years ago

This is the log.

2018-06-13 04:02:24 DEBUG: [592159DA: 5001 < 190.104.131.48] HEX: 696d65693a3836343839353033303231393835392c747261636b65722c3138303631333034303232332c2c462c3038303$
2018-06-13 04:02:24 DEBUG: [DFB97436: 5001 < 190.104.176.156] HEX: 3836343839353033303231383134313b
2018-06-13 04:02:24 DEBUG: [DFB97436: 5001 > 190.104.176.156] HEX: 4f4e
2018-06-13 04:02:28 DEBUG: [95A560AA: 5001 < 190.104.131.129] HEX: 696d65693a3836343839353033303237393938362c747261636b65722c3138303631333034303232372c2c462c303830$
2018-06-13 04:02:29 DEBUG: [BEECEAE6: 5001 < 190.104.131.173] HEX: 696d65693a3836343138303033353635343333392c747261636b65722c3138303631333136303232392c2c462c303830$
2018-06-13 04:02:29 DEBUG: [DFB97436: 5001 < 190.104.176.156] HEX: 696d65693a3836343839353033303231383134312c747261636b65722c3138303631333034303232372c2c462c303830$
2018-06-13 04:02:30 DEBUG: [37F02A08: 5001 < 190.104.176.120] HEX: 696d65693a3836343839353033303231393832362c747261636b65722c3138303631333034303232382c2c462c303830$
2018-06-13 04:02:34 DEBUG: [B74A2EFD: 5001 < 190.104.131.133] HEX: 3836343839353033303231393436313b
2018-06-13 04:02:34 DEBUG: [B74A2EFD: 5001 > 190.104.131.133] HEX: 4f4e
2018-06-13 04:02:34 DEBUG: [CA1BD42C: 5001 < 190.104.131.212] HEX: 696d65693a3836343839353033303231373833382c747261636b65722c3138303631333034303233302c2c462c303830$
2018-06-13 04:02:35 DEBUG: [FC35D16D: 5001 < 190.104.131.191] HEX: 3836343138303033323733323336393b
2018-06-13 04:02:35 DEBUG: [FC35D16D: 5001 > 190.104.131.191] HEX: 4f4e
2018-06-13 04:02:35 DEBUG: [1CD124BD: 5001 < 190.104.131.68] HEX: 3836343138303033323733313935373b
2018-06-13 04:02:35 DEBUG: [1CD124BD: 5001 > 190.104.131.68] HEX: 4f4e
2018-06-13 04:02:37 DEBUG: [D50F64D5: 5001 < 190.104.131.248] HEX: 696d65693a3836343839353033303232303030362c747261636b65722c3138303631333034303233362c2c462c303830$
2018-06-13 04:02:41 DEBUG: [B74A2EFD: 5001 < 190.104.131.133] HEX: 696d65693a3836343839353033303231393436312c747261636b65722c3138303631333034303234302c2c462c303830$
2018-06-13 04:02:43 DEBUG: [CFA382A9: 5001 < 190.104.176.147] HEX: 696d65693a3836343138303033353635343731392c747261636b65722c3138303631333136303234312c2c4c2c2c2c32$
2018-06-13 04:02:43  WARN: org.traccar.processing.ComputedAttributesHandler.computeAttribute@86![0,5]: 'alarm == 'powerOn'? true : false;' undefined variable alarm$
2018-06-13 04:02:43  INFO: [CFA382A9] id: 864180035654719, time: 2018-06-12 17:39:30, lat: -25.29241, lon: -57.58797, speed: 13.3, course: 23.9
2018-06-13 04:02:44 DEBUG: [0544DCC3: 5001 < 190.104.131.62] HEX: 3836343839353033303231393439353b
2018-06-13 04:02:44 DEBUG: [0544DCC3: 5001 > 190.104.131.62] HEX: 4f4e
2018-06-13 04:02:44 DEBUG: [592159DA: 5001 < 190.104.131.48] HEX: 696d65693a3836343839353033303231393835392c747261636b65722c3138303631333034303234332c2c462c3038303$
2018-06-13 04:02:44 DEBUG: [60CB30C2: 5055 < 190.104.131.183] HEX: 504f5354202f3f69643d3130303230312674696d657374616d703d31353238383736393634266c61743d2d32352e3231$
2018-06-13 04:02:44 DEBUG: [60CB30C2: 5055 > 190.104.131.183] HEX: 485454502f312e3120323030204f4b0d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2018-06-13 04:02:45 DEBUG: [D4479280: 5001 < 190.104.131.106] HEX: 696d65693a3836343839353033303231383232342c747261636b65722c3138303631333034303234332c2c462c303830$
2018-06-13 04:02:47 DEBUG: [BEECEAE6: 5001 < 190.104.131.173] HEX: 3836343138303033353635343333393b
2018-06-13 04:02:47 DEBUG: [BEECEAE6: 5001 > 190.104.131.173] HEX: 4f4e
2018-06-13 04:02:47 DEBUG: [95A560AA: 5001 < 190.104.131.129] HEX: 3836343839353033303237393938363b
2018-06-13 04:02:47 DEBUG: [95A560AA: 5001 > 190.104.131.129] HEX: 4f4e
2018-06-13 04:02:48 DEBUG: [95A560AA: 5001 < 190.104.131.129] HEX: 696d65693a3836343839353033303237393938362c747261636b65722c3138303631333034303234372c2c462c303830$
2018-06-13 04:02:48 DEBUG: [89892E73: 5001 < 190.104.131.255] HEX: 3836343138303033323733363738323b
2018-06-13 04:02:48 DEBUG: [89892E73: 5001 > 190.104.131.255] HEX: 4f4e
2018-06-13 04:02:50 DEBUG: [75E57843: 5013 < 190.104.176.145] HEX: 2a48512c363137303931343734372c56312c3038303234372c412c323531382e303131322c532c30353733302e383132$
2018-06-13 04:02:50 DEBUG: [37F02A08: 5001 < 190.104.176.120] HEX: 696d65693a3836343839353033303231393832362c747261636b65722c3138303631333034303234382c2c462c303830$
2018-06-13 04:02:52 DEBUG: [89892E73: 5001 < 190.104.131.255] HEX: 696d65693a3836343138303033323733363738322c747261636b65722c3138303631333136303234392c2c462c303830$

Regards,

Anton Tananaev7 years ago

I think the error is pretty self explanatory. You are trying to use attribute that doesn't exist.

jesusle7 years ago

just says for that device attribute alarm does not exist, the other devices are not being processed by the decoder, because it can be?
I recently modified the file traccar.xml, can it be a configuration?

Anton Tananaev7 years ago

I don't see anything else because your text editor has cut-off all the HEX data.

jesusle7 years ago

this is the traccar.xml

    <entry key='database.driver'>com.mysql.jdbc.Driver</entry>
    <entry key='database.url'>jdbc:mysql://localhost:3306/topsat?useSSL=false&amp;allowMultiQueries=true&amp;autoReconnect=true&amp;useUnicode=yes&amp;characterEncodin$
    <entry key='database.user'>root</entry>
    <entry key='database.password'>****</entry>


   <entry key='geocoder.enable'>true</entry>
   <entry key='geocoder.type'>google</entry>
   <entry key='geocoder.key'>****</entry>


   <entry key='mail.smtp.host'>smtp.gmail.com</entry>
   <entry key='mail.smtp.port'>465</entry>
   <entry key='mail.smtp.ssl.enable'>true</entry>
   <entry key='mail.smtp.from'>@gmail.com</entry>
   <entry key='mail.smtp.auth'>true</entry>
   <entry key='mail.smtp.username'>@gmail.com</entry>
   <entry key='mail.smtp.password'></entry>

   <entry key='server.timeout'>180</entry>
   <entry key='web.timeout'>500000</entry>
   <entry key='database.historyDays'>90</entry>

<entry key='filter.enable'>true</entry>

<entry key='filter.skipAttributes'>result</entry>
<entry key='filter.skipAlarm'>true</entry>
<entry key='coordinates.filter'>true</entry>
<entry key='coordinates.minError'>40</entry>
<entry key='report.trip.useIgnition'>true</entry>
<entry key='status.timeout'>2000</entry>
<entry key='geocoder.reuseDistance'>100</entry>
<entry key='geocoder.onRequest'>true</entry>
<entry key='event.motion.speedThreshold'>0.5</entry>
<entry key='distance.enable'>true</entry>
<entry key='processing.copyAttributes.enable'>true</entry>
<entry key='processing.copyAttributes'>power,ignition,battery</entry>
jesusle7 years ago

sorry I don t see.
This the log.

2018-06-13 03:20:44 DEBUG: [D4479280: 5001 < 190.104.131.106] HEX: 696d65693a3836343839353033303231383232342c747261636b65722c3138303631333033323034322c2c462c3037323034332e30302c412c323531382e39383931392c532c30353733352e34353336352c572c2c3b
2018-06-13 03:20:44 DEBUG: [592159DA: 5001 < 190.104.131.48] HEX: 696d65693a3836343839353033303231393835392c747261636b65722c3138303631333033323034322c2c462c3037323034332e30302c412c323532382e31343935382c532c30353632362e39373137372c572c31342e3135312c3136382e31333b
2018-06-13 03:20:46 DEBUG: [0846DF1C: 5001 < 190.104.131.158] HEX: 696d65693a3836343839353033303232303030362c747261636b65722c3138303631333033323034362c2c462c3037323034342e30302c412c323433392e36393531372c532c30353632362e37303931352c572c2c3b
2018-06-13 03:20:46 DEBUG: [BEECEAE6: 5001 < 190.104.131.173] HEX: 3836343138303033353635343333393b
2018-06-13 03:20:46 DEBUG: [BEECEAE6: 5001 > 190.104.131.173] HEX: 4f4e
2018-06-13 03:20:47 DEBUG: [60CB30C2: 5055 < 190.104.131.183] HEX: 504f5354202f3f69643d3130303230312674696d657374616d703d31353238383734343436266c61743d2d32352e323134393639343937343634313436266c6f6e3d2d35372e35323130353738383733353430352673706565643d322e313438313131343836313239323833362662656172696e673d38342e343038303230303139353331323526616c7469747564653d3138332e35343932373031343736313337352661636375726163793d38342e343038303230303139353331323526626174743d3130302e3020485454502f312e310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420362e302e313b20534d2d4a3730304d204275696c642f4d4d4232394b290d0a486f73743a203138362e322e3139362e3138393a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2018-06-13 03:20:47 DEBUG: [60CB30C2: 5055 > 190.104.131.183] HEX: 485454502f312e3120323030204f4b0d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2018-06-13 03:20:48 DEBUG: [89892E73: 5001 < 190.104.131.255] HEX: 3836343138303033323733363738323b
2018-06-13 03:20:48 DEBUG: [89892E73: 5001 > 190.104.131.255] HEX: 4f4e
2018-06-13 03:20:51 DEBUG: [89892E73: 5001 < 190.104.131.255] HEX: 696d65693a3836343138303033323733363738322c747261636b65722c3138303631333135323034382c2c462c3037323034362e3030302c412c323531382e353536312c532c30353733332e363638342c572c302e30302c303b
2018-06-13 03:20:53 DEBUG: [37F02A08: 5001 < 190.104.176.120] HEX: 696d65693a3836343839353033303231393832362c747261636b65722c3138303631333033323034382c2c462c3037323034392e30302c412c323533302e34383939362c532c30353633392e33393237352c572c2c3b
2018-06-13 03:20:53 DEBUG: [CA1BD42C: 5001 < 190.104.131.212] HEX: 696d65693a3836343839353033303231373833382c747261636b65722c3138303631333033323035302c2c462c3037323035322e30302c412c323531382e35303937332c532c30353533372e30303036382c572c2c3b
2018-06-13 03:20:54 DEBUG: [CA1BD42C: 5001 < 190.104.131.212] HEX: 3836343839353033303231373833383b
2018-06-13 03:20:54 DEBUG: [CA1BD42C: 5001 > 190.104.131.212] HEX: 4f4e
2018-06-13 03:20:55  INFO: [9F043D35] connected
2018-06-13 03:20:55 DEBUG: [9F043D35: 5001 < 190.104.131.108] HEX: 23232c696d65693a3836343839353033303231393439352c413b
2018-06-13 03:20:55 DEBUG: [9F043D35: 5001 > 190.104.131.108] HEX: 4c4f4144
2018-06-13 03:20:56 DEBUG: [B03E9008: 5001 < 190.104.176.15] HEX: 696d65693a3836343839353033303237393938362c747261636b65722c3138303631333033323035352c2c462c3037323035352e30302c412c323532312e36343736352c532c30353733362e36303630332c572c2c3b
2018-06-13 03:20:57  WARN: Invalid Addresses - SendFailedException (... < NotificationMail:124 < *:134 < ...)
2018-06-13 03:20:58 DEBUG: [DFB97436: 5001 < 190.104.176.156] HEX: 696d65693a3836343839353033303231383134312c747261636b65722c3138303631333033323035362c2c462c3037323035372e30302c412c323531372e39363338312c532c30353733332e32333734332c572c302e3037302c303b
2018-06-13 03:21:01 DEBUG: [B74A2EFD: 5001 < 190.104.131.133] HEX: 696d65693a3836343839353033303231393436312c747261636b65722c3138303631333033323035392c2c462c3037323035392e30302c412c323532352e33313837312c532c30353534342e33363937362c572c2c3b
2018-06-13 03:21:01 DEBUG: [D4479280: 5001 < 190.104.131.106] HEX: 3836343839353033303231383232343b
2018-06-13 03:21:01 DEBUG: [D4479280: 5001 > 190.104.131.106] HEX: 4f4e
2018-06-13 03:21:02 DEBUG: [CFA382A9: 5001 < 190.104.176.147] HEX: 3836343138303033353635343731393b
2018-06-13 03:21:02 DEBUG: [CFA382A9: 5001 > 190.104.176.147] HEX: 4f4e
2018-06-13 03:21:03 DEBUG: [3D96990C: 5001 < 190.104.131.106] HEX: 3836343138303033323733363734313b
2018-06-13 03:21:03 DEBUG: [3D96990C: 5001 > 190.104.131.106] HEX: 4f4e
2018-06-13 03:21:03 DEBUG: [592159DA: 5001 < 190.104.131.48] HEX: 3836343839353033303231393835393b
2018-06-13 03:21:03 DEBUG: [592159DA: 5001 > 190.104.131.48] HEX: 4f4e
2018-06-13 03:21:04 DEBUG: [1F593108: 5001 < 190.104.176.128] HEX: 3836343839353033303237393432343b
2018-06-13 03:21:04 DEBUG: [1F593108: 5001 > 190.104.176.128] HEX: 4f4e
2018-06-13 03:21:04 DEBUG: [592159DA: 5001 < 190.104.131.48] HEX: 696d65693a3836343839353033303231393835392c747261636b65722c3138303631333033323130322c2c462c3037323130332e30302c412c323532382e31383936372c532c30353632362e39363331302c572c312e3934342c3136362e38363b
2018-06-13 03:21:05 DEBUG: [1F593108: 5001 < 190.104.176.128] HEX: 696d65693a3836343839353033303237393432342c747261636b65722c3138303631333033323130322c2c462c3037323130342e30302c412c323531372e33373937302c532c30353733352e31323831342c572c2c3b
2018-06-13 03:21:06 DEBUG: [0846DF1C: 5001 < 190.104.131.158] HEX: 696d65693a3836343839353033303232303030362c747261636b65722c3138303631333033323130362c2c462c3037323130342e30302c412c323433392e36393531372c532c30353632362e37303931352c572c2c3b
2018-06-13 03:21:06 DEBUG: [AD58F0A4: 5013 < 190.104.176.145] HEX: 2a48512c363137303931343734372c56312c3037323130352c412c323531382e303038342c532c30353733302e383132382c572c3030302e32302c3030302c3133303631382c46464646423946462c3734342c30352c31303630322c323532363323
2018-06-13 03:21:12 DEBUG: [37F02A08: 5001 < 190.104.176.120] HEX: 3836343839353033303231393832363b
2018-06-13 03:21:12 DEBUG: [37F02A08: 5001 > 190.104.176.120] HEX: 4f4e
2018-06-13 03:21:13 DEBUG: [1CD124BD: 5001 < 190.104.131.68] HEX: 696d65693a3836343138303033323733313935372c747261636b65722c3138303631333135323131312c2c462c3037323130382e3030302c412c323531342e303732342c532c30353733342e343238302c572c302e30302c303b
2018-06-13 03:21:14  INFO: [1CD124BD] id: 864180032731957, time: 2018-06-13 03:21:08, lat: -25.23452, lon: -57.57381, course: 0.0
2018-06-13 03:21:14 DEBUG: [CA1BD42C: 5001 < 190.104.131.212] HEX: 696d65693a3836343839353033303231373833382c747261636b65722c3138303631333033323131302c2c462c3037323131322e30302c412c323531382e35303937332c532c30353533372e30303036382c572c2c3b
2018-06-13 03:21:14 DEBUG: [D4479280: 5001 < 190.104.131.106] HEX: 696d65693a3836343839353033303231383232342c747261636b65722c3138303631333033323131322c2c462c3037323131332e30302c412c323531382e39383931392c532c30353733352e34353336352c572c2c3b
2018-06-13 03:21:15 DEBUG: [F3445A15: 5001 < 190.104.131.58] HEX: 696d65693a3836343138303033353935323731372c747261636b65722c3138303631333135323131352c2c462c3037323131332e3030302c412c323530352e323834312c532c30353733312e373338332c572c322e32372c3139352e34343b
2018-06-13 03:21:15 DEBUG: [F3445A15: 5001 < 190.104.131.58] HEX: 3836343138303033353935323731373b
2018-06-13 03:21:15 DEBUG: [F3445A15: 5001 > 190.104.131.58] HEX: 4f4e
Anton Tananaev7 years ago

Are you using latest release? Try latest version without any modifications.

jesusle7 years ago

I use traccar 3.16