Traccar service (5.13) does not start on Raspi Model B Rev 2

Felix2 years ago

Hello,
I am using a raspi model b rev 2 with the latest Raspbian installed.
Installed the traccar 32bit ARM version, but it won't start.

Tried to start the service with the following command:

sudo systemctl start traccar.service

But I get the following error while checking the service status:

traccar.service - traccar
Loaded: loaded (/etc/systemd/system/traccar.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: signal) since Fri 2022-08-19 21:14:21 BST; 9s ago
Process: 3007 ExecStart=/opt/traccar/jre/bin/java -jar tracker-server.jar conf/traccar.xml (code=killed, signal=ILL)
Main PID: 3007 (code=killed, signal=ILL)
CPU: 23ms

There is nothing logged into /opt/taccar/logs
I thought it's maybe because of the missing java, so I tried to install java with:

sudo apt install default-jdk

But it returns:

Error occurred during initialization of VM
Server VM is only supported on ARMv7+ VFP
E: /etc/ca-certificates/update.d/jks-keystore exited with code 1.
done.
Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u3) ...
Errors were encountered while processing:
 ca-certificates-java
E: Sub-process /usr/bin/dpkg returned an error code (1)

Sounds to me like the raspi is too old? Could I just use an older version of traccar?

Thanks
Felix

Anton Tananaev2 years ago

There must be a way to install Java on a raspi.

Felix2 years ago

I now installed Java 8 because this is the latest version which is compatible with my ARMv6 raspi.
Can I run the latest version of traccar with Java 8? Because it still won't start.

Anton Tananaev2 years ago

No, you need Java 11.