model-live failed with return code 3 with flyway CLI
Alland_Kesuma
Posts: 2 New member
in PostgreSQL
I'm trying to do Flyway Check using Flyway CLI for a postgresSQL DB, but it returned with model-live failed with return code 3. And i have no idea what caused this. Below is the error.
What would be the cause of this error?
What would be the cause of this error?
ERROR: org.flywaydb.core.api.FlywayException: model-live failed with return code 3 Standard output: Error output: { "progress": { "percent": 10, "message": "Attempting to connect to database..." } } Caused by: model-live failed with return code 3 Standard output: Error output: { "progress": { "percent": 10, "message": "Attempting to connect to database..." } }
Answers
Thank you for your forum post.
Sadly there is insufficient information to accurately identify the cause to of the problem. It does appear that Flyway process is having connection problems to your postgresSQL DB.
Would it be possible for you to provide the whole output as a text file and send a copy of the text file to support@red-gate.com? This will create a support ticket for us to investigate further.
Also could you please confirm the version of Flyway CLI you are using?
Many Thanks
Eddie
Senior Product Support Engineer
Redgate Software Ltd
Email: support@red-gate.com
The CLI Version installed right now is 9.21.1