-
Notifications
You must be signed in to change notification settings - Fork 366
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 error in "process-usertasks-quarkus-with-console" example #1775
Comments
@cristianonicolai @wmedvede @ricardozanini looks like an issue with Flyway ? |
cc @nmirasch |
Add Running the service outside of docker will initialize the migrations for the database, which is what postgresql is missing here: the process_instances table |
Yes, it seems a problem with Flyway. @nmirasch @tiagodolphine @wmedvede can you take a look? |
Please download the DDL scipts file from https://repository.jboss.org/org/kie/kogito/kogito-ddl/1.43.0.Final/ which is mentioned on the documentation page https://docs.jboss.org/kogito/release/latest/html_single/#proc-infinispan-persistence-enabling_kogito-configuring. Regards. |
Describe the bug
"process-usertasks-quarkus-with-console" Kogito Example
I am trying to start this Kogito example to test the Management Console and Task Console.
The README says that I should use these two commands:
mvn clean install -Ppostgresql,container
to compile project with postgresql configurationsh ./startServices.sh
to start all the services that the project needs (the sh file executes a docker-compose command).When the .sh execution finishes, I have the following services up:
The services started without problems, each in a docker container, including the kogito example (8080). When I am trying to do this POST request
http://localhost:8080/hiring
with following content (JSON):I have the following ERROR in the LOGS of the containers:
I understand that it is a problem with the database. But, as it is a container that is launched from a
docker-compose
command I don't know how I could fix the error.Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Kogito version or git rev (or at least Quarkus version if you are using Kogito via Quarkus platform BOM)
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: