superset: Install results in broken welcome screen on MacOS

A clear and concise description of what the bug is.

Expected results

Following the steps on: https://superset.apache.org/docs/installation/installing-superset-using-docker-compose

I expect to be able to use superset after doing “docker-compose up” and logging in.

Actual results

I am able to login but only see a broken screen, displaying 3 items:

  • “x” button
  • “close” button
  • broken image picture

Screenshots

Please see attached screenshot. image

How to reproduce the bug

Follow instructions to install and run on MacOS as described in: https://superset.apache.org/docs/installation/installing-superset-using-docker-compose

Login and find the broken page.

Environment

(please complete the following information):

  • superset version: unknown There is no version information anywhere to be found. I did “git clone https://github.com/apache/incubator-superset.git” on TUE OCT 6th at around 08:27 New York time if that helps.

  • python version: python --version: Python 2.7.16 but Python 3.7.6 is also installed

  • node.js version: node -v: I do not have node installed.

  • npm version: npm -v No NPM on Mac.

Checklist

Make sure these boxes are checked before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if there are any. WHERE to find these?

  • I have reproduced the issue with at least the latest released version of superset. I tried to do docker-compose build AND docker-compose up --build to see if this could fix the issue. No change.

  • I have checked the issue tracker for the same issue and I haven’t found one similar. I have found one issue from 2019: https://github.com/apache/incubator-superset/issues/8818 But nothing in there seemed to help me.

Additional context

While I was typing this I saw the terminal showing additional information:

“superset_node | npm WARN tarball tarball data for datamaps@0.5.9 (sha512-GUXpO713URNzaExVUgBtqA5fr2UuxUG/fVitI04zEFHVL2FHSjd672alHq8E16oQqRNzF0m1bmx8WlTnDrGSqQ==) seems to be corrupted. Trying one more time.”

I then scrolled up to check if there was more and got to:

“superset_init | Init Step 4/4 [Starting] – Loading examples”

I did not find the related “[Complete]” tag however. Does this mean that there is still some kind of installation running in the background? If this is the case and the install is still running, why not tell the user clearly? Also why can I already open the URL if there is nothing there (yet)? Most likely something went wrong during the install and Step 4 never got completed I guess?

The terminal gets flooded with “superset_app | INFO:werkzeug:127.0.0.1 - - [06/Oct/2020 12:34:25] “GET /health HTTP/1.1” 200 -” which to me looks like an “is_alive” response, telling me, as the unsuspecting user, that everything is done.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 3
  • Comments: 15 (2 by maintainers)

Most upvoted comments

Could you tell us in which image do you open the terminal: superset-worker, superset-app???

It clearly says you have to be in incubator-superset, which is just the root directory of the project

@HappyMiner hi there, this has actually been a common experience for many first time users of Superset via docker-compose. The Docker container for the frontend application is basically building frontend assets (hence the webpack.progress messages in the command line) but this build process often starts 10-15 mins after the rest of the containers are up (for some reason).

Once you see the frontend assets finish building, you should see the full Superset UI!

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

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