Unable to delete a device in gui?

qlex 2 years ago

Hi,
when i'm trying to delete a device (logged in as main user) and looking at dev console in browser i get:
503 Service Unavailable for DELETE /api/devices/xxx where 349 is some id ?
and then
405 Method Not Allowed for GET ws://example.com/api/socket

If i'm correct, i must be on traccar >5.3 (/opt/traccar/schema shows changelog-5.3 and then changelog-master.txt)

Please help ?

qlex 2 years ago

And strangely, after a while that device is not longer visible in the list of devices, so the delete function in fact did it job, but i don't know why it was(is) throwing that error.

Anton Tananaev 2 years ago

I suspect it was probably a web API timeout because the device had too much data, but the query was actually executed in the database after all.

Track-trace 2 years ago

you can also see your server version like this example.com/api/server

Or in example.com/settings/preferences at the bottom Info.

qlex 2 years ago

Hi - thanks for helping out. BTW, I can't edit my posts - why? I would like to ammend them.

Anton Tananaev 2 years ago

We don't allow editing posts after some period of time.

qlex 2 years ago

Can you please remove the URLs from my post and reply ?

Anton Tananaev 2 years ago

Done.