The Home Assistant Discord chat server for general Home Assistant discussions and questions.The Home Assistant Community Add-ons Discord chat server for add-on support and feature requests.Questions? You have several options to get them answered: You can always try to get support from the community here at the Home Assistant community forums, join the conversation! Be sure to change the username, email, and password!.Click the “OPEN WEB UI” button and log in using admin/ admin.Check the logs of the “Traccar” add-on to see if everything went well.Search for the “Traccar” add-on in the add-on store and install it.Ensure you have the official “MariaDB” add-on installed and running!.The installation of this add-on is pretty straightforward and not different in comparison to installing any other add-on. AND! With the Home Assistant traccar component (introduced in 0.83) the data in Traccar will be sent back into your Home Assistant instance as well. Traccar also has native mobile apps available for Android and iOS platforms so that you can track those as well. You can select GPS trackers from a variety of vendors from low-cost Chinese models to high-end quality brands. Traccar supports more protocols and device models than any other GPS tracking system on the market, straight from your Home Assistant instance. When I look into the rvice file I see indeed the following:Ĭan I just change the rvice and save it?Īnd which is the correct path to be used? (usr/bin/java or usr/share/java?)Īnd of course I have to save the modified file somewhere else in case I will do in future another traccar download installation.Traccar is modern GPS Tracking Platform, which is now available as an add-on and allows you to run your GPS Tracking software without any cloud. (In the meanwhile I have given the commands:īoth were successful but did not change anything in the "sudo systemctl start traccar" command) Now the question is: which one is the correct path to the non-self-installed java? To my opinion that gives 2 locations: (the last one probably is not an application launcher?)Īs you know I installed one package my selves and, I guess, the other one probably was included in the traccar download. Java: /usr/bin/java /usr/share/java /usr/share/man/man1/java.1.gz (OR, just "java" instead of the whole path to /opt/traccar/jre/bin/ or whatever your whereis java command returns) Try both if the first doesn't work please. If you replace the ExecStart line with the result from "whereis java" and leave the rest of the line intact, it might work. It's in /etc/systemd/system/rvice.ĮxecStart=/opt/traccar/jre/bin/java -jar tracker-server.jar conf/traccar.xml Secondly, please check the systemd script for traccar. It's probably different than the one in /opt/traccar/jre/bin. Please check, as root, "whereis java" <- This command should tell you where your java executable is. But nevermind, since you already reinstalled, it's not an issue. Shit luck :) You could have replaced the password hash in the database directly, but I'm not sure which hashing scheme is used. But that will take another (couple of?) day(s?). So that will leave only the option to start an init script I gues. Therefore I started the tracker-server.jar file manually by means of the (self installed) java launcher.Īnd the "sudo systemctl enable traccar" does not work either to start automatically at reboot. The "sudo systemctl start traccar" command does not work. How come? Is it because I closed the Terminal while it was still systemctl is-active traccar Some remarkable issues: the traccar system remains in the "actvating" mode. I have no experience (yet) with init scripts or the use of systemd therefore I studied the sysytemctl commands today. I am happy that all steps I made before are now understandable to me and especially repeatable. Therefore I installed java with the following command:Īfter this I could install the traccar server again by means sudo java -jar /opt/traccar/tracker-server.jar /opt/traccar/conf/traccar.xml Therefore I installed Linux Desktop Ubuntu 20.10 again.Īfter the usual instructions, the outcome was that in the correct folder (/opt/traccar/jre/bin) the java command was not found. (The system kept remembering me with the wrong password). After login in with admin, admin, I made a typing error in the password and logged out.Īfter various trials, I decided to install the traccar server again. I was also able to restart the server (manually) after a restart of my Raspberry.Īfter that I made a "big mistake". This morning the system was still running.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |