Coder Social home page Coder Social logo

Comments (3)

acasandreiflorin avatar acasandreiflorin commented on August 22, 2024 2

Hello,
I installed traccar on my synology nas through docker (https://hub.docker.com/r/magnaz/traccar/)
The service is online and I find the server at the internal IP: http://192.168.1.103:55000/

But: How to find my device in log file (tracker-server.log)?
I'm not a great expert ... sorry !!

Hi there,
After a bit of trial and error, I managed to have my Synology docker running traccar.
The way it worked for me was to create the folders docker/traccar/logs and docker/traccar/conf in the Synology interface with their corresponding mount path /opt/traccar/logs and /opt/traccar/conf as showed in the capture below:
image
Neverthless starting the container at this point it fails with an error that no traccar.xml file is found. To fix this I just saved the default ones traccar.xml and default.xml from the github in the conf folder docker/traccar/conf
Both files traccar.xml and default.xml can be found here: https://github.com/traccar/traccar/tree/master/setup
Consider taking the content as raw in a notepad as save it in your synology.
Restarting the container will go fine after and you will find the logs under the docker/traccar/logs folder.
I hope this helps
Cheers,
Florin

from traccar-docker.

corvankruchten avatar corvankruchten commented on August 22, 2024

Did you find it? I'm searching as well....

from traccar-docker.

dough29 avatar dough29 commented on August 22, 2024

You can find log files in "/opt/traccar/logs/" folder within your container.

Try this command :

docker exec -it <CONTAINER> tail -f /opt/traccar/logs/tracker-server.log

from traccar-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.