Traccar Server 3.8 installation on raspberry?

uid65252 9 years ago

I tried die install traccar server 3.8 on a raspberry but could not find a file
traccar-linux-arm-3.8.zip

will it be published?

Anton Tananaev 9 years ago

It's not required. Just install regular Linux version.

uid65252 9 years ago

Hello Anton
thanks for your quick answer.
You are doing a great job here.

i hope i can setup it on my raspberry with my less knowled

richardvertigan 9 years ago

If it's helpful, I updated my RaspberryPi from 3.7 to 3.8 by taking the following steps...

First I backed up the config files. Then...

sudo wget https://github.com/tananaev/traccar/releases/download/v3.8/traccar-linux-3.8.zip
sudo unzip traccar-linux-3.8.zip
sudo ./traccar.run

Then I edited the new config files (traccar.xml and default.xml) to put my specific changes back from my 3.7 installation.

sudo /opt/traccar/bin/traccar stop
sudo /opt/traccar/bin/traccar start
sudo reboot

(For some reason I then had to reboot to get traccar working, but it worked immediately after rebooting)

Anton Tananaev 9 years ago

File "/opt/traccar/bin/traccar" doesn't exist anymore. To start service you can use following script:

/opt/traccar/bin/startDaemon.sh
qhenry 9 years ago

What Java versions and packages are needed? 7, 8, headless jre?

Any help would be great.

Anton Tananaev 9 years ago

You need Java 7 or higher.

qhenry 9 years ago

Sorry, I missed that... You have it plainly listed for Raspberry Pi 3 oracle-java7-jdk when using the linux install.

Just installed the LINUX 3.10 on a new Raspberry Pi 3, Raspian "Jessie lite" image and it works great!

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install apache2
sudo apt-get install php5
sudo apt-get install libapache2-php5-mod
sudo apt-get install oracle-java7-jdk
/opt/traccar/bin/startDaemon.sh

browse to ip:8082 to view maps and used port 5055 for incoming phone GPS data.

Thank you for doing such great work on this project.

Anton Tananaev 9 years ago

You don't need Apache and PHP for Traccar.

huismori 9 years ago

How can I make Traccar auto restart when raspberry power on ?

Tahnks

Anton Tananaev 9 years ago

It should auto-start by default if you installed it using official installer.

qhenry 9 years ago

The new install I mentioned earlier started automatically with nothing additional needed. Nice!