I can't get traccar 4.15 to work on Raspbian (64 bit)

bemeto2017 4 years ago

Before asking I have searched the forum and I have not found anything related.

I had an old version of traccar running for several years on a raspberry. Now I try to update to the latest version. I have read that now it only works with 64 bits and therefore I have installed Raspbian bullseye 64 bits on the rpi.

After I have installed traccar following the steps indicated in https://www.traccar.org/linux/ and traccar does not work

root@raspberrypi:/opt/traccar/jre/bin# systemctl is-active traccar  
activating

No log is generated since it does not start.

Can somebody help me?

Thanks in advance.

Anton Tananaev 4 years ago

I have read that now it only works with 64 bits

Where did you read this information? And which version of Traccar did you install?

bemeto2017 4 years ago

I have read that information here: https://community.home-assistant.io/t/traccar-no-longer-compatible-with-my-raspberry-pi/406457

I have tried installing traccar-linux-64-4.15.zip and traccar-linux-arm-4.15.zip with the same result.

Anton Tananaev 4 years ago

The traccar-linux-64 obviously won't work. It's not ARM architecture.

If ARM version doesn't work, you should just install Java separately and use it to run Traccar.

bemeto2017 4 years ago

I have tried to uninstall traccar, install java and then install traccar traccar-linux-arm-4.15.zip

The result is the same

root@raspberrypi:/home/sp# sudo apt-cache policy openjdk-17-jre openjdk-17-jdk
openjdk-17-jre:
  Installed: 17.0.2+8-1~deb11u1
  Candidate: 17.0.2+8-1~deb11u1
  Version table:
 *** 17.0.2+8-1~deb11u1 500
        500 http://deb.debian.org/debian bullseye/main arm64 Packages
        500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
        100 /var/lib/dpkg/status
openjdk-17-jdk:
  Installed: 17.0.2+8-1~deb11u1
  Candidate: 17.0.2+8-1~deb11u1
  Version table:
 *** 17.0.2+8-1~deb11u1 500
        500 http://deb.debian.org/debian bullseye/main arm64 Packages
        500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
        100 /var/lib/dpkg/status
Anton Tananaev 4 years ago

Have you configure Traccar to use the system Java?

bemeto2017 4 years ago

Thank you Anton. I got it to work for a bit but then I did something that broke it. I will continue to find out.

I'm not sure if 64 bits is really necessary in raspberry or it can still work with 32 bits.

jay 4 years ago

The arm versions works great on rasberry pi