traccar / traccar

Traccar GPS Tracking System
https://www.traccar.org
Apache License 2.0
4.95k stars 2.51k forks source link

White screen after installation #5330

Closed mobiusrpi closed 3 weeks ago

mobiusrpi commented 3 weeks ago

Describe the bug New installation on a fresh VPS server under Debian When I run "My-ip:8082/traccar" I have a white screen

To Reproduce Create mysql database traccar via phpmyadmin Download traccar-linux-64-latest.zip and unzip do sudo ./traccar.run sudo systemctl start traccar

Run "http://my-ip:8082/traccar" I have a white screen Browser console indicate

javascript is well installed in Chrome settings I tried under Chrome and Firefox Same on other PC

Noticed In the folder /opt/traccar/conf there is no default.xml file (call from traccar.xml) Previously I had installed Traccar on my old server and this file was present

Expected behavior Access to the traccar login page

**Desktop

tananaev commented 3 weeks ago

Have you cleared all the website data?

mobiusrpi commented 3 weeks ago

What do you mean by website data Installation is done on a new server

Thank you

tananaev commented 3 weeks ago

I mean browser caches.

mobiusrpi commented 3 weeks ago

Yes, the cache was been cleared and I also used a freshly installed Firefox and changed of computers to check if the javascript issue was coming from the computer

tananaev commented 3 weeks ago

What's the URL?

mobiusrpi commented 3 weeks ago

http://51.79.53.111:8082/traccar Not yet domain name

tananaev commented 3 weeks ago

Why do you have traccar as a path? We don't support that in the official version. You have to recompile the app for that to work.

mobiusrpi commented 3 weeks ago

I don't know why traccar as a path. I didn't modify any file fron the unzipping of provide package I strickly followed the linux installation from your documentation https://www.traccar.org/linux/

What about the default.xml file not provided in traccar-linux-64-latest.zip

tananaev commented 3 weeks ago

Where did you get the URL from?

tananaev commented 3 weeks ago

This seems to work just fine for me:

http://51.79.53.111:8082