You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "collins-b (via GitHub)" <gi...@apache.org> on 2023/03/15 11:19:25 UTC
[GitHub] [superset] collins-b opened a new issue, #23383: Superset defaulting to local DB
collins-b opened a new issue, #23383:
URL: https://github.com/apache/superset/issues/23383
I upgraded my superset environment with the master branch. The superset container is not starting because of:
```
2023-03-15 11:00:43,041:ERROR:flask_appbuilder.security.sqla.manager:DB Creation and initialization failed: (psycopg2.OperationalError) could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
```
#### How to reproduce the bug
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
### Expected results
I expected it to use the managed PSQL in AWS. The DB_HOST is pointing to the AWS URL but the container is defaulting to local psql.
### Actual results
what actually happens.
#### Screenshots
If applicable, add screenshots to help explain your problem.
### Environment
(please complete the following information):
- browser type and version:
- superset version: `superset version`
- python version: `python --version`
- node.js version: `node -v`
- any feature flags active:
### Checklist
Make sure to follow these steps before submitting your issue - thank you!
- [ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
- [ ] I have reproduced the issue with at least the latest released version of superset.
- [ ] I have checked the issue tracker for the same issue and I haven't found one similar.
### Additional context
Add any other context about the problem here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] collins-b commented on issue #23383: Superset defaulting to local DB
Posted by "collins-b (via GitHub)" <gi...@apache.org>.
collins-b commented on issue #23383:
URL: https://github.com/apache/superset/issues/23383#issuecomment-1486302176
It turned out that my password had some special characters which conflicted with the SQLALCHEMY_DATABASE_URI. The host was hence invalid. Though the error message was misleading as you'd think it was trying to connect to local DB. To this, I remove those special characters from the DB string. The characters were @ and ). I'm thus closing this issue.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] nytai commented on issue #23383: Superset defaulting to local DB
Posted by "nytai (via GitHub)" <gi...@apache.org>.
nytai commented on issue #23383:
URL: https://github.com/apache/superset/issues/23383#issuecomment-1484385623
Why is it defaulting to local? What is the value of `SQLALCHEMY_DATABASE_URI` in config?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] sfirke commented on issue #23383: Superset defaulting to local DB
Posted by "sfirke (via GitHub)" <gi...@apache.org>.
sfirke commented on issue #23383:
URL: https://github.com/apache/superset/issues/23383#issuecomment-1476622680
Seems like this could be an issue with Superset latest on master, or a matter of your config. Either way probably hard to debug here in a way that would be useful to anyone else. If this issue persists, it might be a good candidate for joining the Slack and asking there?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] collins-b closed issue #23383: Superset defaulting to local DB
Posted by "collins-b (via GitHub)" <gi...@apache.org>.
collins-b closed issue #23383: Superset defaulting to local DB
URL: https://github.com/apache/superset/issues/23383
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org