DocIntel icon indicating copy to clipboard operation
DocIntel copied to clipboard

Docker compose create by run.sh fails to start due to missing "docintel" database

Open massdosage opened this issue 2 years ago • 0 comments

After making all the changes in #97 I then tried to start up Docker compose using the file generated. This fails with the following errors:

docintel-dev-document-indexer   | ---- Running pre-flight checks for Postgres...
docintel-dev-document-indexer   | [OK] DocIntel will use the DefaultConnection connection string.
docintel-dev-postgres           | 2023-11-08 10:29:17.372 UTC [69] FATAL:  database "docintel" does not exist
docintel-dev-document-analyzer  | [KO] DocIntel could not connect to PostgreSQL server (3D000: database "docintel" does not exist)
docintel-dev-document-analyzer  | ---- Running pre-flight checks for emails...
docintel-dev-document-analyzer  | [OK] Emails are not enabled.
docintel-dev-document-analyzer  | [KO] Not all checks passed, aborting. Please check the errors, fix the problems, and restart.
docintel-dev-source-indexer exited with code 1
docintel-dev-postgres           | 2023-11-08 10:29:17.435 UTC [70] FATAL:  database "docintel" does not exist
docintel-dev-importer           | [KO] DocIntel could not connect to PostgreSQL server (3D000: database "docintel" does not exist)
docintel-dev-importer           | ---- Running pre-flight checks for emails...
docintel-dev-importer           | [OK] Emails are not enabled.
docintel-dev-importer           | [KO] Not all checks passed, aborting. Please check the errors, fix the problems, and restart.
docintel-dev-postgres           | 2023-11-08 10:29:17.464 UTC [71] FATAL:  database "docintel" does not exist
docintel-dev-document-indexer   | [KO] DocIntel could not connect to PostgreSQL server (3D000: database "docintel" does not exist)
docintel-dev-document-indexer   | ---- Running pre-flight checks for emails...
docintel-dev-document-indexer   | [OK] Emails are not enabled.
docintel-dev-document-indexer   | [KO] Not all checks passed, aborting. Please check the errors, fix the problems, and restart.
docintel-dev-document-analyzer exited with code 1
docintel-dev-importer exited with code 1
docintel-dev-document-indexer exited with code 1

Is something missing from the initial bootstrap to create the database?

massdosage avatar Nov 08 '23 10:11 massdosage