• 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: unable to find user in passwd file (docker compose)

     
    • 0 Vote(s) - 0 Average

    SOLVED: unable to find user in passwd file (docker compose)

    Pollo
    Offline

    Junior Member

    Posts: 14
    Threads: 3
    Joined: 2024 Oct
    Reputation: 0
    Country:United States
    #3
    2024-12-18, 05:17 AM (This post was last modified: 2024-12-18, 05:21 AM by Pollo. Edited 1 time in total.)
    (2024-12-18, 03:10 AM)theguymadmax Wrote: In the terminal, type: id
    This will display your UID and GID, which you can then enter for the user. See the example below:


    Code:
    services:
      jellyfin:
        image: jellyfin/jellyfin:latest
        container_name: jellyfin
        user: 1000:1000
        group_add:
          - "992" #render
        network_mode: 'host'
        volumes:
          - /home/max/docker/Jellyfin/Config:/config
          - /home/max/docker/Jellyfin/Cache:/cache
          - /media/Media:/Media
        restart: 'unless-stopped'
        devices:
          - /dev/dri/renderD128:/dev/dri/renderD128

    Thank you, that seemed to work! However I'm getting a new error now

    Code:
    jellyfin  | Unhandled exception.
    jellyfin  | System.UnauthorizedAccessException: Access to the path '/config/log' is denied.
    jellyfin  |  ---> System.IO.IOException: Permission denied
    jellyfin  |    --- End of inner exception stack trace ---
    jellyfin  |    at System.IO.FileSystem.CreateDirectory(String fullPath, UnixFileMode unixCreateMode)
    jellyfin  |    at System.IO.Directory.CreateDirectory(String path)
    jellyfin  |    at Jellyfin.Server.Helpers.StartupHelpers.CreateApplicationPaths(StartupOptions options)
    jellyfin  |    at Jellyfin.Server.Program.StartApp(StartupOptions options)
    jellyfin  |    at Jellyfin.Server.Program.<Main>(String[] args)
    jellyfin exited with code 139

    I tried changing the directories, creating them, and disable + re-enabling docker through snap, but I still get the same error. I'm not sure if this change is correct or if I need to make the /config/log directory.
    Code:
    volumes:
          - /var/snap/docker/common/var-lib-docker/volumes/jellyfin-config:/var/log/docker/jellyfin/config
          - /var/snap/docker/common/var-lib-docker/volumes/jellyfin-cache:/var/log/docker/jellyfin/cache
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    unable to find user in passwd file (docker compose) - by Pollo - 2024-12-18, 02:49 AM
    RE: unable to find user in passwd file (docker compose) - by theguymadmax - 2024-12-18, 03:10 AM
    RE: unable to find user in passwd file (docker compose) - by Pollo - 2024-12-18, 05:17 AM
    RE: unable to find user in passwd file (docker compose) - by theguymadmax - 2024-12-18, 05:02 PM
    RE: unable to find user in passwd file (docker compose) - by Pollo - 2024-12-19, 01:02 AM

    • 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