[GH-ISSUE #2012] [Bug]: Missing Artist and Album tags after upgrade #1058

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

Originally created by @Doppelkeks12 on GitHub (Jul 9, 2025).
Original GitHub issue: https://github.com/koel/koel/issues/2012

Originally assigned to: @phanan on GitHub.

Read the Troubleshooting guide.

  • I have read and followed the Troubleshooting guide

Reproduction steps

  1. Set up a new environment using version 7.4.2 with a Pro license.
  2. Create a new user.
  3. Upload some songs with each user and make them public. Each song should have an Album and Artist tag. Both users should now see each other's songs.
  4. Upgrade the application to version 7.10.1 following the update guide and release notes. Use the pre-compiled archive: https://docs.koel.dev/guide/getting-started#upgrade-a-pre-compiled-archive-installation
  5. Log in with the first (admin) user. Songs uploaded by the second user now show a missing Artist. Albums uploaded by the second user appear on the album page, but contain no songs when opened.
  6. The second user sees an empty Artist overview but still has access to individual songs.

Expected behavior

Each user should still see all Artist and Album information for public songs.
The tags in the songs should not be missing after the update.
Songs from different users with the same Artist should appear under a single shared Artist entry for both users, as long as the songs are public.
The same applies to Albums.

Actual behavior

Songs uploaded by the second user now show a missing Artist. Albums uploaded by the second user appear on the album page, but contain no songs when opened. The second user sees an empty Artist overview but still has access to individual songs.

Logs

No entries are written to the PHP error log, storage/logs/laravel.log, or the browser console while reloading the page or navigating.
No errors were displayed during the update process.

Koel version

7.4.2 Pro to 7.10.1 Pro

How did you install Koel?

Pre-compiled tar/zip archive

Additional information

The artist_name column in the songs table is empty for each entry created during the update.

I modified the 2025_06_12_150202_user-scope_artists_and_albums migration locally to write the original artist name into the column. This fixes the issue with missing tags on individual songs.

However, the issues with the Album and Artist overviews remain.

I tested this both on my production server and in a local DDEV environment.

Originally created by @Doppelkeks12 on GitHub (Jul 9, 2025). Original GitHub issue: https://github.com/koel/koel/issues/2012 Originally assigned to: @phanan on GitHub. ### Read the Troubleshooting guide. - [x] I have read and followed the Troubleshooting guide ### Reproduction steps 1. Set up a new environment using version 7.4.2 with a Pro license. 2. Create a new user. 3. Upload some songs with each user and make them public. Each song should have an Album and Artist tag. Both users should now see each other's songs. 4. Upgrade the application to version 7.10.1 following the update guide and release notes. Use the pre-compiled archive: https://docs.koel.dev/guide/getting-started#upgrade-a-pre-compiled-archive-installation 5. Log in with the first (admin) user. Songs uploaded by the second user now show a missing Artist. Albums uploaded by the second user appear on the album page, but contain no songs when opened. 6. The second user sees an empty Artist overview but still has access to individual songs. ### Expected behavior Each user should still see all Artist and Album information for public songs. The tags in the songs should not be missing after the update. Songs from different users with the same Artist should appear under a single shared Artist entry for both users, as long as the songs are public. The same applies to Albums. ### Actual behavior Songs uploaded by the second user now show a missing Artist. Albums uploaded by the second user appear on the album page, but contain no songs when opened. The second user sees an empty Artist overview but still has access to individual songs. ### Logs No entries are written to the PHP error log, `storage/logs/laravel.log`, or the browser console while reloading the page or navigating. No errors were displayed during the update process. ### Koel version 7.4.2 Pro to 7.10.1 Pro ### How did you install Koel? Pre-compiled tar/zip archive ### Additional information The `artist_name` column in the `songs` table is empty for each entry created during the update. I modified the `2025_06_12_150202_user-scope_artists_and_albums` migration locally to write the original artist name into the column. This fixes the issue with missing tags on individual songs. However, the issues with the Album and Artist overviews remain. I tested this both on my production server and in a local DDEV environment.
kerem closed this issue 2026-02-26 02:35:07 +03:00
Author
Owner

@phanan commented on GitHub (Jul 10, 2025):

Ah yeah this is certainly a bug, thanks for reporting! I'll take a look.

<!-- gh-comment-id:3056077842 --> @phanan commented on GitHub (Jul 10, 2025): Ah yeah this is certainly a bug, thanks for reporting! I'll take a look.
Author
Owner

@phanan commented on GitHub (Jul 10, 2025):

What modifications did you make to 2025_06_12_150202_user-scope_artists_and_albums?

<!-- gh-comment-id:3056913348 --> @phanan commented on GitHub (Jul 10, 2025): What modifications did you make to `2025_06_12_150202_user-scope_artists_and_albums`?
Author
Owner

@phanan commented on GitHub (Jul 10, 2025):

Nvm I found the bug.

<!-- gh-comment-id:3056928637 --> @phanan commented on GitHub (Jul 10, 2025): Nvm I found the bug.
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#1058
No description provided.