Fresh install with Docker gives Error: No such command "load_examples".
See original GitHub issueMake 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 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
Superset version
Superset 0.999.0dev
Expected results
To finish the installation and let me open the browser at the following url http://localhost:8088
Actual results
installation breaks with the error below
Steps to reproduce
Do a fresh install with Docker in MacOs Mojave
git clone https://github.com/apache/incubator-superset/
cd incubator-superset
cp contrib/docker/{docker-build.sh,docker-compose.yml,docker-entrypoint.sh,docker-init.sh,Dockerfile} .
cp contrib/docker/superset_config.py superset/
bash -x docker-build.sh
docker-compose up -d
docker-compose exec superset bash
bash docker-init.sh
After a while, it asks to create an admin account. Fill your details. Right after that, it raises the following error
Loaded your LOCAL configuration at [/home/work/incubator-superset/superset/superset_config.py]
INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO [alembic.runtime.migration] Will assume transactional DDL.
+ superset load_examples
Loaded your LOCAL configuration at [/home/work/incubator-superset/superset/superset_config.py]
Usage: superset [OPTIONS] COMMAND [ARGS]...
Try "superset --help" for help.
Error: No such command "load_examples".
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
docker load - Docker Documentation
docker load: Load an image or repository from a tar archive (even if compressed with gzip, bzip2, or xz) from a file or...
Read more >Dockerfile build error on “RUN” command (no such image)
Any time I have a RUN Command after installing the package I will have image not found. Whatever the command is, it will...
Read more >Why new Macs break your Docker build, and how to fix it
New Macs can break your Docker image build in unexpected ways; learn why, ... error: command 'gcc' failed: No such file or directory...
Read more >Docker: Install containers for SQL Server on Linux
This quickstart shows how to use Docker to run the SQL Server Linux container images. You connect to a database and run a...
Read more >Troubleshooting errors with Docker commands when using ...
Error : "Filesystem Verification Failed" or "404: Image Not Found" when pulling an image from an Amazon ECR repository. You may receive the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, I had the same issue. The problem is on the docker-init.sh script change load_examples by load-examples. Then redo the steps:
docker-compose exec superset bash bash docker-init.sh
https://github.com/apache/incubator-superset/blob/master/contrib/docker/docker-init.sh#L12
see #6167