linking between Geofence and Device

sara tahseen4 years ago

I am trying to link a device with Geo fence using database directly on table tc_device_geofence but after restarting the server the database is locking and not able to access the web anymore until I delete the added record and restart again
When I use the interface to connect them it is working perfectly
Is there anyway to know what exactly the problem? or any other way to connect them using database instead of UI?

Anton Tananaev4 years ago

My guess is that you are using wrong IDs.

sara tahseen4 years ago

I am taking the device ID from Devices table ID column, geo fences from geofences table ID column, and if I apply same relation from interface got same ID in database,
Is there any table maybe affected?

sara tahseen4 years ago

I Have to totally "reboot" the server after linking geofence-device , not only restarting traccar service.
after that all is working :) thank you