Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Re : Liquibase not starting up

$
0
0
Hi Ronak,

The shell script is automatically invoked after installation of our product finishes. So a series of scripts that eventually calls my logic to invoke Liquibase.

There is no terminal output. Our product installs successfully but I do not see the databasechangelog table updated.

When I run the command manually in the terminal I don't see any errors against the liquibase command. Instead I see the successful output I listed above (Starting Liquibase at Mon, 27 Apr 2020 11:07:10 PDT Liquibase: Update has been successful.)

Script snippet is below:



LIQUIBASE_SCRIPT="$ROOT"dist/liquibase
POSTGRES_URL=jdbc:postgresql://localhost:5432/bar
POSTGRES_DRIVER=org.postgresql.Driver

CLASSPATH="$ROOT""postgresql-42.2.5.jar"


for FILE in $(ls "$FOLDER""abc/def"/*);do

$LIQUIBASE_SCRIPT --driver="${POSTGRES_DRIVER}" --classpath="${CLASSPATH}" --url="${POSTGRES_URL}" --changeLogFile="${FILE}" --username=$USERNAME --password=$PASSWORD update

done

Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>