You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is is possible to call this multiple times in the same script.? I have multiple databases on the same Postgres instance I'd like to patch via on Python script call, but after the first run, I get this message.
WARNING - VM is already running, can't set classpath/options! classpath: ['/root/.pyenv/versions/3.11.4/lib/python3.11/site-packages/pyliquibase/liquibase-4.21.1/', '/root/.pyenv/versions/3.11.4/lib/python3.11/site-packages/pyliquibase/liquibase-4.21.1/lib/', '/root/.pyenv/versions/3.11.4/lib/python3.11/site-packages/pyliquibase/liquibase-4.21.1/internal/', '/root/.pyenv/versions/3.11.4/lib/python3.11/site-packages/pyliquibase/liquibase-4.21.1/internal/lib/', '/root/.pyenv/versions/3.11.4/lib/python3.11/site-packages/jnius/src']
I'm using a liquibase properties file, and I update the file after each run then run the following commands again.
liquibase = Pyliquibase(defaultsFile=propFilename, logLevel="INFO")
liquibase.execute("update")
liquibase = None
The prop file has the changeLogFile, username, password, url, of which the username, password and url change for each run.
This is all running in a Docker container. First run is spot on. Just can't get it to go more than once. I've tried everything but spawning each run in a subshell. Am I mis-using the module?
The text was updated successfully, but these errors were encountered:
Is is possible to call this multiple times in the same script.? I have multiple databases on the same Postgres instance I'd like to patch via on Python script call, but after the first run, I get this message.
WARNING - VM is already running, can't set classpath/options! classpath: ['/root/.pyenv/versions/3.11.4/lib/python3.11/site-packages/pyliquibase/liquibase-4.21.1/', '/root/.pyenv/versions/3.11.4/lib/python3.11/site-packages/pyliquibase/liquibase-4.21.1/lib/', '/root/.pyenv/versions/3.11.4/lib/python3.11/site-packages/pyliquibase/liquibase-4.21.1/internal/', '/root/.pyenv/versions/3.11.4/lib/python3.11/site-packages/pyliquibase/liquibase-4.21.1/internal/lib/', '/root/.pyenv/versions/3.11.4/lib/python3.11/site-packages/jnius/src']
I'm using a liquibase properties file, and I update the file after each run then run the following commands again.
liquibase = Pyliquibase(defaultsFile=propFilename, logLevel="INFO")
liquibase.execute("update")
liquibase = None
The prop file has the changeLogFile, username, password, url, of which the username, password and url change for each run.
This is all running in a Docker container. First run is spot on. Just can't get it to go more than once. I've tried everything but spawning each run in a subshell. Am I mis-using the module?
The text was updated successfully, but these errors were encountered: