mirror of
https://github.com/koel/koel.git
synced 2026-04-25 08:46:00 +03:00
[GH-ISSUE #1232] 404 error on all play requests on Koel v4.4.0 #700
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#700
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 @Hyzual on GitHub (Jun 11, 2020).
Original GitHub issue: https://github.com/koel/koel/issues/1232
Describe the bug
I cannot play any song from my library. When I inspect the network with dev tools, I see that all requests like
https://<my-koel-domain>/api/<song-id>/playresult in 404 error.I could not find any logs that would explain what the problem is.
I just upgraded to Koel v4.4.0 (from v.4.3.0) and my library played fine before so I can only guess there is a configuration change needed somewhere ??
To reproduce
Steps to reproduce the behavior:
/api/<song-id>/playrequest ends in 404 error.Expected behavior
I expected the media to be loaded and my song to play.
Screenshots
I did not add a screen shot, please let me know if they're needed.
Environment
Additional context
Not sure what is needed. Maybe it's due to my context but I don't know where to look.
@Hyzual commented on GitHub (Jun 11, 2020):
I just downgraded to v4.3.0 and the same songs play fine, no 404 whatsoever.Maybe I've missed some configuration change, I did not see anything mentioned in the release 😕
@Hyzual commented on GitHub (Jun 11, 2020):
Scratch that, I'm also reproducing with v4.3.0. I'm investigating, it's likely a problem on my end.
@Hyzual commented on GitHub (Jun 11, 2020):
Ok I've identified the issue. My volume containing my music library is
/media. In the dockerfile I changed the default from/mediato/musicbecause/mediais reserved in the Filesystem Hierarchy Standard for mounting usb drives and cd-roms and it seemed neater to use something else.Since koel derives the song ids in part from the path of the song in the filesystem, I cannot change my volume to
/music. Mounting everything to/musicessentially has the same result as dropping my database with all the playlists, favorites, etc. being erased because the song ids would all change. So I kept everything at/mediaand I forgot that during my personal upgrade process I need to edit the apache configuration to point there instead of/music.By the way https://github.com/koel/koel/issues/36#issue-122109241 helped me figure out what was happening.
Anyway, I'll close this. Sorry for the noise, v4.4.0 works great :).