[GH-ISSUE #773] Can't Log In #559

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

Originally created by @drastic082 on GitHub (Aug 7, 2018).
Original GitHub issue: https://github.com/koel/koel/issues/773

Hello. I have koel installed. I'm able to see the home screen. My issue is that I cant log in. So far I tried deleting my koel database and re ran koel:init. I was prompted to input my info, name, email, password. Everything went through but the credentials dont work on the koel user interface.

I'm on ubuntu 16.04
Node v8.11.3
yarn v1.9.4
npm version 5.6.0
PHP version 7

This is what my init command displays:

eastern@HydraStream:/var/www/html$ sudo php artisan koel:init
Attempting to install or upgrade Koel.
Remember, you can always install/upgrade manually following the guide here:
📙 https://koel.phanan.net/docs

App key exists -- skipping
JWT secret exists -- skipping
Migrating database
Let's create the admin account.

Your name:

myname

Your email address:

myemail@email.com

Your desired password:

Again, just to make sure:

Seeding initial data
The absolute path to your media directory. If this is skipped (left blank) now, you can set it later via the web interface.

Media path []:

Compiling front-end stuff
yarn install v1.9.4
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
success Already up-to-date.
$ yarn production
yarn production v0.25.4
$ cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
95% emitting DONE Compiled successfully in 26664ms16:27:11

                                                       Asset       Size  Chunks                    Chunk Names
                                img/covers/unknown-album.png    11.5 kB          [emitted]         

fonts/fontawesome-webfont.eot?674f50d287a8c48dc19ba404d20fe713 166 kB [emitted]
fonts/fontawesome-webfont.woff?fee66e712a8a08eef5805a46892932ad 98 kB [emitted]
fonts/fontawesome-webfont.ttf?b06871f281fee6b241d60582ae9369b9 166 kB [emitted]
fonts/fontawesome-webfont.svg?912ec66d7572ff821749319396470bde 444 kB [emitted] [big]
fonts/logo.svg?8a2f5cec8d12d85f91ae82ef106ecb28 5.19 kB [emitted]
images/unknown-album.png?873e048b5722632f6f0b8c0120307829 11.5 kB [emitted]
/js/app.981b4a78a7b90e2d68a1.js 789 kB 0 [emitted] [big] /js/app
/js/remote/app.90afab5c973e242565d5.js 539 kB 1 [emitted] [big] /js/remote/app
/css/app.29d0ddb4222df408fee0.css 19.3 kB 0 [emitted] /js/app
/css/remote.29d0ddb4222df408fee0.css 40 bytes 0 [emitted] /js/app
mix-manifest.json 234 bytes [emitted]
img/artists/.gitkeep 0 bytes [emitted]
img/bars.gif 33.2 kB [emitted]
fonts/fontawesome-webfont.woff2?af7ae505a9eed503f8b8e6982036873e 77.2 kB [emitted]
img/favicon.ico 4.29 kB [emitted]
img/icon.png 10.8 kB [emitted]
img/itunes.svg 1.54 kB [emitted]
img/logo.png 9.28 kB [emitted]
img/logo.svg 5.19 kB [emitted]
img/tile-wide.png 3.25 kB [emitted]
img/tile.png 6.47 kB [emitted]
fonts/fontawesome-webfont.eot 166 kB [emitted]
fonts/fontawesome-webfont.svg 444 kB [emitted] [big]
fonts/fontawesome-webfont.ttf 166 kB [emitted]
fonts/fontawesome-webfont.woff 98 kB [emitted]
fonts/fontawesome-webfont.woff2 77.2 kB [emitted]
fonts/FontAwesome.otf 135 kB [emitted]
Done in 28.29s.
Done in 29.75s.

Let me know what I'm doing wrong. Thx

Originally created by @drastic082 on GitHub (Aug 7, 2018). Original GitHub issue: https://github.com/koel/koel/issues/773 Hello. I have koel installed. I'm able to see the home screen. My issue is that I cant log in. So far I tried deleting my koel database and re ran koel:init. I was prompted to input my info, name, email, password. Everything went through but the credentials dont work on the koel user interface. I'm on ubuntu 16.04 Node v8.11.3 yarn v1.9.4 npm version 5.6.0 PHP version 7 This is what my init command displays: eastern@HydraStream:/var/www/html$ sudo php artisan koel:init Attempting to install or upgrade Koel. Remember, you can always install/upgrade manually following the guide here: 📙 https://koel.phanan.net/docs App key exists -- skipping JWT secret exists -- skipping Migrating database Let's create the admin account. Your name: > myname Your email address: > myemail@email.com Your desired password: > Again, just to make sure: > Seeding initial data The absolute path to your media directory. If this is skipped (left blank) now, you can set it later via the web interface. Media path []: > Compiling front-end stuff yarn install v1.9.4 warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json. [1/4] Resolving packages... success Already up-to-date. $ yarn production yarn production v0.25.4 $ cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js 95% emitting DONE Compiled successfully in 26664ms16:27:11 Asset Size Chunks Chunk Names img/covers/unknown-album.png 11.5 kB [emitted] fonts/fontawesome-webfont.eot?674f50d287a8c48dc19ba404d20fe713 166 kB [emitted] fonts/fontawesome-webfont.woff?fee66e712a8a08eef5805a46892932ad 98 kB [emitted] fonts/fontawesome-webfont.ttf?b06871f281fee6b241d60582ae9369b9 166 kB [emitted] fonts/fontawesome-webfont.svg?912ec66d7572ff821749319396470bde 444 kB [emitted] [big] fonts/logo.svg?8a2f5cec8d12d85f91ae82ef106ecb28 5.19 kB [emitted] images/unknown-album.png?873e048b5722632f6f0b8c0120307829 11.5 kB [emitted] /js/app.981b4a78a7b90e2d68a1.js 789 kB 0 [emitted] [big] /js/app /js/remote/app.90afab5c973e242565d5.js 539 kB 1 [emitted] [big] /js/remote/app /css/app.29d0ddb4222df408fee0.css 19.3 kB 0 [emitted] /js/app /css/remote.29d0ddb4222df408fee0.css 40 bytes 0 [emitted] /js/app mix-manifest.json 234 bytes [emitted] img/artists/.gitkeep 0 bytes [emitted] img/bars.gif 33.2 kB [emitted] fonts/fontawesome-webfont.woff2?af7ae505a9eed503f8b8e6982036873e 77.2 kB [emitted] img/favicon.ico 4.29 kB [emitted] img/icon.png 10.8 kB [emitted] img/itunes.svg 1.54 kB [emitted] img/logo.png 9.28 kB [emitted] img/logo.svg 5.19 kB [emitted] img/tile-wide.png 3.25 kB [emitted] img/tile.png 6.47 kB [emitted] fonts/fontawesome-webfont.eot 166 kB [emitted] fonts/fontawesome-webfont.svg 444 kB [emitted] [big] fonts/fontawesome-webfont.ttf 166 kB [emitted] fonts/fontawesome-webfont.woff 98 kB [emitted] fonts/fontawesome-webfont.woff2 77.2 kB [emitted] fonts/FontAwesome.otf 135 kB [emitted] Done in 28.29s. Done in 29.75s. Let me know what I'm doing wrong. Thx
kerem closed this issue 2026-02-26 02:33:33 +03:00
Author
Owner

@E-vill commented on GitHub (Aug 11, 2018):

Hello, thanks for this amazing project !
I have a similar issue when I try to run Koel directly with nginx, but everything looks good when I use php artisan serve --host=XXXX --port=8000

<!-- gh-comment-id:412308923 --> @E-vill commented on GitHub (Aug 11, 2018): Hello, thanks for this amazing project ! I have a similar issue when I try to run Koel directly with nginx, but everything looks good when I use php artisan serve --host=XXXX --port=8000
Author
Owner

@drastic082 commented on GitHub (Aug 13, 2018):

E-VIll,
How did you get it to work with php artisan? I tried, and it's still not working.

<!-- gh-comment-id:412532691 --> @drastic082 commented on GitHub (Aug 13, 2018): E-VIll, How did you get it to work with php artisan? I tried, and it's still not working.
Author
Owner

@E-vill commented on GitHub (Aug 14, 2018):

Well, at the root of the koel project :
php artisan serve --host=mon.ip --port=mon_port
... But did you check in your database that you have a well formed user account ?

<!-- gh-comment-id:412892254 --> @E-vill commented on GitHub (Aug 14, 2018): Well, at the root of the koel project : php artisan serve --host=mon.ip --port=mon_port ... But did you check in your database that you have a well formed user account ?
Author
Owner

@edouardschuppert commented on GitHub (Oct 8, 2018):

Hello, I have the exact same problem : the installation seems to be Ok, no error message, I can see the home screen after serving Koel, but I am unable to connect.
I my database, I do have a well formed user account...
Has anyone found the solution to this problem ?

<!-- gh-comment-id:427845557 --> @edouardschuppert commented on GitHub (Oct 8, 2018): Hello, I have the exact same problem : the installation seems to be Ok, no error message, I can see the home screen after serving Koel, but I am unable to connect. I my database, I do have a well formed user account... Has anyone found the solution to this problem ?
Author
Owner

@drastic082 commented on GitHub (Oct 8, 2018):

I was never able to log in. I gave up. Let us know if you find a solution.

Sent from Yahoo Mail on Android

On Mon, Oct 8, 2018 at 10:01 AM, Edouard Schuppertnotifications@github.com wrote:
Hello, I have the exact same problem : the installation seems to be Ok, no error message, I can see the home screen after serving Koel, but I am unable to connect.
I my database, I do have a well formed user account...
Has anyone found the solution to this problem ?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

<!-- gh-comment-id:427890717 --> @drastic082 commented on GitHub (Oct 8, 2018): I was never able to log in. I gave up. Let us know if you find a solution. Sent from Yahoo Mail on Android On Mon, Oct 8, 2018 at 10:01 AM, Edouard Schuppert<notifications@github.com> wrote: Hello, I have the exact same problem : the installation seems to be Ok, no error message, I can see the home screen after serving Koel, but I am unable to connect. I my database, I do have a well formed user account... Has anyone found the solution to this problem ? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Author
Owner

@edouardschuppert commented on GitHub (Oct 9, 2018):

Well, I am not sure that it is the good solution, but it seems that after I gave the property to www-data, it worked for me...

<!-- gh-comment-id:428096420 --> @edouardschuppert commented on GitHub (Oct 9, 2018): Well, I am not sure that it is the good solution, but it seems that after I gave the property to www-data, it worked for me...
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#559
No description provided.