try install new traccar 3.16 have message ./setup.sh: 25: /opt/traccar/bin/installDaemon.sh: source: not found

Hi Anton,
this evening i've try new traccar 3.16on ubuntu 16.04 and have that message

./setup.sh: 25: /opt/traccar/bin/installDaemon.sh: source: not found.

and I'm sorry i think you're have wrong years type on the date update 10 march 2017 ( i think now is 2018) thanks

Turbovix7 years ago

You have tried the following command: #sudo service traccar start

Turbovix7 years ago

Remember to perform the installation you should use the following command: #sudo ./traccar.run

Turbovix7 years ago

*This error is actually present, and the service is not starting with the commands:

#systemctl start traccar

#service traccar start

However, if you access the following directory via the command line:

/etc/init.d/

And execute the following command, it will boot:

#sudo ./traccar start

Turbovix7 years ago

The error is in this line of the script:

traccar/setup/setup.sh

. /opt/traccar/bin/installDaemon.sh

Should be:

. /opt/traccar/bin/installDaemonD.sh

Or you can simply rename the file:

installDaemonD.sh

Anton Tananaev7 years ago

The issue is fixed:

https://github.com/tananaev/traccar/issues/3804

But the issue was not with the name of the script.

Turbovix7 years ago

You are right! I was wrong in the comments!
Thank you

hairydog7 years ago

I downloaded the traccar.run about 20 minutes ago and this error is there. I stopped it using etc/init.d and all was well. I'm not sure if I've hit another version of this bug or I downloaded too soon. The file is time stampted 19:58 today, which is earlier than the fix was mentioned, I think.

Anton Tananaev7 years ago

Try downloading it again.

hairydog7 years ago

I just downloaded it at 22:30 and the file inside the archive is still the one timestamped 19:58

Anton Tananaev7 years ago

What's the MD5 hash of the downloaded file?

hairydog7 years ago

Of the entire zip: 96f0c207ace8c65f29696e5fbc8bc73f

hairydog7 years ago

Of traccar.run fabeb5b5558229a007ef39923b95d3bf

hairydog7 years ago

I'm really sorry. This error is not the one I found. I must have confused two threads. The error I am seeing is

unable to execute /opt/traccar/bin/stopDaemonNoPriv.sh: No such file or directory

Which I see is completely separate.

@hairydog please try new download 3.16 again... i think anton already have fix this issue ( i've redownload and have successfull to install and start, but have error to stop : https://www.traccar.org/forums/topic/stop-traccar-error/#post-27979 )