[GH-ISSUE #1162] Cannot login without manually setting APP_KEY in .env file. #670

Closed
opened 2026-02-26 02:33:55 +03:00 by kerem · 4 comments
Owner

Originally created by @ZielinskiLukasz on GitHub (Jan 1, 2020).
Original GitHub issue: https://github.com/koel/koel/issues/1162

Describe the bug
Cannot login without manually setting APP_KEY in .env file.

To reproduce
Steps to reproduce the behavior:

  1. Follow the documentation:

Expected behavior
Able to login using credentials provided during koel:init step.

Screenshots
N/A

Environment

  • Koel version [e.g. v4.0.0]
  • OS: Ubuntu 16.04
  • Browser: any browser
  • PHP version: 7.2.15
  • Node version: 8.15.1

Additional context
n/a

Originally created by @ZielinskiLukasz on GitHub (Jan 1, 2020). Original GitHub issue: https://github.com/koel/koel/issues/1162 **Describe the bug** Cannot login without manually setting APP_KEY in .env file. **To reproduce** Steps to reproduce the behavior: 1. Follow the documentation: * cd <PUBLIC_WEB_DIRECTORY_FOR_KOEL> * git clone --recurse-submodules https://github.com/phanan/koel.git . * git checkout v4.0.0 # Check out the latest version at https://github.com/phanan/koel/releases * composer install * php artisan koel:init # Populate credentials during the process * php artisan serve **Expected behavior** Able to login using credentials provided during koel:init step. **Screenshots** N/A **Environment** - Koel version [e.g. v4.0.0] - OS: Ubuntu 16.04 - Browser: any browser - PHP version: 7.2.15 - Node version: 8.15.1 **Additional context** n/a
kerem closed this issue 2026-02-26 02:33:55 +03:00
Author
Owner

@kndrtk commented on GitHub (Jan 2, 2020):

Try to use command
php artisan koel:generate-jwt-secret

I have the same problem with Ubuntu 18.4 but a Debian 8 (php 7.0) work well.

<!-- gh-comment-id:570392915 --> @kndrtk commented on GitHub (Jan 2, 2020): Try to use command php artisan koel:generate-jwt-secret I have the same problem with Ubuntu 18.4 but a Debian 8 (php 7.0) work well.
Author
Owner

@navjotjsingh commented on GitHub (Mar 6, 2020):

Faced the same problem in Fedora 31. #1141
This fixed it.

<!-- gh-comment-id:595622992 --> @navjotjsingh commented on GitHub (Mar 6, 2020): Faced the same problem in Fedora 31. #1141 This fixed it.
Author
Owner

@navjotjsingh commented on GitHub (Mar 10, 2020):

Has this issue been fixed?

<!-- gh-comment-id:597046554 --> @navjotjsingh commented on GitHub (Mar 10, 2020): Has this issue been fixed?
Author
Owner

@navjotjsingh commented on GitHub (Mar 21, 2020):

I can still reproduce this error in Fedora 31. The command given by @SLHammer works only for generating the jwt-secret and not the APP_key which somehow the installer doesn't create. I tested with the latest master branch of Koel.

The installer should create the APP_key.

Can you please reopen this ticket?

<!-- gh-comment-id:602033305 --> @navjotjsingh commented on GitHub (Mar 21, 2020): I can still reproduce this error in Fedora 31. The command given by @SLHammer works only for generating the jwt-secret and not the APP_key which somehow the installer doesn't create. I tested with the latest master branch of Koel. The installer should create the APP_key. Can you please reopen this ticket?
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#670
No description provided.