model-live failed with return code 3 with flyway CLI

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?
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..."
  }
}
Tagged:

Answers

  • Eddie DEddie D Posts: 1,807 Rose Gold 5
    Hi Alland_Kesuma,
    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
    Eddie Davis
    Senior Product Support Engineer
    Redgate Software Ltd
    Email: support@red-gate.com
  • Thank you for the reply Eddie,

    The CLI Version installed right now is 9.21.1

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file