Comments (3)
The examples are not really meant to be used in a production setting, but more of a reference. I would recommend trying to understand what they are doing a bit more before copy-pasting them into a new location.
Additionally I would recommend against using SQLite as your backend as opposed to a more robust RDB like Postgres or MySQL, but that is up to you.
The configuration of the SQLite example mounts the superset
directory to /etc/superset
inside the container and the SQLite db file should be found at /etc/superset/superset.db
if the container is unable to read/write to that location you will get the error above.
I would exec into the container, cd to /etc/superset
and try to determine why the location is not accessible to the superset user.
from docker-superset.
That's what I did. I found that the directory's permissions were wrong, so I set that using chmod a+rwx superset
from the host and the problem was solved.
Is there any other way of setting these permissions without messing with the permissions outside the container?
from docker-superset.
A couple of options off the top of my head:
- You could stop mounting anything into the container and just use the defaults. This is bad because you'll lose everything when the container is removed.
- You could create a docker volume and mount that
- You could use MySQL or Postgres instead of SQLite and avoid the whole thing.
from docker-superset.
Related Issues (20)
- Could not create new database after 1.1.0 to 1.3.0 upgrade HOT 5
- superset db upgrade fails inside a container on kubernetes HOT 1
- Build - MarkupSafe version compatibility HOT 6
- SSL connection with Azure MySQL database HOT 1
- 1.5.x and maintenance HOT 2
- Celery beat broken HOT 1
- Missed ecpg in docker image HOT 1
- Big Number with Trendline coudn't work with PostgreSQL's date field HOT 1
- Superset not working properly after upgrade to v 1.5.1
- Upgrading to 2.0.0 and using redis backend crashing. Seems to need upgraded redis client to 3.4.0 HOT 1
- superset_config.py when active another language crashes: Cannot read properties of undefined (reading 'flag')
- Creating custom viz plugin
- Release SuperSet 1.5.3 ? HOT 1
- BigQuery interface NotImplementedError exception
- Bigquery support lib pybigquery is obsolete HOT 1
- Error runnning db upgrade on 2.1.0 "sqlalchemy.exc.StatementError: (builtins.AttributeError) 'function' object has no attribute 'replace'"
- ClickHouse connection issue after upgrading to 2.1.0 HOT 1
- Superset 3.0.4 HOT 1
- Alarm & Reports geckodriver error
- Superset 4.0.1 docker image? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-superset.