[GH-ISSUE #2013] [Bug]: Unable to upload new songs #1062

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

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

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. 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
  3. Log in with an admin user.
  4. Click on "Upload".
  5. Drag an audio file into the browser.

Expected behavior

The upload should start after dragging the file into the browser.

Actual behavior

The audio starts playing in the native browser media player instead of uploading.

Logs

No PHP error logs or entries in storage/logs/laravel.log.
However, I received an error in the browser console:

socketService-uzty4Brn.js:572 TypeError: Cannot read properties of undefined (reading 'map')

However, I receive an error in the browser console on page load with a logged-in user, not just on the upload page or during an upload attempt:

Koel version

7.4.2 Pro to 7.10.1 Pro

How did you install Koel?

Pre-compiled tar/zip archive

Additional information

I get this error in Firefox and Chrome. I tested the same audio file with the old verions, and it worked fine. I tested it with and without and S3.

Originally created by @Doppelkeks12 on GitHub (Jul 9, 2025). Original GitHub issue: https://github.com/koel/koel/issues/2013 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. 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 3. Log in with an admin user. 4. Click on "Upload". 5. Drag an audio file into the browser. ### Expected behavior The upload should start after dragging the file into the browser. ### Actual behavior The audio starts playing in the native browser media player instead of uploading. ### Logs No PHP error logs or entries in `storage/logs/laravel.log`. However, I received an error in the browser console: socketService-uzty4Brn.js:572 TypeError: Cannot read properties of undefined (reading 'map') However, I receive an error in the browser console on page load with a logged-in user, not just on the upload page or during an upload attempt: ### Koel version 7.4.2 Pro to 7.10.1 Pro ### How did you install Koel? Pre-compiled tar/zip archive ### Additional information I get this error in Firefox and Chrome. I tested the same audio file with the old verions, and it worked fine. I tested it with and without and S3.
kerem closed this issue 2026-02-26 02:35:07 +03:00
Author
Owner

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

I can't reproduce this problem at all. What happens if you click on the "Click here to select songs" link/button?

<!-- gh-comment-id:3056045077 --> @phanan commented on GitHub (Jul 10, 2025): I can't reproduce this problem at all. What happens if you click on the "Click here to select songs" link/button?
Author
Owner

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

I can't see the "Click here to select songs" button — maybe I missed something?
Where exactly should it appear? The upload section is completely empty.

Image I also find this suspicious — if it were an easy-to-reproduce bug, someone else would likely have reported it by now.

It might be related to the fact that I updated using the pre-compiled tar/zip archive (?).
From what I’ve seen in other GitHub issues, most users seem to be using Docker.

I will try to reproduce the bug later using a Docker setup.

<!-- gh-comment-id:3056266247 --> @Doppelkeks12 commented on GitHub (Jul 10, 2025): I can't see the "Click here to select songs" button — maybe I missed something? Where exactly should it appear? The upload section is completely empty. <img width="2560" height="1248" alt="Image" src="https://github.com/user-attachments/assets/5590bd79-22fb-4e4a-86a0-541ceba3c729" /> I also find this suspicious — if it were an easy-to-reproduce bug, someone else would likely have reported it by now. It might be related to the fact that I updated using the pre-compiled tar/zip archive (?). From what I’ve seen in other GitHub issues, most users seem to be using Docker. I will try to reproduce the bug later using a Docker setup.
Author
Owner

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

This is 99% a copy/paste or cache problem (the JS asset responsible for the upload screen is simply missing). Try removing the whole public/build/assets and extract the files again.

<!-- gh-comment-id:3056669981 --> @phanan commented on GitHub (Jul 10, 2025): This is 99% a copy/paste or cache problem (the JS asset responsible for the upload screen is simply missing). Try removing the whole `public/build/assets` and extract the files again.
Author
Owner

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

Yes, this works by removing public/build/assets. Thank you. Is it something that can be added to the update guide?

<!-- gh-comment-id:3056984406 --> @Doppelkeks12 commented on GitHub (Jul 10, 2025): Yes, this works by removing `public/build/assets`. Thank you. Is it something that can be added to the update guide?
Author
Owner

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

The guide already states:

For pre-compiled archived users, download the latest archive, extract it, and replace the existing files with the new ones. Make sure, however, that old application code (typically app and config folders) is removed.

But I'm open to a PR that improves it further :). In the meantime, I'll close this issue.

<!-- gh-comment-id:3057020752 --> @phanan commented on GitHub (Jul 10, 2025): The guide already states: > For pre-compiled archived users, download the latest archive, extract it, and replace the existing files with the new ones. Make sure, however, that old application code (typically app and config folders) is removed. But I'm open to a PR that improves it further :). In the meantime, I'll close this issue.
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#1062
No description provided.