Check browser developer console for any errors.
hi, Anton.
good morning,
this is the message of the browser developer console (chrome)
Uncaught Error: You're trying to decode an invalid JSON String: ext-all.js:22 (this is a link and refer the http://cdnjs.cloudflare.com/ajax/libs/extjs/6.0.0/ext-all.js)
Detail: I try open http://demo.traccar.org/ and using normaly.
thanks for view my topic.
Regards,
Looks like there is some problem with your instance. Try to clear browser cache.
Are you using latest official Traccar release?
Yes, I downloaded the version available on the site. In the case: traccar-linux-64-3.4.zip
I cleared the browser cache, without success.
Can I have an access to the web console to check?
off corse, how you want to do?
You can send details by email. Address is on support page.
Hello,
I made a fresh install on debian, and I having the same problem. did you find a solution to this problem ?
adding some info :
netstat -lantuep | grep ":8082"
tcp6 0 0 :::8082 :::* LISTEN 0 803906 20619/java
ipv6 : weird ???
tail logs/tracker-server.log
2017-03-07 10:23:50 INFO: Operating system name: Linux version: 4.9.0-1-amd64 architecture: amd64
2017-03-07 10:23:50 INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Oracle Corporation version: 25.121-b13
2017-03-07 10:23:50 INFO: Memory limit heap: 3552mb non-heap: 0mb
2017-03-07 10:23:50 INFO: Character encoding: UTF-8 charset: UTF-8
2017-03-07 10:23:50 INFO: Version: 3.10-SNAPSHOT
2017-03-07 10:23:53 INFO: Starting server...
curl http://localhost:8082/debug.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>Traccar</title>
<link rel="stylesheet" href="app.css">
</head>
<body>
<div id="spinner"></div>
<div id="attribution">Powered by <a href="https://www.traccar.org/">Traccar GPS Tracking System</a></div>
<script id="loadScript" mode="debug" src="load.js"></script>
</body>
</html>
...
FINEST|20619/0|Service traccar|17-03-07 10:23:52|INFO 3/7/17 10:23 AM: liquibase: ./schema/changelog-master.xml: changelog-3.10::changelog-3.10-notmssql::author: ChangeSet changelog-3.10::changelog-3.10-notmssql::author ran successfully in 12ms
FINEST|20619/0|Service traccar|17-03-07 10:23:52|INFO 3/7/17 10:23 AM: liquibase: ./schema/changelog-master.xml: changelog-3.10::changelog-3.10-mssql::author: Marking ChangeSet: changelog-3.10::changelog-3.10-mssql::author ran despite precondition failure due to onFail='MARK_RAN':
FINEST|20619/0|Service traccar|17-03-07 10:23:52| ./schema/changelog-master.xml : DBMS Precondition failed: expected mssql, got mysql
FINEST|20619/0|Service traccar|17-03-07 10:23:52|
FINEST|20619/0|Service traccar|17-03-07 10:23:52|INFO 3/7/17 10:23 AM: liquibase: ./schema/changelog-master.xml: changelog-3.10::changelog-3.7-mssql::author: Marking ChangeSet: changelog-3.10::changelog-3.7-mssql::author ran despite precondition failure due to onFail='MARK_RAN':
FINEST|20619/0|Service traccar|17-03-07 10:23:52| ./schema/changelog-master.xml : DBMS Precondition failed: expected mssql, got mysql
FINEST|20619/0|Service traccar|17-03-07 10:23:52|
FINEST|20619/0|Service traccar|17-03-07 10:23:52|INFO 3/7/17 10:23 AM: liquibase: Successfully released change log lock
FINEST|20619/0|Service traccar|17-03-07 10:23:52|[main] INFO org.eclipse.jetty.util.log - Logging initialized @3395ms
FINEST|20619/0|Service traccar|17-03-07 10:23:53|[main] INFO org.eclipse.jetty.server.Server - jetty-9.2.21.v20170120
FINEST|20619/0|Service traccar|17-03-07 10:23:53|[main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@4b0bd001{/api,null,AVAILABLE}
FINEST|20619/0|Service traccar|17-03-07 10:23:53|[main] INFO org.eclipse.jetty.server.ServerConnector - Started ServerConnector@66a5755{HTTP/1.1}{0.0.0.0:8082}
FINEST|20619/0|Service traccar|17-03-07 10:23:53|[main] INFO org.eclipse.jetty.server.Server - Started @4245ms
I've found the problem I think.
I'm using nginx to proxyfy the request as folow :
location /traccar {
proxy_pass http://localhost:8082/;
proxy_redirect http://localhost:8082/ /traccar;
proxy_redirect ws://localhost:8082/api/socket /traccar/api/socket;
include proxy_params;
}
and this is the problem, I'm geting errors /load.js" failed (2: No such file or directory), client: 127.0.0.1
by accessing directly to http://localhost:8082/ it's working fine.
The problem is with your proxy and not Traccar service.
you're right, by the way, I didn't find anywhere how to move site to a context (or location).
what I mean is, it is possible to make the whole site available at http://localhost:8082/traccar/ instead of http://localhost:8082/ ?
also for the api. because I already use the / root for other things.
It is possible through proxy.
I'm close but it's not fully working.
if you can take a look at this post it would be great :
https://www.traccar.org/forums/topic/nginx-alias-configuration/#post-13864
Hi,
I'm using FreeBSD 9.3 and PostgreSQL.
After installing Server Traccar following docs. When making http: // ip_server: 8082 in the browser, enter the page, but not asking User and Password. It is a blank screen with only the Powered by GPS Tracking System Traccar in the lower right corner. Can someone help me?
Thank you.