-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
OperationalError no such table dashboards #3542
Comments
Are you sure you are using that config file? |
Do you mean
is there a reason that running with or without the -d would pick one over the other? |
I don't think it's -d, i think it's the PYTHONPATH, please make the dir where the superset_config.py is explicitly the first. |
So I exported to I then changed the default port to 8081 to make sure that it was using the correct superset_config.py Once I did that I realized the superset runserver -d was not picking up the port change, so is that running using the I then set the environment variable from the bash script, and then refreshed the shell. Then I went through the DB update steps and it worked. The issue was that when I was running the other superset commands the PYTHONPATH did not have the working directory as the first directory. After setting it to be the first, I then did:
and it worked. Thank you so much for all your help! |
Hi @wfowlks can you try to explain how did you fix this issue? after the login we see an error page like your:
|
If this is in linux, you will need to identify the working path you want to use and you will do: |
Damn, solved with this command: |
Superset version
0.19.1
Expected results
After Logging in shows dashboards
Actual results
The correct results show when running server in debug mode:
superset runserver -d
However when running as a server:
superset runserver
I get the following:Steps to reproduce
Fresh install on Centos:
CentOS Linux release 7.4.1708
Python version 2.7.5
Follow steps in:
(Including the Load some data step)
Set the db connection to a local sqlite3 db.
In superset_config.py
SQLALCHEMY_DATABASE_URI = 'sqlite:////home/centos/superset/superset_meta.db '
Additionally the upgrade steps after the Load some Data step do not change the error.
The text was updated successfully, but these errors were encountered: