sushan-upadhyay edited a comment on issue #6543: flask.cli.NoAppException on fresh installation of superset via docker URL: https://github.com/apache/incubator-superset/issues/6543#issuecomment-448704802 @lhyundeadsoul I added the two lines and ran the command `docker-compose up`. Still I'm getting the error. Do I need to again run some installation steps ? In fact there's a new error also. `Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise raise value File "/usr/local/lib/python3.6/site-packages/flask/cli.py", line 95, in find_best_app module=module.__name__ flask.cli.NoAppException: Failed to find Flask application or factory in module "app". Use "FLASK_APP=app:name to specify one.` My docker-entrypoint.sh file looks something like this ```bash #!/bin/bash set -ex if [ "$#" -ne 0 ]; then exec "$@" elif [ "$SUPERSET_ENV" = "development" ]; then superset worker & # needed by superset runserver (cd superset/assets/ && yarn && yarn run sync-backend) (cd superset/assets/ && yarn run dev) & export FLASK_APP=superset export FLASK_ENV=development flask run -p 8088 --with-threads --reload --debugger --host=0.0.0.0 elif [ "$SUPERSET_ENV" = "production" ]; then superset worker & superset runserver -a 0.0.0.0 -w $((2 * $(getconf _NPROCESSORS_ONLN) + 1)) else superset --help fi ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
