[GH-ISSUE #2050] [FR]: expand koel init to cover more configs #1081

Open
opened 2026-02-26 02:35:10 +03:00 by kerem · 2 comments
Owner

Originally created by @AEnterprise on GitHub (Aug 15, 2025).
Original GitHub issue: https://github.com/koel/koel/issues/2050

Originally assigned to: @phanan on GitHub.

Description

Current koel:init command only does setup for the database, but not other config options (like mail config, search providers, ...). Would be useful (especially since there is no good way to test/validate these right now) to have this ask about those

Additional information

Alternatively setting them from the ui with validation and test options could be useful.

i could probably make a pr later to add this to either if that's wanted

Originally created by @AEnterprise on GitHub (Aug 15, 2025). Original GitHub issue: https://github.com/koel/koel/issues/2050 Originally assigned to: @phanan on GitHub. ### Description Current koel:init command only does setup for the database, but not other config options (like mail config, search providers, ...). Would be useful (especially since there is no good way to test/validate these right now) to have this ask about those ### Additional information Alternatively setting them from the ui with validation and test options could be useful. i could probably make a pr later to add this to either if that's wanted
Author
Owner

@phanan commented on GitHub (Aug 15, 2025):

I’d much prefer a CLI-based solution. We’ll also have to keep in mind that
the init command is runnable without user interactions.

On Fri, Aug 15, 2025 at 17:28 AEnterprise @.***> wrote:

Assigned #2050 https://github.com/koel/koel/issues/2050 to @phanan
https://github.com/phanan.


Reply to this email directly, view it on GitHub
https://github.com/koel/koel/issues/2050#event-19177748868, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AB5O3USGFEQQ7OJLI24RWCD3NX4CRAVCNFSM6AAAAACD7XQKPCVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJZGE3TONZUHA4DMOA
.
You are receiving this because you were assigned.Message ID:
@.***>

<!-- gh-comment-id:3191983202 --> @phanan commented on GitHub (Aug 15, 2025): I’d much prefer a CLI-based solution. We’ll also have to keep in mind that the init command is runnable without user interactions. On Fri, Aug 15, 2025 at 17:28 AEnterprise ***@***.***> wrote: > Assigned #2050 <https://github.com/koel/koel/issues/2050> to @phanan > <https://github.com/phanan>. > > — > Reply to this email directly, view it on GitHub > <https://github.com/koel/koel/issues/2050#event-19177748868>, or > unsubscribe > <https://github.com/notifications/unsubscribe-auth/AB5O3USGFEQQ7OJLI24RWCD3NX4CRAVCNFSM6AAAAACD7XQKPCVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJZGE3TONZUHA4DMOA> > . > You are receiving this because you were assigned.Message ID: > ***@***.***> >
Author
Owner

@AEnterprise commented on GitHub (Aug 15, 2025):

it could have a flag you need to add for it to prompt these, i see it already does some stuff for detecting interactivity for not getting stuck in a database question loop, maybe it could only prompt for unset settings if ran interactively

<!-- gh-comment-id:3192219597 --> @AEnterprise commented on GitHub (Aug 15, 2025): it could have a flag you need to add for it to prompt these, i see it already does some stuff for detecting interactivity for not getting stuck in a database question loop, maybe it could only prompt for unset settings if ran interactively
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#1081
No description provided.