mirror of
https://github.com/koel/koel.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #1752] Site not rendering after install #963
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#963
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 @AlexBrightwater on GitHub (Feb 28, 2024).
Original GitHub issue: https://github.com/koel/koel/issues/1752
Describe the bug
I installed koel via docker and put it behind a reverse proxy. When opening the domain I registered, the site shows the login screen for a split second and is blank aferwards.
To reproduce
php artisan koel:init --no-assetsphp artisan koel:admin:change-passwordphp artisan koel:syncExpected behavior
After setting everything up as described, I would expect the koel login screen.
Screenshots

Environment
Additional context
My docker-compose.yml:
Logs: https://hastebin.skyra.pw/cixamagode.yaml
@AlexBrightwater commented on GitHub (Feb 28, 2024):
Since the music in the volume is owned by user 33 on the host, I tried setting the environment to user 33 for the koel_app.
But this did not help.
@AlexBrightwater commented on GitHub (Feb 29, 2024):
I found out that there are two environment variables needed that are not stated in the documentation/ default docker-compose.yml as mandatory for usage with a reverse proxy.
I added
APP_URL=https://mydomain.comandFORCE_HTTPS=trueto the environment directive of the koel_app.