[GH-ISSUE #1456] unable to log into fresh koel install #830

Closed
opened 2026-02-26 02:34:23 +03:00 by kerem · 1 comment
Owner

Originally created by @JourneymanGeek on GitHub (Jun 5, 2022).
Original GitHub issue: https://github.com/koel/koel/issues/1456

Describe the bug
Getting internal server error

To reproduce
Steps to reproduce the behavior:

Installed application as per instructions. Downloaded, unzipped, ran the init script for a pre-compiled install. Tried to log in using the default credentials. Used this release https://github.com/koel/koel/releases/download/v5.1.14/koel-v5.1.14.tar.gz

Expected behavior
I should be able to log in
Screenshots
NA

Environment

  • Koel version: koel-v5.1.14 [Precompiled]
  • OS: Ubuntu 22.04 LTS
  • Browser: Vivaldi 5.3.2679.38
  • PHP version [e.g. v7.2.0]: PHP 8.1.2
  • Node version [e.g. v10.15.3]: Not installed
  • Database psql (PostgreSQL) 14.3 (Ubuntu 14.3-0ubuntu0.22.04.1)
  • Web server: nginx/1.18.0 (Ubuntu)
    Additional context

Unsure if there's any logging in koel but I see the following in the nginx logs when I try to log in. When using the nginx server I do not have the app served through artisan

I'm using the suggested nginx configuration given with the downloaded package. I've adjusted the domain name as required - and also tried testing it with 'default_server' and the domain, and adjusted php-fpm to use a unix sock

2022/06/05 04:07:04 [error] 15794#15794: *5 rewrite or internal redirection cycle while internally redirecting to "/index.php", client: , server: default_server, request: "GET / HTTP/1.0", host: "music.domain.tld"

Application is running in an lxc container (I'd gotten an older version working, but had an hardware failure so I'm sure this is not the issue), with another lxc container acting as a reverse proxy.

l'll be glad to share any other information needed.

(apologies for updating the issue as I go on... If you want me to beat on it a bit, then update it, close and let me know)

Originally created by @JourneymanGeek on GitHub (Jun 5, 2022). Original GitHub issue: https://github.com/koel/koel/issues/1456 **Describe the bug** Getting internal server error **To reproduce** Steps to reproduce the behavior: Installed application as per instructions. Downloaded, unzipped, ran the init script for a pre-compiled install. Tried to log in using the default credentials. Used this release https://github.com/koel/koel/releases/download/v5.1.14/koel-v5.1.14.tar.gz **Expected behavior** I should be able to log in **Screenshots** NA **Environment** - Koel version: koel-v5.1.14 [Precompiled] - OS: Ubuntu 22.04 LTS - Browser: Vivaldi 5.3.2679.38 - PHP version [e.g. v7.2.0]: PHP 8.1.2 - Node version [e.g. v10.15.3]: Not installed - Database psql (PostgreSQL) 14.3 (Ubuntu 14.3-0ubuntu0.22.04.1) - Web server: nginx/1.18.0 (Ubuntu) **Additional context** Unsure if there's any logging in koel but I see the following in the nginx logs when I try to log in. When using the nginx server I do not have the app served through artisan I'm using the suggested nginx configuration given with the downloaded package. I've adjusted the domain name as required - and also tried testing it with 'default_server' and the domain, and adjusted php-fpm to use a unix sock 2022/06/05 04:07:04 [error] 15794#15794: *5 rewrite or internal redirection cycle while internally redirecting to "/index.php", client: <IP>, server: default_server, request: "GET / HTTP/1.0", host: "music.domain.tld" Application is running in an lxc container (I'd gotten an older version working, but had an hardware failure so I'm sure this is not the issue), with another lxc container acting as a reverse proxy. l'll be glad to share any other information needed. (apologies for updating the issue as I go on... If you want me to beat on it a bit, then update it, close and let me know)
kerem closed this issue 2026-02-26 02:34:23 +03:00
Author
Owner

@JourneymanGeek commented on GitHub (Jun 5, 2022):

Looks like it was mostly user error. Few specific things for ubuntu which I missed, presumably because I was banging my head on this too long - there's two changes I needed to make, one was changing the web root location to /var/www/html/koel/public (which I missed), and the other was changing the php-fpm location as needed. Its sorted

<!-- gh-comment-id:1146742077 --> @JourneymanGeek commented on GitHub (Jun 5, 2022): Looks like it was mostly user error. Few specific things for ubuntu which I missed, presumably because I was banging my head on this too long - there's two changes I needed to make, one was changing the web root location to /var/www/html/koel/public (which I missed), and the other was changing the php-fpm location as needed. Its sorted
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#830
No description provided.