• 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 New docker container keeps restarting

    Pages (2): « Previous 1 2

     
    • 0 Vote(s) - 0 Average

    New docker container keeps restarting

    amminadabz
    Offline

    Junior Member

    Posts: 10
    Threads: 1
    Joined: 2024 Jul
    Reputation: 0
    Country:United States
    #11
    2024-07-12, 01:21 AM
    Just the one NIC. No web console on those two ips, loads for a while though.

    Code:
    enp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 192.168.68.82  netmask 255.255.252.0  broadcast 192.168.71.255
            inet6 fe80::428d:5cff:feda:4162  prefixlen 64  scopeid 0x20<link>
            inet6 fd7f:f43:ce81:2c33:ed9:7bff:8883:a972  prefixlen 64  scopeid 0x0<global>
            inet6 fd7f:f43:ce81:2c33:428d:5cff:feda:4162  prefixlen 64  scopeid 0x0<global>
            ether 40:8d:5c:da:41:62  txqueuelen 1000  (Ethernet)
            RX packets 497041  bytes 465231282 (443.6 MiB)
            RX errors 0  dropped 13291  overruns 0  frame 0
            TX packets 227818  bytes 84103067 (80.2 MiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

    lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 8110134  bytes 37968101901 (35.3 GiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 8110134  bytes 37968101901 (35.3 GiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #12
    2024-07-12, 01:45 AM
    Ok. Let's go a different route. Let's try for a docker compose setup.

    Stop the jellyfin container. Verify that the compose plugin is installed with "sudo docker compose version. If so, in /home/evanm/jellyfin create a file called docker-compose.yml and copy and paste the code block below into it.

    Code:
    services:
      jellyfin:
        image: jellyfin/jellyfin
        container_name: jellyfin
        user: 1000:1000
        network_mode: host
        volumes:
          - /home/evanm/jellyfin/config:/config
          - /home/evanm/jellyfin/cache:/cache
          - /media/raid/movies:/movies
          - /media/raid/music:/music
        restart: 'unless-stopped'

    Once you've done that, let's clean up docker a bit with "sudo docker system prune -a". Once it finishes running, while in /home/evanm/jellyfin type in "sudo docker compose up -d".
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    amminadabz
    Offline

    Junior Member

    Posts: 10
    Threads: 1
    Joined: 2024 Jul
    Reputation: 0
    Country:United States
    #13
    2024-07-12, 01:56 AM
    Still stuck restarting, but now it shows as a multi-container application with only one container in it.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #14
    2024-07-12, 02:03 AM
    Try adding this line to the docker compose then down and up the container.

    Code:
    # Optional - may be necessary for docker healthcheck to pass if running in host network mode
        extra_hosts:
          - 'host.docker.internal:host-gateway'

    Also, do you have any other containers installed? Ones that could possibly be restarting unhealthy containers? Like autoheal?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    amminadabz
    Offline

    Junior Member

    Posts: 10
    Threads: 1
    Joined: 2024 Jul
    Reputation: 0
    Country:United States
    #15
    2024-07-12, 02:33 AM
    Same result. Only other application in docker is Immich.


    Attached Files Thumbnail(s)
       
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #16
    2024-07-12, 02:43 AM
    Go to /home/evanm/jellyfin/config and share the jellyfin log there via pastebin.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    amminadabz
    Offline

    Junior Member

    Posts: 10
    Threads: 1
    Joined: 2024 Jul
    Reputation: 0
    Country:United States
    #17
    2024-07-12, 02:49 AM
    There is no such file, config directory is empty.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #18
    2024-07-12, 03:05 AM
    I only use docker on the command line, does docker desktop show you where logs are located? Is the jellyfin even starting? Or is docker failing before jellyfin can even start?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    amminadabz
    Offline

    Junior Member

    Posts: 10
    Threads: 1
    Joined: 2024 Jul
    Reputation: 0
    Country:United States
    #19
    2024-07-12, 03:10 AM
    Found the logs. https://pastebin.com/wuQtn0EV
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #20
    2024-07-12, 03:09 PM
    Looks like the container doesn't have permissions to the path where you mounted /config.

    Code:
    2024-07-11 21:27:51 Unhandled exception. System.UnauthorizedAccessException: Access to the path '/config/log' is denied.
    2024-07-11 21:27:51  ---> System.IO.IOException: Permission denied

    And possibly the same for /cache.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Pages (2): « Previous 1 2

    « 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