Traccar 4.1 not working for ARM (java Illegal instruction)

Emanuel Barros6 years ago

I'm using a RPi B
Traccar works great in my VM (x86) but no in my Pi (ARM)

root@DietPi:/opt/traccar/jre/bin# ./java
Illegal instruction

Anton Tananaev6 years ago

What version of Traccar are you using? What architecture?

Emanuel Barros6 years ago
Emanuel Barros6 years ago

If you want i can give you access to my rpi

Anton Tananaev6 years ago

Is you Pi using ARMHF or ARMEL? You might need to use manual installation option.

Emanuel Barros6 years ago

It's armhf

Manual installation
https://www.traccar.org/manual-installation/
or VPS instalation?
https://www.traccar.org/install-digitalocean/

I will install java manually and will try that way.

Emanuel Barros6 years ago

https://github.com/traccar/traccar/blob/master/setup/package.sh

package_linux_arm () {
  info "Building Linux ARM installer"
  package_linux armhf arm
  ok "Created Linux ARM installer"
}

Should work with my hardware.