Upgrade from 4.2 to 4.3

Anton Tananaev5 years ago

You need to edit windows service path. Possibly you can use SC.exe utility or some other tool.

Jose B5 years ago

I stopped the traccar services and after I edited windows traccar services path to value

 C:\Program Files\Traccar\jre\bin\java.exe -Djdk.tls.server.protocols=TLSv1.2 -Duser.dir="C:\Program Files\Traccar" -jar "C:\Program Files\Traccar\tracker-server.jar" --service ".\conf\traccar.xml"

and started again. I the same error. The login screen do not open. ( I use SSL with IISS as proxy)

in logs continue to appear:

error - Received fatal alert: handshake_failure - SSLHandshakeException (... < JsonGeocoder:107 < NotificationManager:72 < *:117 < BaseEventHandler:29 < ...)

on web (press F12) appear:

Uncaught TypeError: Cannot read property 'setExtent' of null
    at Function.<anonymous> (app.min.js:301)
    at Ext.Inventory.processCreate (ext-all.js:22)
    at Ext.Inventory.processCreate (ext-all.js:22)
    at Function.<anonymous> (ext-all.js:22)
    at Function.onBeforeCreated (ext-all.js:22)
    at Function.doProcess (ext-all.js:22)
    at Function.process (ext-all.js:22)
    at new d (ext-all.js:22)
    at Ext.Inventory.create (ext-all.js:22)
    at Object.define (ext-all.js:22)

Help please!

JB

Jose B5 years ago
C:\Program Files\Traccar\jre\bin\java.exe -Djdk.tls.client.protocols=TLSv1.2 -Duser.dir="C:\Program Files\Traccar" -jar "C:\Program Files\Traccar\tracker-server.jar" --service ".\conf\traccar.xml"

also did not work

Yuri5 years ago

for windows users
adding -Dhttps.protocols=TLSv1.2 in the service string is work for me

C:\Program Files\Traccar\jre\bin\java.exe -Dhttps.protocols=TLSv1.2 -Duser.dir="C:\Program Files\Traccar" -jar "C:\Program Files\Traccar\tracker-server.jar" --service ".\conf\traccar.xml"
Jose B5 years ago

Thank you @Yuri. Finally works again :)

Marios S5 years ago

So the SC command will be :

SC CONFIG traccar binPath= C:\Program Files\Traccar\jre\bin\java.exe -Dhttps.protocols=TLSv1.2 -Duser.dir="C:\Program Files\Traccar" -jar "C:\Program Files\Traccar\tracker-server.jar" --service ".\conf\traccar.xml"

I am getting a syntax error, can you please help?

Anton Tananaev5 years ago

I think you need to put the whole string in quotes.

Marios S5 years ago

Yes that was my first thought, but it doesn't work. You can't have quotes inside the quotes, and if I remove the inside codes the service won't start.
thanks for the prompt response by the way

Yuri5 years ago

Just use regedit to modify the traccar service.

Jose B5 years ago

I have the same problem, so I [faster] solved editing directly by regedit.exe

JB

Marios S5 years ago

Hi guys, thanks for the help.
Done, reverse geocoding is working again.
I knew I could change the path from regedit.exe, but it's generally a good idea to avoid it.
Never the less it's done and it's working fine I even restarted windows to be sure the service will still start and it works just fine.

Thanks

Dariusz5 years ago

no errors, but then also has no INFO from protocols, sql has all.

Dariusz5 years ago

all works, need restart

Jens5 years ago

Same trouble here. Running Traccar 4.2 with Nominatim on a server and worky.
Now running Traccar 4.3 on localhost (windows) = no worky.

Error:

Geocoding failed - javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target - ProcessingException (...)

Added -Dhttps.protocols=TLSv1.2 to the service and still the same error.

Thanks for any suggestions.

Pratik Sharma5 years ago

How do you set the protocol version system property?