[Issue]: Redirected to quick start even though quick start has already been completed. #4091

Closed
opened 2026-02-07 00:24:27 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @Danacus on GitHub (Aug 7, 2022).

Please describe your bug

I recently migrated from a native Linux install of Jellyfin to podman. Everything is working well for clients that are already logged in, but when I try to connect with a new client (e.g. by clearing browser storage or logging out), I am redirected to quick start page. If I would try to complete the quick start, it naturally fails, because I've already completed it (the config file confirms this).

Jellyfin logs nothing of this action (even at debug level), which is a bit odd, perhaps jellyfin-web is working, but I can't connect to jellyfin unless I was already logged in? I don't really know what's going on here.

Edit: When opening http://localhost:8096/system/info/public, it returns the following:

{"LocalAddress":"http://127.0.0.1:8096","ServerName":"f94c204756af","Version":"10.8.3","ProductName":"Jellyfin Server","OperatingSystem":"Linux","Id":"857a909c48ef4807b52bcfe2e2c0635c","StartupWizardCompleted":false}

It looks like jellyfin claims the startup wizard has not been completed, however the config file states otherwise:

<?xml version="1.0" encoding="utf-8"?>
<ServerConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <LogFileRetentionDays>3</LogFileRetentionDays>
  <IsStartupWizardCompleted>true</IsStartupWizardCompleted>
  <EnableMetrics>false</EnableMetrics>
  <EnableNormalizedItemByNameIds>true</EnableNormalizedItemByNameIds>
  <IsPortAuthorized>true</IsPortAuthorized>
  <QuickConnectAvailable>true</QuickConnectAvailable>
  <EnableCaseSensitiveItemIds>true</EnableCaseSensitiveItemIds>
  <DisableLiveTvChannelUserDataName>true</DisableLiveTvChannelUserDataName>
[...]

I suspect I somehow managed to get jellyfin in an inconsistent state where the startup wizard is both completed and not completed. Any ideas on how to fix this?

Jellyfin Version

10.8.0

if other:

No response

Environment

- OS: Fedora 36
- Virtualization: Podman
- Clients: All
- Browser: All
- Reverse Proxy: none
- Base URL: none

Jellyfin logs

No response

FFmpeg logs

No response

Please attach any browser or client logs here

