• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Log files on docker

     
    • 0 Vote(s) - 0 Average

    Log files on docker

    Solving a crash via log files
    pendletongs
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2023 Jun
    Reputation: 0
    Country:Ireland
    #1
    2024-01-24, 05:27 PM
    I have been using the Jellyfin Docker image (currently on 10.8.13) on a Mac Mini M2 for several months now and it has generally been successful and smooth sailing.
    I have however had 1 issue that while annoying hasn't been showstopping, until earlier this week. Previously the docker container would restart randomly, sometimes while scanning a new film, sometimes while watching one but it was a once a week occurrence. Annoying but not major.
    Now, it is doing this every few hours. I'm guessing that the process crashes and because the docker container is set to restart 'unless-stopped' it just starts up again.
    I have changed the log level to Debug and that gives me a bit more information around the time of the crash but there is nothing (like a Fatal log) between the last INF or DBG log and the subsequent startup INF log. There is nothing obvious happening and not always anything obviously common between the events.
    My question is, are there other logs to analyse other than the one in /config/log which the Docker Desktop log viewer is showing.

    Thanks
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #2
    2024-01-24, 05:35 PM
    https://docs.docker.com/config/containers/logging/
    pendletongs
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2023 Jun
    Reputation: 0
    Country:Ireland
    #3
    2024-01-24, 05:47 PM
    Thanks for the quick reply. Unfortunately docker logs just returns the same logs that I am seeing in Docker Desktop (and in the /config/logs folder).
    I was wondering whether there some log somewhere that captured the event as it crashed the jellyfin process, or some way of enabling that capture.
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #4
    2024-01-24, 05:56 PM
    if the message/event was not recorded in stdout or stderr then follow up with docker logs

    https://docs.docker.com/config/daemon/logs/
    (the next link below the last one)
    pendletongs
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2023 Jun
    Reputation: 0
    Country:Ireland
    #5
    2024-01-24, 06:10 PM (This post was last modified: 2024-01-24, 06:13 PM by pendletongs. Edited 1 time in total.)
    Very useful, thanks.

    On seeing the daemon logs I initially thought that it might be to do with the healthcheck.
    On monitoring the log shows that the following item appears where I believe today's restarts occurred (it certainly appeared when it just restarted a few minutes ago)

    Code:
    [2024-01-24T18:05:07.000926377Z][dockerd][I] time="2024-01-24T18:05:06.995512919Z" level=info msg="ignoring event" container=222c8bec49cd9e6a7263405cc015e0e5978fc23c11c6f3413af631b3e04aed1b module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"

    I think I can sort of see where this might be going but I don't suppose you know why this is happening?
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode