I had similar problems with one of the demo servers. The problem is that foreign key constraint is missing, so when you remove device, it doesn't remove all the links to that device.
Another work around I have found is if you create a new user (and give permission to see the devices or set it up as admin), you can log in with the new user and see the devices again.
Hi guys, I recently started to use traccar and I ran into the same issue, is there any other way to solve it?
You need to remove links manually, if you don't have constraints.
I am currently running traccar 3.7 with mySQL (on CentOS) but also had the same issue with 3.6. When I delete a device and then refresh the page or logout and log back in, no devices load up and it is stuck on "Loading..." forever. A work-around on 3.6 was logging into phpMyAdmin and recreating a device with the deleted device ID. This would allow me to view the list of devices again in traccar. However, now with 3.7, this work-around no longer works. Has anyone else had this same issue?