Cannot upload Album/Artist cover art. Fresh install
-
Hi everyone. Fresh install of both Cloudron then Koel via Linode So far everything is working well except two features.
versions App Title and VersionKoel 5.1.13 Package Versiondev.koel.cloudronapp@1.1.9
First I cannot upload any image files to albums or artist via the web interface(drag and drop). If I upload a img file via FTP to the library folder then scan it. It will no be detected. I've tried both file name (cover/folder) and both file types .jpg/.png along with large and small file sizes and no luck whatsoever.
Secondly I can upload music files both .flac/.mp3 via the web interface but I have a file size limit of around 2MB. If I upload song files via FTP the scan will detect the albums and song no issue no matter the size.
looking through some old github issues there might be an issue around folder permissions but I can only speculate.
Let me know if there are any logs I can pull or if any additional info is needed. Thanks
-
@proxy21 Indeed, I see an error in the logs:
[2022-02-01 05:36:16] production.ERROR: Intervention\Image\Exception\NotWritableException: Can't write image data to path (/app/code/public/img/covers/655a4594d76f164bfdce95c03b93f6b3f4869b23.jpeg) in /app/code/vendor/intervention/image/src/Intervention/Image/Image.php:150 Stack trace: #0 /app/code/app/Services/ImageWriter.php(37): Intervention\Image\Image->save() #1 /app/code/app/Services/MediaMetadataService.php(42): App\Services\ImageWriter->writeFromBinaryData() #2 /app/code/app/Http/Controllers/API/AlbumCoverController.php(25): App\Services\MediaMetadataService->writeAlbumCover() #3 /app/code/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\Http\Controllers\API\AlbumCoverController->update() #4 /app/code/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\Routing\Controller->callAction() #5 /app/code/vendor/laravel/framework/src/Illuminate/Routing/Route.php(262): Illuminate\Routing\ControllerDispatcher->dispatch() #6 /app/code/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\Routing\Route->runController() #7 /app/code/vendor/laravel/framework/src/Illuminate/Routing/Router.php(695): Illuminate\Routing\Route->run()