[GH-ISSUE #246] http exception on fresh install when admin details not filled #180

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

Originally created by @coder4coffee on GitHub (Feb 20, 2016).
Original GitHub issue: https://github.com/koel/koel/issues/246

I was trying fresh installation and got symphony http exception.

$ php artisan koel:init
Attempting to install or upgrade Koel.
Remember, you can always install/upgrade manually following the guide here:
📙  https://github.com/phanan/koel/wiki

App key exists -- skipping
JWT secret exists -- skipping
Migrating database
Seeding initial data


  [Symfony\Component\HttpKernel\Exception\HttpException]  

After some digging around, I ran db:seed manually, and it gave me what went wrong(missing admin credentials in .env) manual command was:

$ php artisan db:seed
**************************************
*     Application In Production!     *
**************************************

 Do you really wish to run this command? [y/N] (yes/no) [no]:
 > y

Please fill in initial admin details in .env file first.


  [Symfony\Component\HttpKernel\Exception\HttpException]  

It would be nice to see error for fresh users instead of just exception. This is not really a bug, possibly enchancement.

Originally created by @coder4coffee on GitHub (Feb 20, 2016). Original GitHub issue: https://github.com/koel/koel/issues/246 I was trying fresh installation and got symphony http exception. ``` $ php artisan koel:init Attempting to install or upgrade Koel. Remember, you can always install/upgrade manually following the guide here: 📙 https://github.com/phanan/koel/wiki App key exists -- skipping JWT secret exists -- skipping Migrating database Seeding initial data [Symfony\Component\HttpKernel\Exception\HttpException] ``` After some digging around, I ran db:seed manually, and it gave me what went wrong(missing admin credentials in .env) manual command was: ``` $ php artisan db:seed ************************************** * Application In Production! * ************************************** Do you really wish to run this command? [y/N] (yes/no) [no]: > y Please fill in initial admin details in .env file first. [Symfony\Component\HttpKernel\Exception\HttpException] ``` It would be nice to see error for fresh users instead of just exception. This is not really a bug, possibly enchancement.
kerem closed this issue 2026-02-26 02:32:22 +03:00
Author
Owner

@phanan commented on GitHub (Feb 20, 2016):

I think I wrote the steps clearly enough in the wiki…

<!-- gh-comment-id:186577277 --> @phanan commented on GitHub (Feb 20, 2016): I think I wrote the steps clearly enough in the wiki…
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#180
No description provided.