Can't install traccar service! (Traccar 4.6)

Rob Lopez5 years ago

I'm trying to install traccar on a VPS, but after unzip the traccar file, and i run, ./traccar.run, doesn't work, just show me this:

root@secovisa:~# unzip traccar-linux-64-4.6.zip 
Archive:  traccar-linux-64-4.6.zip
  inflating: traccar.run             
  inflating: README.txt              
root@secovisa:~# ./traccar.run 
Creating directory out
Verifying archive integrity...  100%   All good.
Uncompressing traccar  100%  
Created symlink /etc/systemd/system/multi-user.target.wants/traccar.service → /etc/systemd/system/traccar.service.

But after, i follow the next steps, and when i want to start service, return to me an error, that i cant start the service, does anyone see the same?

Anton Tananaev5 years ago

Sounds like installation worked just fine. What's the error when you start the service? Have you already checked Traccar and system logs?

Rob Lopez5 years ago

When i start the service with
systemctl start traccar.service

i got the next error

-bash: /opt/traccar/bin/stopDaemon.sh: No such file or directory

I've followed the steps written in the documentation... I'm running this in Linux Ubuntu 18.4 Operating System, thanks for the support

Anton Tananaev5 years ago

Looks like you haven't uninstalled old version properly.

Rob Lopez5 years ago

Thanks for the support, i was able to run it,

I think you were right!