blank screen

emmanuelha year ago

Do you know why after updating the frontend and visiting the website I get a blank screen? I'm not sure if it's a caching issue. What I do is build the project and replace the contents of the web folder. I'm not sure if this is the correct approach, and I would appreciate your help. I’m also not sure if I need to restart the service or if there's any additional step to avoid having to reload.

sudo rm -rf /opt/traccar/web/*
sudo cp -r ./build/* /opt/traccar/web/
Anton Tananaeva year ago

Have you cleared your browser cache?

emmanuelha year ago

Yes, it's a caching issue. In the Android app, it gets fixed by closing and reopening the app, and in the browser, by refreshing the page. So, is this normal, or could this error be avoided?

Anton Tananaeva year ago

It was fixed recently, so I think it should work fine if you're on one of the recent versions.

emmanuelha year ago

I'll update it later, thanks. Do you have a bit more information on why this happens? I'd like to understand the issue better

Anton Tananaeva year ago