Traccar fresh install on Ras Pi 5 - No logs + Unable to connect

BadgerSix a year ago

Just completed a fresh install of v6.4 on Ras Pi 5 following this guide:
https://www.instructables.com/Introduction-Turn-a-Raspberry-Pi-Into-a-GPS-Tracki/

When I get to the "Check Logs" part there is an error and the logs folder is empty.

When I check Traccar status:

sudo systemctl status traccar.service

I get:

traccar.service - traccar
     Loaded: loaded (/etc/systemd/system/traccar.service; enabled; preset: enabled)
     Active: active (running) since Sun 2024-09-15 10:55:47 PDT; 3ms ago
   Main PID: 278439 ((java))
      Tasks: 1 (limit: 9247)
        CPU: 739us
     CGroup: /system.slice/traccar.service
             └─278439 "[(java)]"

Sep 15 10:55:47 badgersixtak5 systemd[1]: Started traccar.service - traccar.
Sep 15 10:55:47 badgersixtak5 (java)[278439]: traccar.service: Failed to execute /opt/traccar/jre/bin/java: Exec format error
Sep 15 10:55:47 badgersixtak5 (java)[278439]: traccar.service: Failed at step EXEC spawning /opt/traccar/jre/bin/java: Exec format error
Sep 15 10:55:47 badgersixtak5 systemd[1]: traccar.service: Main process exited, code=exited, status=203/EXEC
Sep 15 10:55:47 badgersixtak5 systemd[1]: traccar.service: Failed with result 'exit-code'.

This is the contents of my /conf/traccar.xml
There are only 4 variables in between the "Properties" tags

database.driver'>org.h2.Driver
database.url'>jdbc:h2:./data/database
database.user'>sa
database.password'

What am I missing. I am stuck right now.

Anton Tananaev a year ago

Seems like you're using the wrong architecture. What arch is your system and what variant of Traccar did you download?

BadgerSix a year ago

Thanks Anton. You were correct. I uninstalled and installed the ARM version and I am now in. Thanks for your feedback.