The easiest option is just to replace JAR file with your new one.
Dear Sir.
I Did try that, but ...
All registered device is missing from list.
When I put back the old jar, all devices back in list.
Sincerely
-bino-
If you build from master branch, you need to update config as well. I would recommend to base your changes on the tag corresponding to installed version.
Dear Anton
Do you meant the /opt/traccar/conf/traccar.xml ?
Sincerely
-bino-
Yes, that's the config.
Hello how are you?
The same thing happens , but I could not fix it.
I do not get the recommended solution here .
The problem : No vehicle list
You can see the image Warning
Thank you very much!
sorry for my English
You can ignore those warnings. They have nothing to do with your problem.
thanks for the reply.
the problem is: In the version I just compile the devices are not displayed.
If I add a new one is in the database , but do not list.
Thank you
Well, you need to debug the problem. I suggest to look at the browser developer console to see if API calls are successful.
All I did was :
-remplazar the .jar by the new compilation .
before doing that worked well with the previous version
Everything looks fine. What version are you using?
The 3.4 , newly beginning.
With the jar of setup works well .
with not compiled .
I saw something that you have to update the traccar.xml ?
If you are compiling from "master" branch, obviously you need to update everything including config file.
that was my problem, was compiling all the master .
now I run me .
another query esoy testing with GPS GT06 , but my gps to stop the engine is with the command:
case Command.TYPE_ENGINE_STOP:
return encodeContent("#stopelec#123456#");
case Command.TYPE_ENGINE_RESUME:
return encodeContent("#supplyelec#123456#");
Feds look in the protocols ,
and sends this:
2016-04-10 13:44:09 INFO: [CFEA3EDA] command type: engineStop, id : 2 sent
2016-04-10 13:44:09 DEBUG: [CFEA3EDA: 5023 > 152.156.242.65] HEX: 78781b8015000000002373746f70656c65632331323334353623000076d50d0a
but it does not work
Dear All ...
I have installed Traccar from downloaded installer.
I move this to another directory (let's say /opt/traccar.orig)
I did a git clone to /usr/local/src/traccar
Compile it, until I got :
Looks like compile process is ok.
Next, from /usr/local/src/traccar , I run : setup/unix/setup.sh
I Got :
root@bino:/usr/local/src/traccar# setup/unix/setup.sh
/usr/bin/java
setup/unix/setup.sh: 14: setup/unix/setup.sh: /opt/traccar/bin/traccar: not found
rm: cannot remove ‘/opt/traccar/setup.sh’: No such file or directory
So, How to install new compiled traccar to /opt/traccar ?
Sincerely
-bino-