Incubator-superset: Cannot login using default username and password

Created on 7 Aug 2020  ·  6Comments  ·  Source: apache/incubator-superset

A clear and concise description of what the bug is.

This is my first time using Superset and I followed the instructions here
https://superset.apache.org/installation.html#start-with-docker

Expected results

I was able to clone and run docker-compose up successfully.
I opened http://localhost:8088 on my browser and entered admin for both username and password.

Actual results

I got an Invalid login. Please try again. message

Screenshots

Screen Shot 2020-08-07 at 1 31 18 AM

How to reproduce the bug

I followed https://superset.apache.org/installation.html#start-with-docker

Environment

  • superset version: NA
  • python version: 3.7.3
  • node.js version: 11.0..0
  • npm version: 6.14.4
#bug

Most helpful comment

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.65. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

All 6 comments

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.65. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

same problem, hope for an answer soon!

Ditto. I'm wondering if something happened to the docker file. I tried running the superset-init script but got:

‘bash\r’: No such file or directory

Would love to help put in PR if someone could give me more direction. I'm new to this repo.

I guess you're running on windows, this is a problem caused by git cause it has a default configuration that changes Unix-style line breaks to windows ones, in order to surpass this you need to:

  • delete your current repo
  • apply git config --global core.autocrlf false so it doesn't change the line breaks
  • clone the repo again
    Now you won't be seing this error

checkout : https://stackoverflow.com/questions/29045140/env-bash-r-no-such-file-or-directory

I have this issue on macOS

EDIT:
I was able to fix the 'bash\r': No such file or directory issue using @rgarci comment and this

But then I got this error

superset_init            | Traceback (most recent call last):
superset_init            |   File "/usr/local/bin/superset", line 6, in <module>
superset_init            |     with open(__file__) as f:
superset_init            | FileNotFoundError: [Errno 2] No such file or directory: '/app/superset/bin/superset'
superset_init exited with code 1

Ah this is a duplicate of #10149.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kalimuthu123 picture kalimuthu123  ·  3Comments

lenguyenthedat picture lenguyenthedat  ·  3Comments

ghost picture ghost  ·  3Comments

gbrian picture gbrian  ·  3Comments

sashank picture sashank  ·  3Comments