Database Migration

gcotton 2 years ago

Recently I migrated my postgresql databases from version 12 to version 14, including of course Traccar.
I'm facing this issue starting Traccar:

ERROR: HikariPool-1 - Exception during pool initialization. - Received fatal alert: handshake_failure - SSLHandshakeException (... < DataManager:139 < *:89 < Context:292 < Main:110 < ...)

It was running with Java Open JDK 8, I updated to JDK 11, but still same issue

How I can solve it?

Anton Tananaev 2 years ago

Have you tried searching the forum? This has been discussed multiple times already.

gcotton 2 years ago

Solved changing the java command on the service file

Pasted here for future references

[Unit]
Description=traccar
After=network.target

[Service]
Type=simple
WorkingDirectory=/opt/traccar
#ExecStart=/opt/traccar/jre/bin/java -jar tracker-server.jar conf/traccar.xml
ExecStart=//usr/bin/java -jar tracker-server.jar conf/traccar.xml
SyslogIdentifier=traccar
SuccessExitStatus=143

[Install]
WantedBy=multi-user.target