Server Branding Color Attributes Error

Jakes 2 years ago

I have added an text value of red to primary color and now server gives this error. How do I manually remove this entry to get back into web interface

This is the error I receive from browser

Error: Minified MUI error #9; visit https://mui.com/production-error/?code=9&args[]=red for the full message.
Jakes 2 years ago
Track-trace 2 years ago

How about looking up the saved value in database and remove it ?

Jakes 2 years ago

Thanks. I can see the value in the tc_servers table. How do I execute command to remove colorPrimary key value

Anton Tananaev 2 years ago

I would recommend upgrading to the latest version.

Jakes 2 years ago

Thanks. I have upgraded to new version. But this entry still remains in the database.

Anton Tananaev 2 years ago

Yes, but the web app won't crash.

Jakes 2 years ago

Ok sure. It still giving me the same error. What will happen if I drop the tc_servers table. Will it be automatically be recreated when traccar is restarted?

Anton Tananaev 2 years ago

If you upgraded, but still getting an error, it means that you forgot to clear the browser cache.

Jakes 2 years ago

Ok have tried on another pc that I have not used previously to access traccar. And I get the same error. Or do I need to clear my apache cache on the server itself? This is service running on a ubuntu server. Is there no easier way to get key values removed from database.

Anton Tananaev 2 years ago

You definitely won't be getting the same error if you upgraded. So either you're missing something or you're not telling us the whole story.

Jakes 2 years ago

Ok thank you. I have removed the value from the table and restarted the service. Error is also gone now. Also looks like traccar has not upgraded. I am still on version 5.8. But thanks anyway. Will do upgrade later then. Just needed to get this error away.

Track-trace 2 years ago

At least you learned how to edit database values.