• 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 Constantly have to login

     
    • 0 Vote(s) - 0 Average

    Constantly have to login

    yawhide
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Dec
    Reputation: 0
    #1
    2024-12-02, 01:50 AM
    Howdy,

    I am trying to setup jellyfin on docker on a windows 11 machine using the wsl2 integration. I can access jellyfin web through a local IP (eg 192.168.1.15:8096).
    I have two issues:
    1. when i restart my computer, my existing user/pass doesnt work. So I have redo the setup wizard
    2. after doing 1., I have to login everytime I refresh my page (like doing cmd+r on my mac laptop)


    My docker compose:


    jellyfin:
        image: jellyfin/jellyfin:latest
        container_name: jellyfin
        environment:
          - PUID=1000
          - PGID=1000
          - UMASK=002
          - TZ=America/Toronto
        volumes:
          - /mnt/f/config/jellyfin-configConfused-faceconfig
          - /mnt/f/data/mediaConfused-facedata/media
        ports:
          - "8096:8096"
        restart: unless-stopped


    any idea what is going on?

    thanks!
    schnappi
    Offline

    Junior Member

    Posts: 11
    Threads: 2
    Joined: 2024 Dec
    Reputation: 0
    #2
    2024-12-02, 02:13 AM
    Not an expert on docker, but it appears that the data directory (/etc/jellyfin equivalent) is not surviving the initial setup or even being saved at all.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #3
    2024-12-02, 10:32 PM
    While it is running, on the Window side can you check that files are, in fact, writing to the F:\config\jellyfin-config? What happens when you stop the container?
    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]
    qwerty12
    Offline

    Junior Member

    Posts: 30
    Threads: 0
    Joined: 2023 Jun
    Reputation: 3
    #4
    2024-12-02, 11:03 PM
    (2024-12-02, 01:50 AM)yawhide Wrote: I am trying to setup jellyfin on docker on a windows 11 machine using the wsl2 integration.

    https://jellyfin.org/downloads/windows
    yawhide
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Dec
    Reputation: 0
    #5
    2024-12-03, 12:39 AM (This post was last modified: 2024-12-03, 12:54 AM by yawhide. Edited 3 times in total.)
    (2024-12-02, 10:32 PM)TheDreadPirate Wrote: While it is running, on the Window side can you check that files are, in fact, writing to the F:\config\jellyfin-config?  What happens when you stop the container?

    The files are all there still. I can see differences in modified date.
    for example:
    f:\config\jellyfin-config\log has a modified date of today (dec 2) because, i assume, a new log file gets created per day. and i can read the logs from the windows side.
    f:\config\jellyfin-config\config has a modified date of yesterday (dec 1) because, i assume, no configurations changed when I just started the docker image.

    i was looking at the log mentioned above from today (dec 2) and i am seeing errors:
    cannot find part of the path /data/media/movies
    cannot find part of the path /data/media/tv

    this makes no sense because yesterday (dec 1) i was able to _watch_ a movie from that very directory!
    so it seems there is some kind of issue where docker is not able to read from the windows filesystem properly?

    (1 minute later)
    ok i restared the jellyfin container and now i see no errors when watching directory /data/media/movies. 
    unfortunately, the creds i setup yesterday are invalid now...

    is there maybe a race condition? docker starts and runs the jellyfin container before windows 'starts' the wsl2 os?

    (10 mins later)
    I set the flag in system.xml to re-show the setup wizard. while i was going through the wizard, it already had my library settings setup (tv/shows). so it seems i found a ?bug?. for whatever reason, i somehow break my user whenever i turn on my computer.

    any ideas how to fix this?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-12-03, 02:26 PM
    Is there any particular reason you are using WSL+docker instead of running on Windows directly?
    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]
    yawhide
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Dec
    Reputation: 0
    #7
    2024-12-03, 11:40 PM
    docker is better? and i can easily switch my setup to ubuntu when the time comes.

    for windows, i was getting permission issues where I can to kill the sonarr/radarr processes and run them as admin to make move files properly
    « 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