ckaldemeyer opened a new issue #10132:
URL: https://github.com/apache/incubator-superset/issues/10132


   A clear and concise description of what the bug is.
   
   ### Expected results
   
   Successful docker login on localhost as described within the documentation: 
https://superset.incubator.apache.org/installation.html#start-with-docker
   
   ### Actual results
   
   First problem: The user admin with password admin ist not working and no 
login possible as opposed to the documentation.
   
   So I tried the following based on this question 
(https://stackoverflow.com/questions/55961428/default-login-for-docker-image-of-superset)
 in order to create a user admin with password admin:
   
       docker-compose exec superset bash -c "export FLASK_APP=superset && flask 
fab create-admin"
   
   This seemes to have succeeded:
   
         
C:\Users\cord.kaldemeyer\Documents\Programmierung\incubator-superset>docker-compose
 exec superset bash -c "export FLASK_APP=superset && flask fab create-admin"
         Username [admin]: admin
         User first name [admin]: admin
         User last name [user]: admin
         Email [[email protected]]: [email protected]
         Password:
         Repeat for confirmation:
         Loaded your LOCAL configuration at [/app/pythonpath/superset_config.py]
         INFO:superset.utils.logging_configurator:logging was configured 
successfully
         /usr/local/lib/python3.6/site-packages/flask_caching/__init__.py:189: 
UserWarning: Flask-Caching: CACHE_TYPE is set to null, caching is effectively 
disabled.
           "Flask-Caching: CACHE_TYPE is set to null, "
         Recognized Database Authentications.
         Admin User admin created.
   
   After a "successfull" login, I get the following error:
   
       sqlalchemy.exc.ProgrammingError
       sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedTable) 
relation "user_attribute" does not exist
   
   This is also included in the logs:
   
       sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedTable) 
relation "user_attribute" does not exist
   
   and it seems as if there is a missing table. But I haven't even touched the 
database yet..
   
   #### Screenshots
   
   https://pasteboard.co/JeggARr.png
   
   #### How to reproduce the bug
   
   Just follow the official documentation using Windows 10: 
https://superset.incubator.apache.org/installation.html#start-with-docker
   
   ### Environment
   
   (please complete the following information):
   
   - superset version: 0.36.0
   - python version: Python 3.7.6
   - node.js version: ? 
   - npm version: ?
   
   ### 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.
   - [ ] 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
   
   The error log is identical to the one in this comment: 
https://github.com/apache/incubator-superset/issues/7637#issuecomment-498609977
   
   
   Any hints?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to