mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
10.10.2 upgrade broken, wrong/missing web resource path #6479
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jaykayenn on GitHub (Nov 17, 2024).
This issue respects the following points:
Description of the bug
Upgrading Jellyfin 10.10.1 -> 10.10.2 results in broken installation that cannot start. Its looking for files at non-existent path /usr/lib/jellyfin/bin/jellyfin-web
apt reinstall didn't work either.
Reproduction steps
Additional troubleshooting steps taken:
Same results.
What is the current bug behavior?
jellyfin.service = dead
Nov 17 10:54:07 JKNSERVER2 jellyfin[1327]: at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Actio>Nov 17 10:54:07 JKNSERVER2 jellyfin[1327]: at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory) Nov 17 10:54:07 JKNSERVER2 jellyfin[1327]: at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig) Nov 17 10:54:07 JKNSERVER2 jellyfin[1327]: [10:54:07] [INF] Running query planner optimizations in the database... This might take a while Nov 17 10:54:07 JKNSERVER2 jellyfin[1327]: [10:54:07] [INF] Disposing CoreAppHost Nov 17 10:54:07 JKNSERVER2 jellyfin[1327]: [10:54:07] [INF] Disposing MusicBrainzArtistProvider Nov 17 10:54:07 JKNSERVER2 jellyfin[1327]: [10:54:07] [INF] Disposing MusicBrainzAlbumProvider Nov 17 10:54:07 JKNSERVER2 jellyfin[1327]: [10:54:07] [INF] Disposing PluginManager Nov 17 10:54:07 JKNSERVER2 systemd[1]: jellyfin.service: Deactivated successfully.jellyfin CLI command, error:
Main: The server is expected to host the web client, but the provided content directory is either invalid or empty: /usr/lib/jellyfin/bin/jellyfin-web.What is the expected correct behavior?
Start jellyfin as normal.
Jellyfin Server version
10.10.0+
Specify commit id
No response
Specify unstable release number
No response
Specify version number
10.10.2
Specify the build version
10.10.2+noble2404
Environment
Jellyfin logs
FFmpeg logs
Client / Browser logs
No response
Relevant screenshots or videos
No response
Additional information
No response
@maste9 commented on GitHub (Nov 17, 2024):
Same here with the docker image.
When the server updated to the new 10.10.2 image the server immediately stopped to function and couldn't be started anymore:
The only obvious failure message in the logs was that jellyfin tried to open a m3u-playlist-file but failed with insufficient privileges for its assumed path. The server exited with Code 0 after that.
Specifiying the image's version to 10.10.1 and starting the server left me with a fine working jellyfin server again.
@YaKillaCJ commented on GitHub (Nov 17, 2024):
Can confirm. Did no other changes but update from 10.10.1 to 10.10.2. Getting an error about playlist being read only in logs. [FTL] [1] Main: Error while starting server
@IamDan77 commented on GitHub (Nov 17, 2024):
Yep same issue. Updated and now the server wont start.
Unraid docker
@miguelpedregosa commented on GitHub (Nov 17, 2024):
Same issue in a LXC container
@thornbill commented on GitHub (Nov 17, 2024):
It sounds like this could be a duplicate of https://github.com/jellyfin/jellyfin/issues/13048 but can’t confirm without a full error trace.
@jaykayenn commented on GitHub (Nov 17, 2024):
Perhaps as a dependency. But this post highlights the missing path error shown when trying to run Jellyfin 10.10.2.
@joshuaboniface commented on GitHub (Nov 17, 2024):
The missing path issue is an entirely separate one from the playlists not being writable. The latter is tracked in the above issue Bill posted.
The missing path will be due to a configuration error. Can you post your
/etc/default/jellyfin,/lib/systemd/system/jellyfin.service,/etc/systemd/system/jellyfin.service.d/*andsystemctl status jellyfincontents/outputs.Basically somehow, the
JELLYFIN_WEB_OPT=envvar and thus--webdir=/usr/share/jellyfin/webis not being set properly. This is what it should be for.debinstalls; if it's anything else it's somehow wrong. The/etc/default/jellyfinwhich sets this comes from packaging and was not changed for 10.10.2 (but was for unrelated things in 10.10.1).Note as well that you cannot just call
jellyfinwith.debpackages and expect it to work; the locations are not "the defaults" of the program under Debian; you need to source/etc/default/jellyfinfirst and then set the options (like you see in/lib/systemd/system/jellyfin.service) if you want to try to run it outside of systemd.@jaykayenn commented on GitHub (Nov 18, 2024):
Ok, thanks for the explanation. Seems I misunderstood how Jellyfin runs.
Unfortunately, I don't have configs/logs any more as I've restored my previous system snapshot. But from the jellyfin.service tail I posted above, it appears to match #13048
Closing as duplicate.
@alex-veri commented on GitHub (Nov 18, 2024):
Same here. Error was pointing to missing permissions to a m3u8 playlist file.
To workaround it I gave the file 777 permission and restarted Jellyfin service. After that I deleted the file because I didn't need it.