| When installing PuppetDB using the command: puppet apply -e "include puppetdb" installation hangs at starting puppetdb service. In /var/log/puppetlabs/puppetdb/puppetdb.log: 2019-06-25 12:53:03,248 INFO [p.p.s.migrate] Applying database migration version 65 2019-06-25 12:53:03,282 ERROR [p.p.s.migrate] Caught SQLException during migration java.sql.BatchUpdateException: Batch entry 1 alter table resource_events alter column status type text, alter column property type text, alter column containing_class type text, alter column file type text was aborted. Call getNextException to see the cause. ... 2019-06-25 12:53:03,284 ERROR [p.p.s.migrate] Unravelled exception org.postgresql.util.PSQLException: ERROR: relation "resource_events_status_for_corrective_change_idx" already exists ... This started happening with the new version 9.6.14-1PGDG.rhel7 of postgresql rpm made available recently via yum.postgresql.org/7/x86_64. When I first install previous version 9.6.13 installation goes without problems. |