mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 23:20:51 +01:00
Error processing request. URL "POST" "/Playlists". #6973
Labels
No labels
area:database
awaiting-feedback
backend
blocked
breaking change: web api
bug
build
ci
confirmed
discussion needed
dotnet future
downstream
duplicate
EFjellyfin.db
enhancement
feature
future
github-actions
good first issue
hdr
help wanted
invalid
investigation
librarydb
live-tv
lyrics
media playback
music
needs testing
nuget
performance
platform
pull-request
question
regression
release critical
requires-web
roadmap
security
security
stale
support
syncplay
ui & ux
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: starred/jellyfin#6973
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @bluezfan8 on GitHub (Apr 29, 2025).
Description of the bug
After creating a fresh container of Jellyfin via Docker image, jellyfin/jellyfin:10.10.7, I was not able to create a playlist with my movie files. When I would go into my library, and click on the 3-dot menu button on the movie poster, and click "Add to playlist', I would eventually get an error on the screen saying "Error creating playlist". This was the first playlist I tried to create on the new container. Looking in the Jellyfin logs, after trying to create the playlist, I noticed the error I was getting.
Reproduction steps
What is the current bug behavior?
You'll get in the bottom left of the Jellyfin webUI an error stating "Error creating playlist".
What is the expected correct behavior?
The expected behavior would be that the playlist name I defined would be created and the media item would be added.
Jellyfin Server version
10.10.0+
Specify commit id
No response
Specify unstable release number
No response
Specify version number
No response
Specify the build version
10.10.7
Environment
Jellyfin logs
FFmpeg logs
Client / Browser logs
No response
Relevant screenshots or videos
No response
Additional information
I was able to resolve the issue by going into [docker bind path]/config/data and make a directory "Playlists". I then did a
docker compose downand adocker compose up -d. Once the container came back up, I was able to create playlists and add media items to them.@jhparker88 commented on GitHub (Apr 29, 2025):
According to your log,
parentFolderis null and as seen in [1], it is expected to raise an exception. I don't know whyparentFolderis null maybe an authorization issue or something else given the exception is not given much information about the situation I'm unable to give any additional advice. Maybe @Shadowghost has any idea?[1] https://github.com/jellyfin/jellyfin/blob/master/Emby.Server.Implementations/Playlists/PlaylistManager.cs#L84C1-L88
@bluezfan8 commented on GitHub (Apr 30, 2025):
I should have also mentioned that Collections worked just fine. When I went and looked in [docker bind path]/config/data, I noticed the [docker bind path]/config/data/collections path was present, and had the collections I had already created. When looking in [docker bind path]/config/data/playlists, there was nothing(since I was getting the error).
Now that I added the "Playlists" folder in [docker bind path]/config/data, I could create playlists. When I go back and look in [docker bind path]/config/data/playlists, the playlists that I created are present. The [docker bind path]/config/data/Playlist folder that I created is empty. To test, I deleted the [docker bind path]/config/data/Playlist folder, and took the container down and up again, and I'm still able to create playlists. The [docker bind path]/config/data/playlists, [docker bind path]/config/data/Playlists(while it was present), and [docker bind path]/config/data/collections all have the same permissions. I needed to start the container in a hurry, and am having it run as root. All 3 directories are owned by root:root, and have permissions of rwxr-xr-x.
I did spin up a 2nd instance on the same machine, with different bind volumes, and am not having the issue I was getting before.
@macgirvin commented on GitHub (Aug 24, 2025):
To confirm the most recent comment, I recently installed jellyfin on Ubuntu and encountered the same issue (native server, not docker). It was resolved by creating a directory /var/lib/jellyfin/data/Playlists - (when /var/lib/jellyfin/data/playlists {lowercase] already exists. So it requires the 'Playlists' directory, but doesn't use it, and stores everything in 'playlists'. I would suggest this might be related to the fact that Playlists and playlists are different file paths under Linux - but not in Windows; and capitalisation isn't being applied consistently somewhere in the Linux-specific portions of the codebase.
@hedelas commented on GitHub (Oct 16, 2025):
for anyone having the same issue, I have Jellyfin running on Ubuntu. As @macgirvin said above doing a mkdir /var/lib/jellyfin/data/Playlists then restarting Jellyfin solved this issue for me too.