Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

update nlp-postgres user so NLP queries work #176

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

cbarina
Copy link

@cbarina cbarina commented Apr 1, 2022

Description

When trying to run Clarity, there was an issue with the postgres db login. Changing this from pg to postgres allowed creation of the clarity db, saving queries, and generation of query results.

When trying to run Clarity, there was an issue with the postgres db login. Changing this from pg to postgres allowed creation of the clarity db, saving queries, and generation of query results.
@cbarina
Copy link
Author

cbarina commented Apr 1, 2022

For some reason this also fixed frontend ui issues with ingest and websocket connection errors in upper right corner of dashboard via some combination of the following actions. After rebuilding containers with the updated postgres username and restarting via make start-clarity-localhost:

  1. ran manual ingest with a python script from Utilities repo
  2. stopped ingest* containers
  3. tested ingest/nlpql with a few queries
  4. out of curiosity restarted ingest* containers
  5. no longer had websocket errors in upper right corner
  6. uploaded sample csv file and mapped to default solr headers

It doesn't show up in the documents view/pie chart on the dashboard, but querying for the document source in the solr admin view shows it got added, and you can create a query off of it with the document source type.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant