question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fresh install with Docker gives Error: No such command "load_examples".

See original GitHub issue

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 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:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
vgrivelcommented, Oct 24, 2018

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

1reaction
hajdbocommented, Oct 25, 2018

see #6167

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found