mirror of
https://github.com/koel/koel.git
synced 2026-04-25 08:46:00 +03:00
[GH-ISSUE #151] Media Path not working #104
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#104
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 @OmgImAlexis on GitHub (Dec 28, 2015).
Original GitHub issue: https://github.com/koel/koel/issues/151
When I try to add music using the settings page I enter
/Users/xo/Desktop/Music, click scan and then getError: The media path field is required..@YugalXD commented on GitHub (Dec 28, 2015):
Use full absolute path starting the root /home/username/Desktop/Music/
@OmgImAlexis commented on GitHub (Dec 28, 2015):
That is absolute, I'm on OSX.
/Users/xo/Desktop/Music/is the full path.@YugalXD commented on GitHub (Dec 28, 2015):
try by removing the last forward-slash.
@OmgImAlexis commented on GitHub (Dec 28, 2015):
Tried that too, I've tried relative, absolute, smb, ftp. No file paths seem to be working at all. I'm assuming this is OS X specific considering no one else seems to have had this issue.
@YugalXD commented on GitHub (Dec 28, 2015):
try by using a cmd sync function
php artisan koel:sync@OmgImAlexis commented on GitHub (Dec 28, 2015):
@YugalXD commented on GitHub (Dec 28, 2015):
have the media path in setting and restart the koel, and please check the permission for the folder maybe its not accessible by koel.
@OmgImAlexis commented on GitHub (Dec 28, 2015):
Tried that too, it's running as my user
xoand the paths that I've tried include on the desktop of the user I'm running koel as.@sup commented on GitHub (Dec 28, 2015):
I'm having the same issue on OSX
@Erreur32 commented on GitHub (Dec 28, 2015):
The same for me , on Debian with full path:
"error: The media path is required"
Permissions and Path was ok !
Can we set PAth in config file ? to try with this command : php artisan koel:sync
@YugalXD commented on GitHub (Dec 28, 2015):
you can set it in your database table settings and edit the key 'media_path' and edit it to your path value like this: s:17:"/home/yugal/Music";
@tomcodes commented on GitHub (Dec 28, 2015):
Of course since this is serialized data you need to adapt the 17 to whatever string length you put as a path.
@Erreur32 commented on GitHub (Dec 28, 2015):
after database modification it's working well on Debian !
@Beanow commented on GitHub (Dec 28, 2015):
Confirming here as well the sync button in the UI is not working as expected.
The issue seems to be the request body which is not formatted as the advertised JSON.
@phanan commented on GitHub (Dec 29, 2015):
Hmm. Let me take a look.
@phanan commented on GitHub (Dec 29, 2015):
Fixed. Laravel 5.2 changed Eloquent's
lists()behavior, and I missed this in my tests. Sorry guys.@sup commented on GitHub (Dec 29, 2015):
👍 Thanks for the fix!
@phanan commented on GitHub (Dec 29, 2015):
Just do a
git fetch --all && git checkout v1.1.1and you should be set. Updated the docs as well.