[GH-ISSUE #1224] Couldn't login with latest version v4.3.1 #697

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

Originally created by @songliqiangcn on GitHub (May 9, 2020).
Original GitHub issue: https://github.com/koel/koel/issues/1224

Describe the bug
After success setup Koel as a local site, couldn't login using my person account.

Steps to setup

  1. git clone --recurse-submodules https://github.com/phanan/koel.git
  2. cd koel/ && git checkout v4.3.1
  3. composer install
  4. vi .env (created database 'koel') and change the username, password, media path ....
  5. php artisan koel:init
  6. Give the permisison to web user to read and write
    sudo chown -R www-data:www-data storage
    sudo chown -R www-data:www-data bootstrap/cache/
  7. Success.

Other: Got some warning message see below, ignore it.
info fsevents@1.1.3: The platform "linux" is incompatible with this module.
info "fsevents@1.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.

Open the browser and login with my account, Couldn't login.
Right click and select 'Inspect' in browser, got the error message on Console.
Http status code: 500
Response:
"message": "No application encryption key has been specified.",
"exception": "RuntimeException",
"file": "/home/johnson/web/koel/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php",
"line": 44,

Screenshots
Screenshot from 2020-05-09 16-24-49

Environment

  • Koel version [v4.3.1]
  • OS: [Ubuntu 18.04]
  • Browser [Chrome 81]
  • PHP version [PHP 7.2.24]
  • Node version [v14.2.0]
  • NPM version [v6.14.4]
  • Yarn version [v1.22.4]
Originally created by @songliqiangcn on GitHub (May 9, 2020). Original GitHub issue: https://github.com/koel/koel/issues/1224 **Describe the bug** After success setup Koel as a local site, couldn't login using my person account. **Steps to setup** 1. git clone --recurse-submodules https://github.com/phanan/koel.git 2. cd koel/ && git checkout v4.3.1 3. composer install 4. vi .env (created database 'koel') and change the username, password, media path .... 5. php artisan koel:init 6. Give the permisison to web user to read and write sudo chown -R www-data:www-data storage sudo chown -R www-data:www-data bootstrap/cache/ 7. Success. Other: Got some warning message see below, ignore it. info fsevents@1.1.3: The platform "linux" is incompatible with this module. info "fsevents@1.1.3" is an optional dependency and failed compatibility check. Excluding it from installation. Open the browser and login with my account, Couldn't login. Right click and select 'Inspect' in browser, got the error message on Console. Http status code: 500 Response: "message": "No application encryption key has been specified.", "exception": "RuntimeException", "file": "/home/johnson/web/koel/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php", "line": 44, **Screenshots** ![Screenshot from 2020-05-09 16-24-49](https://user-images.githubusercontent.com/12743413/81466030-b52dd300-9211-11ea-86a7-0e30c57ddb60.png) **Environment** - Koel version [v4.3.1] - OS: [Ubuntu 18.04] - Browser [Chrome 81] - PHP version [PHP 7.2.24] - Node version [v14.2.0] - NPM version [v6.14.4] - Yarn version [v1.22.4]
kerem closed this issue 2026-02-26 02:34:00 +03:00
Author
Owner

@songliqiangcn commented on GitHub (May 9, 2020):

OK, I found the issue, you setup script (php artisan koel:init) didn't to generate the app key .
After I manually to run "php artisan key:generate", success to login.
Unfortunately, the two issues I reported before which are failed to load the cover and no sound still exists.
Thanks,

<!-- gh-comment-id:626115698 --> @songliqiangcn commented on GitHub (May 9, 2020): OK, I found the issue, you setup script (php artisan koel:init) didn't to generate the app key . After I manually to run "php artisan key:generate", success to login. Unfortunately, the two issues I reported before which are failed to load the cover and no sound still exists. Thanks,
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#697
No description provided.