GithubHelp home page GithubHelp logo

Comments (3)

amancevice avatar amancevice commented on May 15, 2024 1

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.

prcastro avatar prcastro commented on May 15, 2024 1

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.

amancevice avatar amancevice commented on May 15, 2024

A couple of options off the top of my head:

  1. 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.
  2. You could create a docker volume and mount that
  3. You could use MySQL or Postgres instead of SQLite and avoid the whole thing.

from docker-superset.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.