mirror of
https://github.com/koel/koel.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #572] Error in 'php artisan koel:sync' because '/covers' subdirectory of 'public/img/' is not created by default #412
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#412
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 @nitePhyyre on GitHub (Apr 13, 2017).
Original GitHub issue: https://github.com/koel/koel/issues/572
Hi,
I had a fresh install of 3.6.0.
In file app/Models/Album.php:
The line
copy($srcPath, $destPath);is causing the following error:[ErrorException] copy(/var/www/public/img/covers/58eeea295471a5.02522229.jpg): failed to open stream: No such file or directoryBecause while
app()->publicPath().'/public/img/'existed on the new install. The/coverssubdirectory didn't. Creating the directory allowed me to run the import.@etbusch commented on GitHub (Apr 14, 2017):
Also encountered this bug