• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    How do I debug docker issues?

    Support
    1
    2
    130
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jkwhle23 last edited by

      I’ve installed monocle on docker from the offical images. I’m having INTERMITTENT problems with my camera not responding. I’d like to check the logs, unfortunately I see no way to get any help info on this:

      • dmesg - ‘klogctl: opperation not permitted’
      • /var/log/syslog - doesnt exist
      • journalctl - not found
      • /var/log/<any other logs> - nothing at all in /var/log
      • monocle-gateway --tail - /bin/sh: journalctl not found (inside container or out)
      • monocle-gateway --help - no idea why someone would have --help exec something instead of actually showing commands (in or out)
      • monocle-gateway --version - ‘unsuppored command arguments’ (in or out) ARRGGG!
      • man monocle-gateway - no man page
      • issues on github - they disabled the issues page on github and it loos like the repo hasn’t been updated in a year
      • I guess I would exec the container without in daemon mode and just watch the logs but when it retsarts it works. So this is a ton of work to just wait until my problem when I could just look for logs SOMEWHERE. But no idea where they are.

      Devs - I really appreciate this solution to get around amazon’s evil choices around their products --which is why i’ve donated – but there are STANDARD development practices that you’ve ignored that are making it really hard to fix problems.

      J 1 Reply Last reply Reply Quote 0
      • J
        jkwhle23 @jkwhle23 last edited by

        @jkwhle23 So it looks like using ‘docker logs <container id>’ is the best way to see logs. But now Im getting ‘uncaught Exception Invalid RTSP Request-Line’ errors. I’ll post a new thread.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Privacy Policy  |  Terms & Conditions

        © 2018 shadeBlue, LLC.