mirror of
https://github.com/koel/koel.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #1967] Internal Server Error #1047
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#1047
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 @amakiell on GitHub (Jun 24, 2025).
Original GitHub issue: https://github.com/koel/koel/issues/1967
just followed these instructions on debian (mx) https://computingforgeeks.com/setup-personal-audio-streaming-server-with-koel/
go to log in on browser and get Internal Server Error
Illuminate\Database\QueryException
SQLSTATE[HY000] [1698] Access denied for user 'user'@'localhost' (Connection: mysql, SQL: select * from
licensesorder bycreated_atdesc limit 1)GET 127.0.0.1:8000
PHP 8.2.28 — Laravel 11.45.1
this line is highlighted
$license = License::query()->latest()->first();
What to do?
(silly question, why cant this thing just have an installer?)
@phanan commented on GitHub (Jun 25, 2025):
Run
php koel:init --no-assets.@amakiell commented on GitHub (Jun 26, 2025):
ok got further down the list, now I get this:
http://127.0.0.1:8000/
Symfony Exception
Symfony Docs
ErrorException
HTTP 500 Internal Server Error
file_put_contents(/var/www/koel/storage/framework/views/13c9472f866ac10b368b775c8b89b615.php): Failed to open stream: Permission denied
ErrorException
Show exception properties
in /var/www/koel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php (line 204)
in /var/www/koel/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php -> handleError (line 256)
HandleExceptions->Illuminate\Foundation\Bootstrap{closure}()
in /var/www/koel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php file_put_contents (line 204)
in /var/www/koel/vendor/laravel/framework/src/Illuminate/View/Compilers/BladeCompiler.php -> put (line 196)
in /var/www/koel/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php -> compile (line 67)
in /var/www/koel/vendor/laravel/framework/src/Illuminate/View/View.php -> get (line 209)
in /var/www/koel/vendor/laravel/framework/src/Illuminate/View/View.php -> getContents (line 192)
in /var/www/koel/vendor/laravel/framework/src/Illuminate/View/View.php -> renderContents (line 161)
in /var/www/koel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Renderer/Renderer.php -> render (line 95)
in /var/www/koel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php -> render (line 847)
in /var/www/koel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php -> renderExceptionContent (line 828)
in /var/www/koel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php -> convertExceptionToResponse (line 807)
in /var/www/koel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php -> prepareResponse (line 706)
in /var/www/koel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php -> renderExceptionResponse (line 594)
in /var/www/koel/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php -> render (line 219)
in /var/www/koel/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php -> renderHttpResponse (line 196)
in /var/www/koel/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php -> handleException (line 256)
HandleExceptions->Illuminate\Foundation\Bootstrap{closure}()
@phanan commented on GitHub (Jun 26, 2025):
You're encountering a file permission error. Make sure the folder is readwritable by your web user. Better yet, follow the official documentation.