main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 Stored JSON credentials: {"Servers":[{"DateLastAccessed":1659893279377,"LastConnectionMode":2,"ManualAddress":"http://localhost:8096","manualAddressOnly":true,"Name":"f0cbc434c56e","Id":"857a909c48ef4807b52bcfe2e2c0635c","LocalAddress":"http://127.0.0.1:8096"}]}
main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 Begin ConnectionManager constructor
main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 Translation dictionary is empty.
Te @ main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2
main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 Translation dictionary is empty.
Te @ main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2
main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 Translation dictionary is empty.
Te @ main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2
main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 Translation dictionary is empty.
Te @ main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2
main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 Translation dictionary is empty.
Te @ main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2
main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 Translation dictionary is empty.
Te @ main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2
main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 Translation dictionary is empty.
Te @ main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2
main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 Translation dictionary is empty.
Te @ main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2
main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 returning instance from getOrAddApiClient
main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 defining core routes
main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 loading installed plugins
main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 loading packages
main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 getTryConnectPromise http://localhost:8096
main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 ConnectionManager requesting url: http://localhost:8096/system/info/public
main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 fetchWithTimeout: timeoutMs: 20000, url: http://localhost:8096/system/info/public
main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 fetchWithTimeout: succeeded connecting to url: http://localhost:8096/system/info/public
main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 ConnectionManager response status: 200, url: http://localhost:8096/system/info/public
main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 Reconnect succeeded to http://localhost:8096
main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 returning instance from getOrAddApiClient
main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 Setting server address to http://localhost:8096
main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 resolving connectToServers with result.State: ServerSignIn
main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 Requesting http://localhost:8096/Startup/Configuration
main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 Requesting http://localhost:8096/Localization/Options
main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 Error opening web socket: Error: Cannot open web socket without access token.

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
Originally created by @Danacus on GitHub (Aug 7, 2022). ### Please describe your bug I recently migrated from a native Linux install of Jellyfin to podman. Everything is working well for clients that are already logged in, but when I try to connect with a new client (e.g. by clearing browser storage or logging out), I am redirected to quick start page. If I would try to complete the quick start, it naturally fails, because I've already completed it (the config file confirms this). Jellyfin logs nothing of this action (even at debug level), which is a bit odd, perhaps jellyfin-web is working, but I can't connect to jellyfin unless I was already logged in? I don't really know what's going on here. Edit: When opening `http://localhost:8096/system/info/public`, it returns the following: ``` {"LocalAddress":"http://127.0.0.1:8096","ServerName":"f94c204756af","Version":"10.8.3","ProductName":"Jellyfin Server","OperatingSystem":"Linux","Id":"857a909c48ef4807b52bcfe2e2c0635c","StartupWizardCompleted":false} ``` It looks like jellyfin claims the startup wizard has not been completed, however the config file states otherwise: ``` <?xml version="1.0" encoding="utf-8"?> <ServerConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <LogFileRetentionDays>3</LogFileRetentionDays> <IsStartupWizardCompleted>true</IsStartupWizardCompleted> <EnableMetrics>false</EnableMetrics> <EnableNormalizedItemByNameIds>true</EnableNormalizedItemByNameIds> <IsPortAuthorized>true</IsPortAuthorized> <QuickConnectAvailable>true</QuickConnectAvailable> <EnableCaseSensitiveItemIds>true</EnableCaseSensitiveItemIds> <DisableLiveTvChannelUserDataName>true</DisableLiveTvChannelUserDataName> [...] ``` I suspect I somehow managed to get jellyfin in an inconsistent state where the startup wizard is both completed and not completed. Any ideas on how to fix this? ### Jellyfin Version 10.8.0 ### if other: _No response_ ### Environment ```markdown - OS: Fedora 36 - Virtualization: Podman - Clients: All - Browser: All - Reverse Proxy: none - Base URL: none ``` ### Jellyfin logs _No response_ ### FFmpeg logs _No response_ ### Please attach any browser or client logs here ``` main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 Stored JSON credentials: {"Servers":[{"DateLastAccessed":1659893279377,"LastConnectionMode":2,"ManualAddress":"http://localhost:8096","manualAddressOnly":true,"Name":"f0cbc434c56e","Id":"857a909c48ef4807b52bcfe2e2c0635c","LocalAddress":"http://127.0.0.1:8096"}]} main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 Begin ConnectionManager constructor main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 Translation dictionary is empty. Te @ main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 Translation dictionary is empty. Te @ main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 Translation dictionary is empty. Te @ main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 Translation dictionary is empty. Te @ main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 Translation dictionary is empty. Te @ main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 Translation dictionary is empty. Te @ main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 Translation dictionary is empty. Te @ main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 Translation dictionary is empty. Te @ main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 returning instance from getOrAddApiClient main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 defining core routes main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 loading installed plugins main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 loading packages main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 getTryConnectPromise http://localhost:8096 main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 ConnectionManager requesting url: http://localhost:8096/system/info/public main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 fetchWithTimeout: timeoutMs: 20000, url: http://localhost:8096/system/info/public main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 fetchWithTimeout: succeeded connecting to url: http://localhost:8096/system/info/public main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 ConnectionManager response status: 200, url: http://localhost:8096/system/info/public main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 Reconnect succeeded to http://localhost:8096 main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 returning instance from getOrAddApiClient main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 Setting server address to http://localhost:8096 main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 resolving connectToServers with result.State: ServerSignIn main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 Requesting http://localhost:8096/Startup/Configuration main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 Requesting http://localhost:8096/Localization/Options main.jellyfin.bundle.js?26b2aa2b388035c21dc8:2 Error opening web socket: Error: Cannot open web socket without access token. ``` ### Please attach any screenshots here _No response_ ### Code of Conduct - [X] I agree to follow this project's Code of Conduct
OVERLORD added the bug label 2026-02-07 00:24:27 +03:00
Author
Owner

@Danacus commented on GitHub (Aug 7, 2022):

Figured it out. Config files were in a separate directory than the other data.

I was using the following container settings

-e JELLYFIN_DATA_DIR=/var/lib/jellyfin \
--volume jellyfin-cache:/cache:Z \
--volume jellyfin-config:/var/lib/jellyfin:Z \

but config files are still stored in /config, not /var/lib/jellyfin as I thought.

My bad.

Fixed by adding -e JELLYFIN_DATA_DIR=/var/lib/jellyfin/config (or by mounting the "good" configuration files to /config).

@Danacus commented on GitHub (Aug 7, 2022): Figured it out. Config files were in a separate directory than the other data. I was using the following container settings ``` -e JELLYFIN_DATA_DIR=/var/lib/jellyfin \ --volume jellyfin-cache:/cache:Z \ --volume jellyfin-config:/var/lib/jellyfin:Z \ ``` but config files are still stored in `/config`, not `/var/lib/jellyfin` as I thought. My bad. Fixed by adding `-e JELLYFIN_DATA_DIR=/var/lib/jellyfin/config` (or by mounting the "good" configuration files to `/config`).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#4091