Traccar 3.10 Unable to connect

Sekhoane8 years ago

I downloaded 3.10 and installed java . But the browser just show that unable to connect. Below is the log file.

...
INFO|5472/0|Service traccar|17-02-28 07:09:17|INFO 2/28/17 7:09 AM: liquibase: Waiting for changelog lock....
INFO|5472/0|Service traccar|17-02-28 11:31:18|java.lang.reflect.InvocationTargetException
INFO|5472/0|Service traccar|17-02-28 11:31:18|	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO|5472/0|Service traccar|17-02-28 11:31:18|	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO|5472/0|Service traccar|17-02-28 11:31:18|	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO|5472/0|Service traccar|17-02-28 11:31:18|	at java.lang.reflect.Method.invoke(Method.java:606)
INFO|5472/0|Service traccar|17-02-28 11:31:18|	at org.rzo.yajsw.app.WrapperJVMMain.executeMain(WrapperJVMMain.java:60)
INFO|5472/0|Service traccar|17-02-28 11:31:18|	at org.rzo.yajsw.app.WrapperJVMMain.main(WrapperJVMMain.java:43)
INFO|5472/0|Service traccar|17-02-28 11:31:18|Caused by: liquibase.exception.LockException: Could not acquire change log lock.  Currently locked by oscar-PC (192.168.186.1) since 12/14/16 9:00 AM
INFO|5472/0|Service traccar|17-02-28 11:31:18|	at liquibase.lockservice.StandardLockService.waitForLock(StandardLockService.java:190)
INFO|5472/0|Service traccar|17-02-28 11:31:18|	at liquibase.Liquibase.clearCheckSums(Liquibase.java:1335)
INFO|5472/0|Service traccar|17-02-28 11:31:18|	at org.traccar.database.DataManager.initDatabaseSchema(DataManager.java:143)
INFO|5472/0|Service traccar|17-02-28 11:31:18|	at org.traccar.database.DataManager.<init>(DataManager.java:71)
INFO|5472/0|Service traccar|17-02-28 11:31:18|	at org.traccar.Context.init(Context.java:198)
INFO|5472/0|Service traccar|17-02-28 11:31:18|	at org.traccar.Main.main(Main.java:35)
INFO|5472/0|Service traccar|17-02-28 11:31:18|	... 6 more
INFO|wrapper|Service traccar|17-02-28 11:31:18|calling onStop
INFO|wrapper|Service traccar|17-02-28 11:31:18|Win service stop - timeout: 30000
INFO|wrapper|Service traccar|17-02-28 11:31:18|Win service wrapper.control -> stopping application
INFO|wrapper|Service traccar|17-02-28 11:31:18|Win service stop - after shutdown
INFO|wrapper|Service traccar|17-02-28 11:31:18|Win service stop - before notify
INFO|wrapper|Service traccar|17-02-28 11:31:18|Win service terminated
Anton Tananaev8 years ago

Your database got locked. Usually it happens when you forcefully stop service during database creation or migration. If it's a new installation, you should re-create the database. If it's an existing service, you should restore original database from backup.

Sekhoane8 years ago

Thanks I can now login. But I now get a "Web Socket Connection Error " when I to locate the device using the corresponding port and address. Whats the cause for this?

Anton Tananaev8 years ago

It has nothing to do with device. It's a problem with WebSocket connection which indicates that you have some problem with your network.

Sekhoane8 years ago

ok. I have researched but still have not found a solution. Can you lead me in the right path please?

Anton Tananaev8 years ago

Please provide results of your research. What have you checked, tried, and what's the result?

Sekhoane8 years ago

Done solved the error

beryindo8 years ago
Done solved the error

how to solved Web socket connection error?