• 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 SOLVED: Container Not Launching

    Pages (2): « Previous 1 2

     
    • 0 Vote(s) - 0 Average

    SOLVED: Container Not Launching

    I cannot get a basic container to launch and I am not sure why
    jkboi
    Offline

    Junior Member

    Posts: 11
    Threads: 1
    Joined: 2024 Mar
    Reputation: 1
    Country:United States
    #11
    2024-09-01, 10:53 PM (This post was last modified: 2024-09-01, 10:53 PM by jkboi.)
    It doesn't seem like docker is installed.  Docker compose seems to be though

    jkboyo@limitedpower:/srv/appdata/jellyfin$ sudo systemctl status docker
    [sudo] password for jkboyo:
    Unit docker.service could not be found.
    jkboyo@limitedpower:/srv/appdata/jellyfin$ sudo apt list --installed | grep docker

    WARNING: apt does not have a stable CLI interface. Use with caution in scripts.


    This is what I get when I do docker compose version

    jkboyo@limitedpower:/srv/appdata/jellyfin$ docker compose version
    Docker Compose version v2.20.3

    and then when I do docker --version I get this

    jkboyo@limitedpower:/srv/appdata/jellyfin$ docker --version
    Docker version 24.0.5, build ced0996

    So I dunno why it isn't showing anything.

    Do I have to activate it somehow?
    AGiLiT
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2023 Jun
    Reputation: 0
    Country:United States
    #12
    2024-09-01, 11:21 PM
    (2024-09-01, 10:18 PM)jkboi Wrote: This has nothing to do with that. This is a brand spanking new container on a server that hasn't had JF b4.  

    The error is actually docker related I'm just having trouble finding the reason I can't get the container to launch.

    Not so sure it's not related.  You could test by changing your install script where it says 'jellyfin:latest' to jellyfin:10.8.13' and seeing what happens...
    jkboi
    Offline

    Junior Member

    Posts: 11
    Threads: 1
    Joined: 2024 Mar
    Reputation: 1
    Country:United States
    #13
    2024-09-01, 11:32 PM (This post was last modified: 2024-09-01, 11:35 PM by jkboi. Edited 1 time in total.)
    (2024-09-01, 11:21 PM)AGiLiT Wrote:
    (2024-09-01, 10:18 PM)jkboi Wrote: This has nothing to do with that. This is a brand spanking new container on a server that hasn't had JF b4.  

    The error is actually docker related I'm just having trouble finding the reason I can't get the container to launch.

    Not so sure it's not related.  You could test by changing your install script where it says 'jellyfin:latest' to jellyfin:10.8.13' and seeing what happens...

    It isn't. Nothing docker related is working. I am able to connect to my 10.9 instance on another server I just do not know how to setup docker compose successfully.
    jkboi
    Offline

    Junior Member

    Posts: 11
    Threads: 1
    Joined: 2024 Mar
    Reputation: 1
    Country:United States
    #14
    2024-09-01, 11:50 PM
    So I think the issue is it seems docker is installed through snap for some reason instead of apt.

    Should I uninstall and reinstall through apt so stuff matches or just leave it as is?
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,167
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #15
    2024-09-02, 12:09 AM
    (2024-09-01, 11:21 PM)AGiLiT Wrote: Not so sure it's not related.  You could test by changing your install script where it says 'jellyfin:latest' to jellyfin:10.8.13' and seeing what happens...
    This sounds like a different issue than what the OP is facing.

    You updated to v10.9.# and one of your clients is refusing to connect.
    If you're not able to solve that, please open a new thread to see if anyone can provide you with help on how to fix that issue.

    The issue in this thread is that @jkboi can't get the container to launch with Docker. The Jellyfin version shouldn't matter here as:
    1. There is no previous version that is being migrated to a new container
    2. The latest v10.9 releases work well with Docker
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #16
    2024-09-02, 12:19 AM
    Uninstall the snap and follow Docker's docs to install via apt. Add their repo then install docker engine. You will also need to install the docker compose plugin.

    https://docs.docker.com/engine/install/ubuntu/
    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]
    jkboi
    Offline

    Junior Member

    Posts: 11
    Threads: 1
    Joined: 2024 Mar
    Reputation: 1
    Country:United States
    #17
    2024-09-02, 12:51 AM (This post was last modified: 2024-09-02, 01:19 AM by jkboi. Edited 1 time in total.)
    (2024-09-02, 12:19 AM)TheDreadPirate Wrote: Uninstall the snap and follow Docker's docs to install via apt.  Add their repo then install docker engine.  You will also need to install the docker compose plugin.

    https://docs.docker.com/engine/install/ubuntu/

    It is getting somewhere now!!!!!! Thank you so much for your help! I am now getting this permissions error.

    jkboyo@limitedpower:/srv/appdata/jellyfin$ docker compose up
    permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.46/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.config-hash%22%3Atrue%2C%22com.docker.compose.project%3Djellyfin%22%3Atrue%7D%7D": dial unix /var/run/docker.sock: connect: permission denied

    you did fix my main issue now though so thank you!

    It launched when I ran it with sudo. Is this something I should change with a permission or something or should I always sudo docker compose up
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #18
    2024-09-02, 01:27 AM (This post was last modified: 2024-09-02, 01:27 AM by TheDreadPirate.)
    There will be a "docker" group. Add your user to the docker group then you don't have to use sudo for docker commands. You will have to log out and log back in for the change to take affect.
    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]
    jkboi
    Offline

    Junior Member

    Posts: 11
    Threads: 1
    Joined: 2024 Mar
    Reputation: 1
    Country:United States
    #19
    2024-09-02, 01:46 AM
    (2024-09-02, 01:27 AM)TheDreadPirate Wrote: There will be a "docker" group.  Add your user to the docker group then you don't have to use sudo for docker commands.  You will have to log out and log back in for the change to take affect.

    Thank you again so much! I was bashing my head against a wall it felt trying to test everything! I appreciate the help!
    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