hapifhir / hapi-fhir-jpaserver-starter

Apache License 2.0
390 stars 1.04k forks source link

jpaserver docker-image with postresql #388

Open kellerjo opened 2 years ago

kellerjo commented 2 years ago

Hello, I am trying to set up the server as a docker image together with a postresql database. When starting the compose file, I get the following error: org.postgresql.util.PSQLException: ERROR: relation "hfj_search" does not exist

Is there a schema file I am missing?

KevinDougan commented 2 years ago

Are you pointing to a pre-existing database with a schema that has already been initialized?

Does it work if you point to an empty schema and let it initialize the database during startup?

kellerjo commented 2 years ago

Thanks for the answer! I used a fresh porstgre docker instance with no existing database. I have for now reverted to using the h2 database

alxcost commented 1 year ago

Hi. This issue still occurs on PostgreSQL databases with the most recent versison. This is with fresh porstgres instances with no existing database or schemas.