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

setup issue - default config uses postgresql vs sqlite #3954

Closed
rpwils opened this issue Nov 29, 2017 · 4 comments · Fixed by #3955
Closed

setup issue - default config uses postgresql vs sqlite #3954

rpwils opened this issue Nov 29, 2017 · 4 comments · Fixed by #3955

Comments

@rpwils
Copy link

rpwils commented Nov 29, 2017

Make sure these boxes are checked before submitting your issue - thank you!

  • [x ] I have checked the superset logs for python stacktraces and included it here as text if any
  • [x ] I have reproduced the issue with at least the latest released version of superset
  • [x ] I have checked the issue tracker for the same issue and I haven't found one similar

Does anyone know how to resolve the following issue when is execute "fabmanager create-admin --app superset"

2017-11-29 08:11:58,879:ERROR:flask_appbuilder.security.sqla.manager:DB Creation and initialization failed: (psycopg2.OperationalError) FATAL: role "root" does not exist

I am running this setup in a clean virtual environment.

any help would be much appreciated.

Superset version

Expected results

Actual results

Steps to reproduce

@xrmx
Copy link
Contributor

xrmx commented Nov 29, 2017

Your connection string to postgres is wrong, please close.

@rpwils
Copy link
Author

rpwils commented Nov 29, 2017

ok, i was thinking in a python virtual environment superset would create a new db. guess not.

@rpwils rpwils closed this as completed Nov 29, 2017
@rpwils
Copy link
Author

rpwils commented Nov 29, 2017

I see the last check-in changed the config.py file so now postgres db setting is the active one. Do you really want this to be the case?

268edcf#diff-21213919e9d7699522fc8d0fcabdc63f

@rpwils rpwils reopened this Nov 29, 2017
@rpwils rpwils changed the title setup issue setup issue - default config uses postgresql vs sqlite Nov 29, 2017
xrmx added a commit to xrmx/superset that referenced this issue Nov 29, 2017
@rpwils
Copy link
Author

rpwils commented Nov 29, 2017

thanks

@rpwils rpwils closed this as completed Nov 29, 2017
graceguo-supercat pushed a commit that referenced this issue Nov 29, 2017
michellethomas pushed a commit to michellethomas/panoramix that referenced this issue May 24, 2018
wenchma pushed a commit to wenchma/incubator-superset that referenced this issue Nov 16, 2018
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

Successfully merging a pull request may close this issue.

2 participants