Can't install or upgrade to Traccar 6.0

Mindreader8 months 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 ?

Turbovix8 months ago
Anton Tananaev8 months ago
  1. Check logs
  2. If not logs, try running manually and see the command line output
Mindreader8 months 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 Tananaev8 months ago
Anton Tananaev8 months ago

What architecture is your OS?

Kublach8 months ago

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

Mindreader8 months 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 Tananaev8 months ago

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

Mindreader8 months ago

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

Mindreader8 months ago

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

heiko8 months 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...

Mindreader8 months ago

Take a 64 bit OS for your Pi