error loading device page: TypeError: Cannot read properties of undefined (reading 'name')

vincent6 months ago

Since a while, my devices page is not working. I was hoping a update would fix it, but after a few updates the error is still there. Below you can find the full error. Anyone that can help me how to fix this? Everything else is working, its just the main device page( /settings/devices ) that is not working. Individual device pages and the rest of traccar work.

Hope anyone can help or point me in the right direction!

error traccar.png

Anton Tananaev6 months ago

Are you using the latest official release without any modifications to the code?

vincent6 months ago

Yes i am! pure code from traccar without modification. Only modifications i have ever done is a few things to the config file and the favicon.

Anton Tananaev6 months ago

So it is not the official release, but compiled code?

Track-trace6 months ago

@Vincent

Grappig dat je de url weg stift met rood. Terwijl in je foutmelding daaronder gewoon je url staat.

Ben eigenlijk benieuwd wat voor soort trackers je gebruikt voor drones, Neem aan dat het iets kleins moet zijn ?

Met je error melding kan ik je waarschijnlijk niet helpen maar heb je soms toch iets in de webapp aangepast ?

vincent6 months ago

@anton,

Yes its just the complete package from traccar. Simply installed by running
wget https://www.traccar.org/download/traccar-linux-64-latest.zip and then unzip traccar-linux-*.zip && ./traccar.run

I see i made a dumb error with the picture indeed by not blurring correctly, but cannot edit my post anymore. Can you delete the picture Anton? Here is the correctly blurred one. Hope you can help!

error traccar.png

@tracktrace Scherp haha, stom foutje. Wij gebruiken verschillende soorten, maten en toepassingen. Het is al een tijdje deze error en ik hoopte dat het met een update weg zou gaan maar paar updates verder is het issue er nogsteeds, dus er moet toch iets anders niet goed gaan. als je suggesties hebt meer dan welkom!

Anton Tananaev6 months ago

Can I have access to check the problem. You can send details over an email to the support address.

Anton Tananaev5 months ago

I'm not able to reproduce the issue. Moreover there are no such files in version 6.2. It means you're not using what you said you were. Possibly you forgot to clear the cache after an update?

vincent5 months ago

Hi Anton,

Thanks for your help. I cleared cache multiple times, seems to have been fixed now. Strange thing is this has been for a while and also on the mobile app. Looks like some sticky stuff:)

Thanks a lot for your help!!

Anton Tananaev5 months ago

You have to clear all the app cache/data, including web worker.