[GH-ISSUE #1448] No album and artist covers neither automatically nor manually. #828

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

Originally created by @VesselWave on GitHub (Apr 26, 2022).
Original GitHub issue: https://github.com/koel/koel/issues/1448

Cannot add album and artist covers neither automatically nor manually.

To reproduce
Build from source with one change

  1. Clone repository and install composer
cd <KOEL_ROOT_DIR>
git clone --recurse-submodules https://github.com/koel/koel.git .
git checkout latest # v5.1.14
composer install
  1. As I am using node v14 (last week it was current LTS), I changed version of node-sass in resources/assets/package.json from 4.13.1 to 4.14.1
  2. Finish building
php artisan koel:init
  1. Start server, login, add folder and sync music.

Expected behavior
Some albums have album covers with correct file names, so they should sync automatically.
As screenshot shows, album covers cannot be changed manually.

Screenshots
AlbumCoverBug

Environment

  • Koel version [v5.1.14]
  • OS: [Ubuntu 22.04]
  • Browser [Chrome 79, Firefox 99]
  • PHP version [v8.1.2]
  • Node version [v14.19.1]

Additional context
No 404 errors, no files in public/img/covers except unknown-album.png
if I up node to v16 (current LTS) it will leads to more build errors.

Originally created by @VesselWave on GitHub (Apr 26, 2022). Original GitHub issue: https://github.com/koel/koel/issues/1448 ### Cannot add album and artist covers neither automatically nor manually. **To reproduce** Build from source with one change 1. Clone repository and install composer ``` cd <KOEL_ROOT_DIR> git clone --recurse-submodules https://github.com/koel/koel.git . git checkout latest # v5.1.14 composer install ``` 2. As I am using node v14 (last week it was current LTS), I changed version of node-sass in `resources/assets/package.json` from `4.13.1` to `4.14.1` 3. Finish building ``` php artisan koel:init ``` 4. Start server, login, add folder and sync music. **Expected behavior** Some albums have album covers with correct file names, so they should sync automatically. As screenshot shows, album covers cannot be changed manually. **Screenshots** ![AlbumCoverBug](https://user-images.githubusercontent.com/102895518/165350655-68e16586-4681-449e-aafc-11562b2b547e.gif) **Environment** - Koel version [v5.1.14] - OS: [Ubuntu 22.04] - Browser [Chrome 79, Firefox 99] - PHP version [v8.1.2] - Node version [v14.19.1] **Additional context** No 404 errors, no files in `public/img/covers` except `unknown-album.png` if I up node to v16 (current LTS) it will leads to more build errors.
kerem closed this issue 2026-02-26 02:34:22 +03:00
Author
Owner

@phanan commented on GitHub (May 16, 2022):

Might be a permission issue. Do you see any errors in the server log?

<!-- gh-comment-id:1127916113 --> @phanan commented on GitHub (May 16, 2022): Might be a permission issue. Do you see any errors in the server log?
Author
Owner

@Nolkaloid commented on GitHub (Jun 1, 2022):

Hello ! I'm having the same issue. The PUT request gives a 200 response but the cover image is not really uploaded (it's not in the folder and the database is thus not updated).
I'm using the nginx example config (with an unix socket fpm config) on Ubuntu 21.10, and there seem to be no errors in the logs :/. Any ideas on where to look ?

  • (I granted recursive 777 to the koel folder but it did not change anything...)

BTW koel is amazing so far, you did an awesome job :) !

<!-- gh-comment-id:1144196555 --> @Nolkaloid commented on GitHub (Jun 1, 2022): Hello ! I'm having the same issue. The `PUT` request gives a 200 response but the cover image is not really uploaded (it's not in the folder and the database is thus not updated). I'm using the nginx example config (with an unix socket fpm config) on Ubuntu 21.10, and there seem to be no errors in the logs :/. Any ideas on where to look ? - (I granted recursive 777 to the koel folder but it did not change anything...) BTW koel is amazing so far, you did an awesome job :) !
Author
Owner

@Nolkaloid commented on GitHub (Jun 3, 2022):

Apparently I was missing the GD Graphics Library it's working now !

<!-- gh-comment-id:1146391045 --> @Nolkaloid commented on GitHub (Jun 3, 2022): Apparently I was missing the **GD Graphics Library** it's working now !
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#828
No description provided.