-
Notifications
You must be signed in to change notification settings - Fork 269
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
Postgresql Persistence Exception : logconfiguration #1323
Comments
Possible issue either with the docker compose or with the DDL not being properly installed? Any thoughts @famartinrh or @carlesarnal ? |
I've just tested the docker compose files we provide
@vvilerio maybe your postgres container was already initialized with old data from running the compose files in the past? Anyway, I think the registry should update the schema... can you please share (in a gist or something) your logs of the registry? @vvilerio |
Beforehand, I had deleted my volume, image and docker container. |
in your logs I can see , maybe there is a volume somewhere for your postgres container that you are missing? @vvilerio
So that database was maybe initialized by an older version where the logconfiguration was not implemented, and because it is already initialized the registry does not apply the DDL. @EricWittmann do you consider this a bug? should the registry apply the DDL anyway? wdyt? |
@famartinrh Eureka, I had a stubborn volume, the "docker volume rm" command was not enough. I had to do : |
Nice job figuring this out. This is not a bug because 2.0.0.Final is the first release of the SQL storage. After we release 2.0.0.Final, any schema changes in the DB will automatically be applied on startup of the application, even when just going from e.g. 2.0.1-SNAPSHOT to a newer 2.0.1-SNAPSHOT. But for right now, the auto-update of the DB schema doesn't happen. |
Hello,
i'm working on apicurio-registry (version : March, 9 2021), and in my (freshly generated) docker-compose stack, the following error appears :
am I the only one ?
The text was updated successfully, but these errors were encountered: