Applies to
- Liquibase Pro
- Liquibase Open Source (Community)
Conditions
- Any version of Liquibase Pro or Open Source
Issue Summary
Liquibase throws an error when attempting to execute a command due to an issue reading a changelog or configuration file.
Error Message
Unexpected error running Liquibase: Unable to read file
Root Cause
This error typically occurs when Liquibase cannot locate or access the specified file. Common causes include:
- Incorrect file paths
- Missing or renamed changelog files
- Lack of read permissions
Resolution
- Verify that the changelog or file path specified in the command is correct.
- Ensure the file exists and is accessible by Liquibase.
- Check the file’s permissions and adjust as needed.
Comments
0 comments
Article is closed for comments.