superset: New docker installation comes with Error: Internal server error 500

A clear and concise description of what the bug is. Following the installation instructions available here: https://superset.apache.org/docs/installation/installing-superset-using-docker-compose, after the image is up and running, I have opened http://localhost:8088 to do a first time login as admin, howerver, I am getting an error the web-page with the following message:" Internal server error Sorry, something went wrong. We are fixing the mistake now. Try again later or go back to home." and there is 500 number.

How to reproduce the bug

  1. Go to ‘…’
  2. Click on ‘…’
  3. Scroll down to ‘…’
  4. See error

Expected results

Admin Login Page what you expected to happen.

Actual results

Internal server Error 500. what actually happens.

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

Linux Ubuntu 20.04 LTS (please complete the following information):

  • browser type and version: Chrome latest, Firefox latest.
  • superset version: superset version latest from docker compose available at: https://github.com/apache/superset.git
  • python version: python --version
  • node.js version: node -v
  • any feature flags active:

Checklist

Make sure to follow these steps 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.
  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I haven’t found one similar.

Additional context

Add any other context about the problem here.

About this issue

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

Most upvoted comments

I found solution at the DockerHub page:

// Setup your local admin account
$ docker exec -it superset superset fab create-admin \
              --username admin \
              --firstname Superset \
              --lastname Admin \
              --email admin@superset.com \
              --password admin

// Migrate local DB to latest
$ docker exec -it superset superset db upgrade

// Setup roles
$ docker exec -it superset superset init

P.S. Running apache/superset:1.5.0 image

I faced the similar issue due to incomplete configuration.

https://hub.docker.com/r/apache/superset

this link on docker superset setup helped me

I faced the similar issue due to incomplete configuration.

https://hub.docker.com/r/apache/superset

this link on docker superset setup helped me

This is the solution that works for me!