Uploaded image for project: 'Gateway'
  1. Gateway
  2. GTWY-1703

task "CLEAN" is not called from the task "INSTALL"

XMLWordPrintable

      When a new Gateway is being installed the ./configure_database.sh install command generate the following error

      liquibase-tasks.ant.xml:123: liquibase.exception.LockException: liquibase.exception.JDBCException: Error executing SQL CREATE TABLE public.databasechangeloglock (ID INT NOT NULL, LOCKED BOOLEAN NOT NULL, LOCKGRANTED TIMESTAMP WITH TIME ZONE, LOCKEDBY VARCHAR(255), CONSTRAINT PK_DATABASECHANGELOGLOCK PRIMARY KEY (ID))

      [.....]

      Caused by: org.postgresql.util.PSQLException: ERROR: schema "public" does not exist


      To fix this error the liquibase-task.ant.xml line

      <target name="install" depends="echo, compile" description="New database installation" >

      should be changed to

      <target name="install" depends="echo, clean, compile" description="New database installation" >.



      A temporary workaround is to call

      ./configure_database.sh clean
      ./configure_database.sh install

              Unassigned Unassigned
              maurizio.nagni Maurizio Nagni (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: