mirror of
https://github.com/koel/koel.git
synced 2026-04-25 16:56:02 +03:00
[GH-ISSUE #2013] [Bug]: Unable to upload new songs #1062
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#1062
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
Reproduction steps
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.
@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?
@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.
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.
@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/assetsand extract the files again.@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?@phanan commented on GitHub (Jul 10, 2025):
The guide already states:
But I'm open to a PR that improves it further :). In the meantime, I'll close this issue.