[GH-ISSUE #190] Ignore errors while scanning (like permission denied errors) #134

Closed
opened 2026-02-26 02:32:14 +03:00 by kerem · 3 comments
Owner

Originally created by @onokje on GitHub (Jan 15, 2016).
Original GitHub issue: https://github.com/koel/koel/issues/190

While scanning i get the following error:

UnexpectedValueException in compiled.php line 16096:
RecursiveDirectoryIterator::__construct(/storage/muziek/lost+found): failed to open dir: Permission denied

The scanning should continue and, maybe list any problems like this afterwards imo.

Originally created by @onokje on GitHub (Jan 15, 2016). Original GitHub issue: https://github.com/koel/koel/issues/190 While scanning i get the following error: UnexpectedValueException in compiled.php line 16096: RecursiveDirectoryIterator::__construct(/storage/muziek/lost+found): failed to open dir: Permission denied The scanning should continue and, maybe list any problems like this afterwards imo.
kerem closed this issue 2026-02-26 02:32:14 +03:00
Author
Owner

@NamPNQ commented on GitHub (Jan 18, 2016):

@onokje Try

$ chmod +r -R /storage/muziek
<!-- gh-comment-id:172420223 --> @NamPNQ commented on GitHub (Jan 18, 2016): @onokje Try ``` sh $ chmod +r -R /storage/muziek ```
Author
Owner

@onokje commented on GitHub (Mar 26, 2016):

It works, but it is still a workaround. It would be better if the application would ignore a permission denied error and continue scanning, wouldn't you agree? :)

<!-- gh-comment-id:201854411 --> @onokje commented on GitHub (Mar 26, 2016): It works, but it is still a workaround. It would be better if the application would ignore a permission denied error and continue scanning, wouldn't you agree? :)
Author
Owner

@phanan commented on GitHub (Mar 27, 2016):

@onokje In fact this has been addressed here: github.com/phanan/koel@f43a617f20 (diff-14ac811056)

<!-- gh-comment-id:201978090 --> @phanan commented on GitHub (Mar 27, 2016): @onokje In fact this has been addressed here: https://github.com/phanan/koel/commit/f43a617f20c710a105b6318ecc7da9222f1de54c#diff-14ac8110565657b14adf53bf16f50145
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#134
No description provided.