Symbols for devices disappeared on web & manager frontend

hieronymousch7 years ago

Hi,

Suddenly I've lost all symbols (icons) for my devices on both the web frontend and the tracmanager interfaces.
I upgraded tot 3.11 but no avail.
Any idea's on how to solve this?

Thanks in advance

Anton Tananaev7 years ago

Does everything else work? Check browser developer console for errors.

hieronymousch7 years ago

Thanks for your superfast reply

All functions work, I only have websocket connection messages but those were there before so that shouldn't be the problem.
Error console doesn't show anything special (besides some TTF problems)

Anton Tananaev7 years ago

If WebSocket connection fails, Traccar should fall back to REST API calls. Check that those calls work on the network tab in develop tools.

hieronymousch7 years ago

Hi,

Just upgraded my apache to 2.4 in order to enable the proxy_wstunnel module.
This is done, websocket errors are gone but still no icons for my trackers. Jumping to a location of a tracker works when clicking the tracker, showing traces etc works also fine... just no icons

hieronymousch7 years ago

Maybe this can help: when loading the page, I get the following errors in the chrome console:

content.js:5 Uncaught TypeError: Cannot read property 'style' of null
    at content.js:5
    at content.js:101
hieronymousch7 years ago

Very strange... I deleted some devices and now the icons have reappeared.
Devices had same name as ID but that shouldn't be the cause of this problem I suppose?

Anton Tananaev7 years ago

You can't have multiple devices with the same ids.

hieronymousch7 years ago

That was not the case, each device has its own id. It works again now, thanks for your help