Just provide a full path to it.
Thanks for a quick reply Anton, please tell me if I'm wrong with the following:
This is the command I used in Terminal:
java -jar /Users/IanPither/Traccar/tracker-server.jar /Users/IanPither/Traccar/conf/traccar.xml
If default.xml is in the 'conf' folder with traccar.xml surely the full path is exactly the same? /Users/IanPither/Traccar/conf/default.xml
However, I get the error message.
By the way I am dragging the files into Terminal to avoid schoolboy errors with spelling etc. but I can't do that with traccar.xml
I'd be eternally grateful if you'd type exactly what I need
None of the examples you provided in your first comment have correct full path:
/Users/IanPither/Traccar/conf/default.xml
What am I missing here?
I've performed command+i to get the full path of the file it's:
Macintosh HD/Users/IanPither/Traccar/conf/default.xml
I've tried it with Macintosh HD added and still the same, please could you advise me what you'd put in as the path Anton.
I really appreciate your help.
Take path from my last comment.
Ok, now I understand, the power of a / thanks Anton.
It now processes with the same error for ./logs/tracker-server.log (No such file or directory)
The log folder is actually empty so its not lying
This is in the default.xml file along with another one the same ./schema/changelog-master.xml
Do I need to change both of these to the full paths? I'm trying to take your advice and not change anything in the default file unless I know what I'm doing :-)
The best option would be to run Traccar from the same folder where you have JAR file. That way you don't need to change anything.
Am I not then?
JAR file is in Traccar, conf, logs and schema are folders in Traccar
The folder Traccar is 127.0.0.1 where the database resides
No, you are clearly not. Do this:
cd /Users/IanPither/Traccar/
java -jar tracker-server.jar conf/traccar.xml
Are you sure you want to host a server yourself? It requires certain level of technical expertise.
HaHa, do I detect a level of sarcasm Anton
I'm a sponge for information, I like to be able to learn how to do things myself.
I'll try your last instruction, then head over to subscribe at $50 a month
I caved in Anton, I got it to process without the errors...... yay!!!
Then it said wrong database and couldn't create the tables....
I've ordered the server at $50 now and would like to forget the last 3 days of my life, what happens next? I'd like to have my domain in the url I understand thats possible?
I've sent you an email with some questions.
The error is:
It's in the same folder as traccar.xml and I've amended the path several times, each time the error in terminal displays the amended path so I know for sure that traccar.xml has been found.
Default location of default.xml in traccer.xml is:
As it's in the same folder as traccar.xml I've amended it to:
I've also tried:
Can anybody please help with how the path should look?