Hi all,
I am trying to install the Broadsea project according to https://github.com/OHDSI/Broadsea
I configured the PostgreSQL DB according to https://github.com/OHDSI/WebAPI/wiki/PostgreSQL-Installation-Guide
If I configured the DB exactly like that what should the “source_source_daimon.sql” look like? I configured it as:
-- remove any previously added database connection configuration data
truncate webapi.source;
truncate webapi.source_daimon;
-- OHDSI CDM source
INSERT INTO webapi.source( source_id, source_name, source_key, source_connection, source_dial$
VALUES (1, 'OHDSI CDM V5 Database', 'OHDSI-CDMV5',
-- 'jdbc:postgresql://192.168.99.100:5432/secret-database-name?user=secret-user-name&passwor$
'jdbc:postgresql://localhost:5432/OHDSI?user=ohdsi_app_user&password=app1', 'postgresql');
-- CDM daimon
INSERT INTO webapi.source_daimon( source_daimon_id, source_id, daimon_type, table_qualifier, $
-- VOCABULARY daimon
INSERT INTO webapi.source_daimon( source_daimon_id, source_id, daimon_type, table_qualifier, $
-- RESULTS daimon
INSERT INTO webapi.source_daimon( source_daimon_id, source_id, daimon_type, table_qualifier, $
-- EVIDENCE daimon
INSERT INTO webapi.source_daimon( source_daimon_id, source_id, daimon_type, table_qualifier, $
but I get the following errors:
$ psql -f source_source_daimon.sql
psql:postgresql/source_source_daimon.sql:2: ERROR: relation "webapi.source" does not exist
psql:postgresql/source_source_daimon.sql:3: ERROR: relation "webapi.source_daimon" does not exist
psql:postgresql/source_source_daimon.sql:9: ERROR: relation "webapi.source" does not exist
LINE 1: INSERT INTO webapi.source( source_id, source_name, source_ke...
^
psql:postgresql/source_source_daimon.sql:13: ERROR: relation "webapi.source_daimon" does not exist
LINE 1: INSERT INTO webapi.source_daimon( source_daimon_id, source_i...
^
psql:postgresql/source_source_daimon.sql:16: ERROR: relation "webapi.source_daimon" does not exist
LINE 1: INSERT INTO webapi.source_daimon( source_daimon_id, source_i...
^
psql:postgresql/source_source_daimon.sql:19: ERROR: relation "webapi.source_daimon" does not exist
LINE 1: INSERT INTO webapi.source_daimon( source_daimon_id, source_i...
^
psql:postgresql/source_source_daimon.sql:22: ERROR: relation "webapi.source_daimon" does not exist
LINE 1: INSERT INTO webapi.source_daimon( source_daimon_id, source_i...
Any help would be greatly appreciated!