Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jpaserver docker-image with postresql #388

Open
kellerjo opened this issue Jun 24, 2022 · 3 comments
Open

jpaserver docker-image with postresql #388

kellerjo opened this issue Jun 24, 2022 · 3 comments

Comments

@kellerjo
Copy link

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-SmileCDR
Copy link
Collaborator

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
Copy link
Author

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
Copy link

alxcost commented Nov 24, 2022

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.

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

No branches or pull requests

3 participants