-
Notifications
You must be signed in to change notification settings - Fork 13.8k
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
Installation from PyPi, superset db upgrade fails #28336
Comments
Can you initialize the DB without specifying the custom path for SQLite's db? May need you to delete whatever in I suppose there's something that prevents |
This happens without specifying a custom path. Just specifying the
|
I followed all your steps and just before running |
So, as it turns out, in my supersset_config with a SQLAlchemy path configured it will fail. If I comment out the following in my config file it works fine.
|
So I've something like the below and it works just fine. I believe you are missing a couple of slashes -
|
This is my exact config file:
It works and throws the above error. it creates the superset db file so the path is correct but still throws. |
|
In case it helps in this case: I have a PR open to improve the docs for installing from PyPI. And if you have any feedback on those instructions, given that you are going through the process now, feel free to comment on that PR. |
When you specify the relative path to
|
Thank you, I had the same issue as Grundprinzip. Using the absolute path to the SQLite database resolved my problem. |
@sorieux @arabot777 do either of you see an opportunity to improve docs or file comments? We'd appreciate a PR or your input on the matter. @grundprinzip can we effectively call this done if that solves the issue, or is there more to untangle here? |
Bug description
When trying to initialize the database, it fails
How to reproduce the bug
virtualenv -p python3.11 ~/Development/venv/superset
source ~/Development/venv/superset/bin/activate
pip install --upgrade 'apache-superset[databricks]'
superset db upgrade
Screenshots/recordings
No response
Superset version
4.0.0
Python version
3.11
Node version
16
Browser
Chrome
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: