Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

superset upload csv error with "FileNotFoundError" #201

Open
Dayinruoxi opened this issue Jan 25, 2021 · 2 comments
Open

superset upload csv error with "FileNotFoundError" #201

Dayinruoxi opened this issue Jan 25, 2021 · 2 comments

Comments

@Dayinruoxi
Copy link

when i download amancevice/superset:0.36.0 from dockerhub ,then i run with those command :
docker run --detach --name superset --net=host docker.io/amancevice/superset:0.36.0
docker exec -it superset superset-init
then i use Sources tabs
image
upload csv with error
image

@vialcollet
Copy link

I have the exact same issue!

@vialcollet
Copy link

@Dayinruoxi ,

Here is the way I solved it.
In the docker file, I create an uploads folder with appropriate rights like so:

FROM amancevice/superset:latest
USER root
RUN mkdir /uploads && \
 chown -R superset:superset /uploads
USER superset

Then I add the following line to superset-config.py

UPLOAD_FOLDER = "/uploads/"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants