Hello everybody, I followed this guide (https://www.traccar.org/build/) to build Traccar.
I've the .jar file inside the target folder. In the target folder there are 5 folders: conf, data, lib, logs and schema.
I start the server with java -jar tracker-server.jar conf/traccar.xml
When I go to localhost:8082
, I can only see 404 - Not Found
... anyway, Traccar is working, because if I go to localhost:8082/server/api
, I can reach this page and see:
{"id":1,"attributes":{},"registration":true,"readonly":false,"deviceReadonly":false,"map":null,"bingKey":null,"mapUrl":null,"latitude":0.0,"longitude":0.0,"zoom":0,"twelveHourFormat":false,"forceSettings":false,"coordinateFormat":null,"limitCommands":false,"disableReports":false,"poiLayer":null,"announcement":null,"version":"4.15","emailEnabled":false}
Why does this happen? What should I do? Thank you so much!
Do you have the web app? Have you compiled it?
I've done:
git clone --recursive https://github.com/traccar/traccar.git
./gradlew assemble
java -jar tracker-server.jar conf/traccar.xml
What should I do to start the web app? I've followed the guide but I couldn't find anything about it, sorry.
You need to read the documentation page you referenced. It has the information about the web app.
Hello everybody, I followed this guide (https://www.traccar.org/build/) to build Traccar.
I've the .jar file inside the target folder. In the target folder there are 5 folders: conf, data, lib, logs and schema.
I start the server with
java -jar tracker-server.jar conf/traccar.xml
When I go to
localhost:8082
, I can only see404 - Not Found
... anyway, Traccar is working, because if I go tolocalhost:8082/server/api
, I can reach this page and see:{"id":1,"attributes":{},"registration":true,"readonly":false,"deviceReadonly":false,"map":null,"bingKey":null,"mapUrl":null,"latitude":0.0,"longitude":0.0,"zoom":0,"twelveHourFormat":false,"forceSettings":false,"coordinateFormat":null,"limitCommands":false,"disableReports":false,"poiLayer":null,"announcement":null,"version":"4.15","emailEnabled":false}
Why does this happen? What should I do? Thank you so much!