[GH-ISSUE #570] Issues importing Media #410

Closed
opened 2026-02-26 02:33:07 +03:00 by kerem · 6 comments
Owner

Originally created by @dmz94 on GitHub (Apr 11, 2017).
Original GitHub issue: https://github.com/koel/koel/issues/570

supervisord.txt

Hello,

Just installed this and it looks very cool. Nice, simple, clean and lightweight. Thanks for building it!

I am running koel under linux (unRAID 6.2.3) in a docker. I am having problems importing my media. It dies part way through and I get a error message that flashed and says "unknown error".

Several other folks have had similar issues on unRAID and it is usually a permission issue or unsupported file type. I have checked and as far as I can see, all is well.

I have also done partial imports and that works fine. The issue is I have a lot of media and it will be very difficult for me to find the offending issue by process of elimination.

I attach my debug log but not much there. Is there a way I can turn on logging during the import to see what the issue is? Many thanks!

Originally created by @dmz94 on GitHub (Apr 11, 2017). Original GitHub issue: https://github.com/koel/koel/issues/570 [supervisord.txt](https://github.com/phanan/koel/files/912825/supervisord.txt) Hello, Just installed this and it looks very cool. Nice, simple, clean and lightweight. Thanks for building it! I am running koel under linux (unRAID 6.2.3) in a docker. I am having problems importing my media. It dies part way through and I get a error message that flashed and says "unknown error". Several other folks have had similar issues on unRAID and it is usually a permission issue or unsupported file type. I have checked and as far as I can see, all is well. I have also done partial imports and that works fine. The issue is I have a lot of media and it will be very difficult for me to find the offending issue by process of elimination. I attach my debug log but not much there. Is there a way I can turn on logging during the import to see what the issue is? Many thanks!
kerem closed this issue 2026-02-26 02:33:07 +03:00
Author
Owner

@phanan commented on GitHub (Apr 14, 2017):

Are you scanning via GUI or the command line?

<!-- gh-comment-id:294179607 --> @phanan commented on GitHub (Apr 14, 2017): Are you scanning via GUI or the command line?
Author
Owner

@dmz94 commented on GitHub (Apr 14, 2017):

GUI....

<!-- gh-comment-id:294180473 --> @dmz94 commented on GitHub (Apr 14, 2017): GUI....
Author
Owner

@phanan commented on GitHub (Apr 14, 2017):

Then it might be a timeout issue. Please follow the docs to increase timeout limit, or scan via CLI.

<!-- gh-comment-id:294180931 --> @phanan commented on GitHub (Apr 14, 2017): Then it might be a timeout issue. Please follow the docs to increase timeout limit, or scan via CLI.
Author
Owner

@dmz94 commented on GitHub (Apr 15, 2017):

Running from the command line I get the following. I have cut the first bit out

`07 Childhood's End.mp3 has no changes – ignoring
06 Mudmen.mp3 has no changes – ignoring
09 Stay.mp3 has no changes – ignoring
02 When You're In.mp3 has no changes – ignoring
08 Free Four.mp3 has no changes – ignoring
10 Absolutely Curtains.mp3 has no changes – ignoring

[ErrorException]
copy(/opt/koel/public/img/covers/58f20ef42a8986.19374966.jpg): failed to open stream: No such file or directory

Exception trace:
() at /opt/koel/app/Models/Album.php:144
Illuminate\Foundation\Bootstrap\HandleExceptions->handleError() at n/a:n/a
copy() at /opt/koel/app/Models/Album.php:144
App\Models\Album->copyCoverFile() at /opt/koel/app/Models/File.php:262
App\Models\File->sync() at /opt/koel/app/Services/Media.php:84
App\Services\Media->sync() at /opt/koel/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:221
Illuminate\Support\Facades\Facade::__callStatic() at /opt/koel/app/Console/Commands/SyncMedia.php:74
App\Console\Commands\SyncMedia->syncAll() at /opt/koel/app/Console/Commands/SyncMedia.php:54
App\Console\Commands\SyncMedia->handle() at n/a:n/a
call_user_func_array() at /opt/koel/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:29
Illuminate\Container\BoundMethod::Illuminate\Container{closure}() at /opt/koel/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:87
Illuminate\Container\BoundMethod::callBoundMethod() at /opt/koel/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:31
Illuminate\Container\BoundMethod::call() at /opt/koel/vendor/laravel/framework/src/Illuminate/Container/Container.php:531
Illuminate\Container\Container->call() at /opt/koel/vendor/laravel/framework/src/Illuminate/Console/Command.php:182
Illuminate\Console\Command->execute() at /opt/koel/vendor/symfony/console/Command/Command.php:265
Symfony\Component\Console\Command\Command->run() at /opt/koel/vendor/laravel/framework/src/Illuminate/Console/Command.php:167
Illuminate\Console\Command->run() at /opt/koel/vendor/symfony/console/Application.php:826
Symfony\Component\Console\Application->doRunCommand() at /opt/koel/vendor/symfony/console/Application.php:189
Symfony\Component\Console\Application->doRun() at /opt/koel/vendor/symfony/console/Application.php:120
Symfony\Component\Console\Application->run() at /opt/koel/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:123
Illuminate\Foundation\Console\Kernel->handle() at /opt/koel/artisan:35
`

<!-- gh-comment-id:294289738 --> @dmz94 commented on GitHub (Apr 15, 2017): Running from the command line I get the following. I have cut the first bit out `07 Childhood's End.mp3 has no changes – ignoring 06 Mudmen.mp3 has no changes – ignoring 09 Stay.mp3 has no changes – ignoring 02 When You're In.mp3 has no changes – ignoring 08 Free Four.mp3 has no changes – ignoring 10 Absolutely Curtains.mp3 has no changes – ignoring [ErrorException] copy(/opt/koel/public/img/covers/58f20ef42a8986.19374966.jpg): failed to open stream: No such file or directory Exception trace: () at /opt/koel/app/Models/Album.php:144 Illuminate\Foundation\Bootstrap\HandleExceptions->handleError() at n/a:n/a copy() at /opt/koel/app/Models/Album.php:144 App\Models\Album->copyCoverFile() at /opt/koel/app/Models/File.php:262 App\Models\File->sync() at /opt/koel/app/Services/Media.php:84 App\Services\Media->sync() at /opt/koel/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:221 Illuminate\Support\Facades\Facade::__callStatic() at /opt/koel/app/Console/Commands/SyncMedia.php:74 App\Console\Commands\SyncMedia->syncAll() at /opt/koel/app/Console/Commands/SyncMedia.php:54 App\Console\Commands\SyncMedia->handle() at n/a:n/a call_user_func_array() at /opt/koel/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:29 Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() at /opt/koel/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:87 Illuminate\Container\BoundMethod::callBoundMethod() at /opt/koel/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:31 Illuminate\Container\BoundMethod::call() at /opt/koel/vendor/laravel/framework/src/Illuminate/Container/Container.php:531 Illuminate\Container\Container->call() at /opt/koel/vendor/laravel/framework/src/Illuminate/Console/Command.php:182 Illuminate\Console\Command->execute() at /opt/koel/vendor/symfony/console/Command/Command.php:265 Symfony\Component\Console\Command\Command->run() at /opt/koel/vendor/laravel/framework/src/Illuminate/Console/Command.php:167 Illuminate\Console\Command->run() at /opt/koel/vendor/symfony/console/Application.php:826 Symfony\Component\Console\Application->doRunCommand() at /opt/koel/vendor/symfony/console/Application.php:189 Symfony\Component\Console\Application->doRun() at /opt/koel/vendor/symfony/console/Application.php:120 Symfony\Component\Console\Application->run() at /opt/koel/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:123 Illuminate\Foundation\Console\Kernel->handle() at /opt/koel/artisan:35 `
Author
Owner

@phanan commented on GitHub (Apr 15, 2017):

Please see #572.

<!-- gh-comment-id:294291617 --> @phanan commented on GitHub (Apr 15, 2017): Please see #572.
Author
Owner

@dmz94 commented on GitHub (Apr 15, 2017):

Many thanks - that was it. Have a good weekend and thanks for the very nice application....

<!-- gh-comment-id:294293055 --> @dmz94 commented on GitHub (Apr 15, 2017): Many thanks - that was it. Have a good weekend and thanks for the very nice application....
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#410
No description provided.