Can't install or upgrade to Traccar 6.0

Mindreadera year ago

Hello, maybe someone can help me !?
If I want upgrade or install Traccar to v.6.0 I (Guide for Installation under Linux) Traccar is not available (Error-Connection failure).
Under Traccar Service Status I get

traccar.service - traccar
     Loaded: loaded (/etc/systemd/system/traccar.service; enabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Wed 2024-04-10 19:24:57 BST; 3s ago
    Process: 841 ExecStart=/opt/traccar/jre/bin/java -jar tracker-server.jar conf/traccar.xml (code=exited, status=203/EXEC)
   Main PID: 841 (code=exited, status=203/EXEC)
        CPU: 8ms

What is the Problem ?

Turbovixa year ago
Anton Tananaeva year ago
  1. Check logs
  2. If not logs, try running manually and see the command line output
Mindreadera year ago

I installed the latest java, but same problem. There is no Log in the Log directory. What du you mean with "try running manually" and how ?

Anton Tananaeva year ago
Anton Tananaeva year ago

What architecture is your OS?

Kublacha year ago

Do you have this file "/opt/traccar/jre/bin/java"?
Maybe you deleted it...

Mindreadera year ago

The manually installation say "Error: Unable to access jarfile tracker-server.jar"
My OS is raspios-bullseye-armhf-lite.
Directory /opt/traccar/jre/bin/java is installed.

Anton Tananaeva year ago

Is that 32 bit or 64 bit? We don't support 32 bit anymore.

Mindreadera year ago

Ok, It's 32 bit. That would be the Problem. I install new Image and will see ...
Thank you

Mindreadera year ago

Yes, it was the 32 bit System, now it runs. Thank you all.

heikoa year ago

Hello,
i have the same error message (code=exited, status=203/EXEC) after upgrading from 5.12 to 6.1 (traccar-linux-arm-6.1.zip) on a Raspberry Pi3B+ with Debian 12.5, 32-bit
To make it work again, i installed Java. Then I had to change the entry in: etc/systemd/system/traccar.service from:

ExecStart=/opt/traccar/jre/bin/java -jar tracker-server.jar conf/traccar.xml 

to:

ExecStart=/usr/bin/java -jar tracker-server.jar conf/traccar.xml.

Java does not seem to work under /opt/traccar/jre/bin/java, although it exists...

Mindreadera year ago

Take a 64 bit OS for your Pi