mirror of
https://github.com/koel/koel.git
synced 2026-04-25 08:46:00 +03:00
[GH-ISSUE #620] Error 500 upon login (ie. unable to login) #444
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#444
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 @zhiayang on GitHub (Jul 9, 2017).
Original GitHub issue: https://github.com/koel/koel/issues/620
Hello
So, I'm basically looking at the koel login screen; pressing "login" gives me an error 500 on
/api/me. I'm using v3.4.2 on arch, and running viaphp artisan serve --host=0.0.0.0, plus an nginx reverse proxy as such:I'd like to give more information, but I'm really not sure where to get the necessary logs. I don't have any
/var/log/nginx/error.log, andkoelitself isn't showing any error messages that I know of.Thanks
EDIT:
So, after digging around (and setting
error_login my nginx config, no idea why it isn't on by default) I've gone and disabledfix_pathinfoin myphpconfig, and now I'm getting to a403error with this:And so following the trail I disabled
security.limit_extensions(by setting it empty)... now I'm at a404error, with this:It actually looks like it's trying to access the
server/koeldirectory as a file or something? I'm still getting the404on/api/me, however.EDIT 2: guess not, access log tells me this:
All checked? Now also make sure your issue
@zhiayang commented on GitHub (Jul 9, 2017):
Ok, I'm closing this since I figured it out -- I'll leave it here for future reference:
So, getting to the 404, I augmented the existing
try_filesstatement as such:What followed (for me) was an authentication error (
401), so I simply deleted thekoeldbdatabase I had (DROP DATABASE koeldb;in SQL), and re-ranphp artisan koel:init.After that, it seems to work.