What troubleshooting have you done?
Checked Traccar server logs after upgrade to Traccar 6.14.2.
Confirmed GPS devices are still connecting and sending data normally.
Confirmed Traccar is decoding at least one gps103 device correctly.
Confirmed events are being generated, for example:
deviceStopped
deviceMoving
deviceOnline
deviceOffline
Initially saw:
type: deviceStopped, notifications: 0
but later confirmed this is expected because there is no notification rule for deviceStopped.
Checked Java:
OpenJDK 11.0.31
Java is installed correctly.
Tried old Java helper notification test:
java -cp "/opt/traccar/lib/*" org.traccar.helper.TestNotification
Result:
ClassNotFoundException
Conclusion: this helper class does not exist in the current Traccar version, so this test method is obsolete.
Checked /opt/traccar/conf/traccar.xml.
Confirmed notification channels are enabled:
web,mail,telegram,traccar,command
Confirmed you use:
Push notifications through traccar
Telegram notifications
Telegram chatId per user, not global
Checked PostgreSQL notification tables.
Confirmed notification tables exist:
tc_notifications
tc_user_notification
tc_device_notification
tc_group_notification
Checked notification rules.
Found 5 active notification rules:
deviceOnline
deviceOffline
geofenceEnter
geofenceExit
alarm with lowBattery
Confirmed notification rules are linked correctly:
7 users linked
29 devices linked
0 groups linked
Checked recent events in the database.
Confirmed the last 24 hours include:
deviceStopped: 8
deviceMoving: 7
deviceOnline: 5
deviceOffline: 5
Checked user attributes.
Please tell me where you got this from:
java -cp "/opt/traccar/lib/*" org.traccar.helper.TestNotification
I'm not an expert user, so I used ChatGPT plus for troubleshooting
If you didn't know, new version doesn't send online/offline events by default. If that's what you're testing, then it obviously won't work.
So I have to set device moving or stopped? No more online / offline right?
That's up to you.
TomReb3l, Read this in the config:
event.status.enable
Generate device connection status events (deviceOnline, deviceOffline, deviceUnknown) on status changes.
Default value: false
Yes, I made this @andres said and now I have Online Offline notifications. Thank you very much for your support
Yesterday I updated to latest version and since then I don't have Push and Telegram notifications...