Constantly have to login - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +--- Thread: Constantly have to login (/t-constantly-have-to-login) |
Constantly have to login - yawhide - 2024-12-02 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:
any idea what is going on? thanks! RE: Constantly have to login - schnappi - 2024-12-02 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. RE: Constantly have to login - TheDreadPirate - 2024-12-02 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? RE: Constantly have to login - qwerty12 - 2024-12-02 (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 RE: Constantly have to login - yawhide - 2024-12-03 (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? RE: Constantly have to login - TheDreadPirate - 2024-12-03 Is there any particular reason you are using WSL+docker instead of running on Windows directly? RE: Constantly have to login - yawhide - 2024-12-03 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 |