Traccar Mail notifications

Anton Tananaev 9 years ago

You should probably use some operating system tools for that.

Rajesh 9 years ago

i don't know how to use operating system tools for that.

can you explain me in details? how to use ?

Anton Tananaev 9 years ago

For example on Windows you can run a script when service stops:

http://superuser.com/a/588096

I'm sure there is something for Linux as well. You should ask on some relevant forums about Linux administration.

Rajesh 9 years ago

okay i got it but i manually fire stop and start command of traccar when coming notify?

and also actually server is running and if traccar is stop/start thane notify me

Anton Tananaev 9 years ago

I don't understand the question.

Rajesh 9 years ago

Actually, i am using centos 7
consider,
if my server is running not shutdown then traccar is working stopped that time notify

you understood my qtn.

Anton Tananaev 9 years ago

As I said, there must be some way to do that.

Another option is to use some service that checks if website is available. For example:

https://uptimerobot.com/

Rajesh 9 years ago

thanku i used.

and just tell me one thing how to upgrade traccar?

Anton Tananaev 9 years ago

There is a special page for that:

https://www.traccar.org/upgrading-traccar/

Rajesh 9 years ago

Thanks brother

Rajesh 9 years ago

Hello,

we did traccar upgraded but we are getting sometime issue traccar stopped working

we did checked tracker-server.log file in there issue below

2017-02-10 10:52:12  WARN: [7F98CD67] error - ConcurrentModificationException (... < ConnectionManager:59 < MainEventHandler:85 < ... < ExtendedObjectDecoder:52 < ...)

2017-02-10 10:52:12  WARN: [7F98CD67] error - ConcurrentModificationException (... < ConnectionManager:59 < MainEventHandler:85 < ... < ExtendedObjectDecoder:52 < ...)

2017-02-10 10:52:12  WARN: [3897DAF4] error - ConcurrentModificationException (... < ConnectionManager:59 < MainEventHandler:85 < ... < ExtendedObjectDecoder:52 < ...)
Anton Tananaev 9 years ago

I think you can safely ignore those warning if they don't happen very often.

Rajesh 9 years ago

okay no problem but it many time traccar is stopped working why this happen? and also

we are used /opt/traccar/bin/stopDaemon.sh this command then traccar working fine
and traccar 5 or 6 hours after stop working automatically.

Anton Tananaev 9 years ago

I don't know why, but that's not the reason. You should check other logs for the answers.

Rajesh 9 years ago

Hello anton,

i have getting the problem in some device string

please check below string of device

355854050086918,-37.588837,145.121155,1486537714000,0.0,242.0,false,{"gsm":14,"charge":false,"battery":"4","sat":"7","ip":"1.152.96.243","distance":0.0,"totalDistance":122884.63}

This is what we see with the new firmware ...

355854050086918,-37.588963,145.121185,1486623971000,0.0,0.0,false,{"ip":"1.136.96.179","distance":0.0,"totalDistance":403.93}

So we are missing:

"gsm":14,"charge":false,"battery":"4","sat":"7",

we are facing this issue many device on windows server.

can you tell me if any solution for that ?

i am waiting for your replay...