concourse / concourse-bosh-deployment

A toolchain for deploying Concourse with BOSH.
Apache License 2.0
86 stars 155 forks source link

Upgrade failing from 3.14.1 to 4.2.1 #107

Open drduker opened 6 years ago

drduker commented 6 years ago

I'm upgrade the bosh deployment of concourse from 3.14.1 to 4.2.1 and receiving this error in /var/vcap/sys/log/atc/atc.stderr.log:

failed to migrate database: 1 error occurred:

* Migration '1533136021_upsert_uniqueness.up.sql' failed: 2 errors occurred:

* Transaction CREATE UNIQUE INDEX worker_task_caches_uniq
  ON worker_task_caches (job_id, step_name, worker_name, path) failed, rolled back the migration
* pq: could not create unique index "worker_task_caches_uniq"

Any ideas why this could be happening?