JPMoresmau opened a new issue #17355:
URL: https://github.com/apache/superset/issues/17355


   #### How to reproduce the bug
   
   1. Go to 'Data -> Databases -> +Database'
   2. Click on 'Other'
   3. Enter SQLAlchemy URL: elasticsearch+http://localhost:9200/
   4. get a 500 error in a popup. Action Log shows 
test_connection_error.ModuleNotFoundError
   
   ### Expected results
   
   A connection to ElasticSearch. If I run superset shell in my docker 
container I can connect to elastic search so elasticsearch-dbapi is installed 
and the url is correct
   
   ### Actual results
   
   An error in the UI. I have no log file I can find to provide more. There is 
no /app/super_home/superset.log file???
   
   ### Environment
   
   (please complete the following information):
   
   - browser type and version: Firefox
   - superset version: Superset 0.0.0dev
   - python version: Python 3.8.12
   - node.js version: node: command not found
   - 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. -> where is the log? I can't find it, There 
is no /app/super_home/superset.log file, and docker logs gives me nothing
   - [X] I have reproduced the issue with at least the latest released version 
of superset. Well I built the docker image as indicated at 
https://hub.docker.com/r/apache/superset 
   - [X] I have checked the issue tracker for the same issue and I haven't 
found one similar.
   
   ### Additional context
   
   Running one docker container, this is my dockerfile:
   
   ```
   FROM apache/superset
   USER root
   RUN pip install psycopg2-binary
   RUN pip install elasticsearch-dbapi
   USER superset
   
   RUN superset fab create-admin \
                  --username admin \
                  --firstname Superset \
                  --lastname Admin \
                  --email [email protected] \
                  --password admin
   
   RUN superset db upgrade
   
   RUN superset init
   ```
   


-- 
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.

To unsubscribe, e-mail: [email protected]

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