[GH-ISSUE #1757] Music cannot be scanned normally (invalid file(s)) #964

Closed
opened 2026-02-26 02:34:46 +03:00 by kerem · 1 comment
Owner

Originally created by @IllTamer on GitHub (Mar 31, 2024).
Original GitHub issue: https://github.com/koel/koel/issues/1757

Describe the bug
When I use commands or web buttons, the music doesn't scan properly. The strange thing is that actively uploaded music can be read normally

   INFO  Scanning /music.  


   1/239 [>---------------------------]   0%
  24/239 [==>-------------------------]  10%
  48/239 [=====>----------------------]  20%
  72/239 [========>-------------------]  30%
  96/239 [===========>----------------]  40%
 120/239 [==============>-------------]  50%
 144/239 [================>-----------]  60%
 168/239 [===================>--------]  70%
 192/239 [======================>-----]  80%
 216/239 [=========================>--]  90%
 239/239 [============================] 100%

   INFO  Scanning completed!  2

  ⇂ 0 new or updated song(s)  
  ⇂ 0 unchanged song(s)  
  ⇂ 239 invalid file(s)

image

To reproduce

docker exec --user www-data koel php artisan koel:sync

Expected behavior
Music can be scanned

Screenshots

Environment

  • Koel version phanan/koel:latest
  • OS: Rocky Linux
  • Browser Chrome

Additional context

Originally created by @IllTamer on GitHub (Mar 31, 2024). Original GitHub issue: https://github.com/koel/koel/issues/1757 **Describe the bug** When I use commands or web buttons, the music doesn't scan properly. The strange thing is that actively uploaded music can be read normally ``` INFO Scanning /music. 1/239 [>---------------------------] 0% 24/239 [==>-------------------------] 10% 48/239 [=====>----------------------] 20% 72/239 [========>-------------------] 30% 96/239 [===========>----------------] 40% 120/239 [==============>-------------] 50% 144/239 [================>-----------] 60% 168/239 [===================>--------] 70% 192/239 [======================>-----] 80% 216/239 [=========================>--] 90% 239/239 [============================] 100% INFO Scanning completed! 2 ⇂ 0 new or updated song(s) ⇂ 0 unchanged song(s) ⇂ 239 invalid file(s) ``` ![image](https://github.com/koel/koel/assets/78360471/4cc083bd-e37c-43dd-ad50-66240804eb86) **To reproduce** ``` docker exec --user www-data koel php artisan koel:sync ``` **Expected behavior** Music can be scanned **Screenshots** **Environment** - Koel version phanan/koel:latest - OS: Rocky Linux - Browser Chrome **Additional context**
kerem closed this issue 2026-02-26 02:34:46 +03:00
Author
Owner

@IllTamer commented on GitHub (Mar 31, 2024):

This seems to be a permissions issue. When I changed the command to docker exec --user root koel php artisan koel:sync, everything went fine.

<!-- gh-comment-id:2028563296 --> @IllTamer commented on GitHub (Mar 31, 2024): This seems to be a permissions issue. When I changed the command to `docker exec --user root koel php artisan koel:sync`, everything went fine.
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#964
No description provided.