[GH-ISSUE #1487] Koel not playing music #851

Open
opened 2026-02-26 02:34:26 +03:00 by kerem · 3 comments
Owner

Originally created by @red-mist on GitHub (Aug 22, 2022).
Original GitHub issue: https://github.com/koel/koel/issues/1487

Hello;

I installed a Koel instance via TrueCharts on a Truenas Scale installation.
Installation was uneventful; but I noticed that Koel wasn't recognizing my library.
Turns out that there is already a /music folder in Koel and Truenas doesn't or can't use the same folder anymore as mount point for the dataset. So I changed the Truenas mount point to music1 but koel wouldn't accept the name change for scanning location (kept throwing "unknown error" - couldn't find any help on-line) so I symlinked the music1 folder into music; still got the same error, followed the advice to initiate the scan manually via command line and that worked, whole library was imported without significant issue (one or two files it didn't recognize - I assume some cruft like playlists in a strange format...).

Except it won't play any music on chrome. The little progress bar is just kind of scrolling, indicates 0:00 everywhere.
When I download the file via koel it works fine, so I don't think it's a permissions issue or something.

Environment

  • Koel version v6.0.4
  • OS: TrueNAS-SCALE-22.02-RC.2
  • Browser Chrome 104.0.5112.81 on win10
  • PHP version (not sure)
  • Node version (not sure)

If you need any further information I'll gladly provide it; but I'm not so adept at php or node so some guidance would be appreciated.

I do apologize if this is not the right place for such questions, I'd be grateful if you could point me in the right direction!

Originally created by @red-mist on GitHub (Aug 22, 2022). Original GitHub issue: https://github.com/koel/koel/issues/1487 Hello; I installed a Koel instance via TrueCharts on a Truenas Scale installation. Installation was uneventful; but I noticed that Koel wasn't recognizing my library. Turns out that there is already a /music folder in Koel and Truenas doesn't or can't use the same folder anymore as mount point for the dataset. So I changed the Truenas mount point to music1 but koel wouldn't accept the name change for scanning location (kept throwing "unknown error" - couldn't find any help on-line) so I symlinked the music1 folder into music; still got the same error, followed the advice to initiate the scan manually via command line and that worked, whole library was imported without significant issue (one or two files it didn't recognize - I assume some cruft like playlists in a strange format...). Except it won't play any music on chrome. The little progress bar is just kind of scrolling, indicates 0:00 everywhere. When I download the file via koel it works fine, so I don't think it's a permissions issue or something. **Environment** - Koel version v6.0.4 - OS: TrueNAS-SCALE-22.02-RC.2 - Browser Chrome 104.0.5112.81 on win10 - PHP version (not sure) - Node version (not sure) If you need any further information I'll gladly provide it; but I'm not so adept at php or node so some guidance would be appreciated. I do apologize if this is not the right place for such questions, I'd be grateful if you could point me in the right direction!
Author
Owner

@phanan commented on GitHub (Aug 30, 2022):

Unfortunately, I've no idea what TrueCharts/Truenas Scale is/are, so my support is quite limited here. I'll keep this issue open so that maybe other users can help.

<!-- gh-comment-id:1231750695 --> @phanan commented on GitHub (Aug 30, 2022): Unfortunately, I've no idea what TrueCharts/Truenas Scale is/are, so my support is quite limited here. I'll keep this issue open so that maybe other users can help.
Author
Owner

@SpaceAgeHero commented on GitHub (Sep 5, 2022):

Yesterday I installed koel too and wanted check it out.

My music is not hosted on a NAS but on an attached USB drive.
However I had the same issue you're describing.

Turned out that the ffmpeg path in koels .env file was wrong:

# The full path of ffmpeg binary. FFMPEG_PATH=/usr/local/bin/ffmpeg

On my Arch Linux / Aarch64 Raspberry Pi 4 setup ffmpeg is installed here:
/usr/bin/ffmpeg

<!-- gh-comment-id:1236608047 --> @SpaceAgeHero commented on GitHub (Sep 5, 2022): Yesterday I installed koel too and wanted check it out. My music is not hosted on a NAS but on an attached USB drive. However I had the same issue you're describing. Turned out that the ffmpeg path in koels .env file was wrong: `# The full path of ffmpeg binary. FFMPEG_PATH=/usr/local/bin/ffmpeg` On my Arch Linux / Aarch64 Raspberry Pi 4 setup ffmpeg is installed here: /usr/bin/ffmpeg
Author
Owner

@PotatoYummy commented on GitHub (Jun 15, 2025):

As a Koel user and a QNAP NAS user, here are some suggestions:

  1. Installing Koel using Docker instead of NAS application suite, Portainer is recommended here, you will save a lot of unnecessary trouble.
  2. Make sure the env file is configured in the volumes parameter of the compose file. Because NAS reboots all the time
  3. Algolia search is recommended when you are a Chinese user.
  4. ……
<!-- gh-comment-id:2973468064 --> @PotatoYummy commented on GitHub (Jun 15, 2025): As a Koel user and a QNAP NAS user, here are some suggestions: 1. Installing Koel using Docker instead of NAS application suite, Portainer is recommended here, you will save a lot of unnecessary trouble. 2. Make sure the env file is configured in the volumes parameter of the compose file. Because NAS reboots all the time 3. Algolia search is recommended when you are a Chinese user. 4. ……
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#851
No description provided.