Skip to content

Migration failure when upgrading from 2.7.4 -> 3.4.0 #1515

@joshzarrabi

Description

@joshzarrabi

Bug Report

When migrating from 2.7.4 -> 3.4.0 we saw the following migration error in the atc logs.

 migrate database: pq: column "size_in_bytes" of relation "volumes" does not exist
failed to migrate database: pq: column "size_in_bytes" of relation "volumes" does not exist
failed to migrate database: pq: column "size_in_bytes" of relation "volumes" does not exist
failed to migrate database: pq: column "size_in_bytes" of relation "volumes" does not exist
failed to migrate database: pq: column "size_in_bytes" of relation "volumes" does not exist
failed to migrate database: pq: column "size_in_bytes" of relation "volumes" does not exist
failed to migrate database: pq: column "size_in_bytes" of relation "volumes" does not exist
failed to migrate database: pq: column "size_in_bytes" of relation "volumes" does not exist

I believe this migration causes the failure, as we never had the size_in_bytes row in the first place.

  • Concourse version: 2.7.4 -> 3.4.0
  • Deployment type (BOSH/Docker/binary): BOSH
  • Infrastructure/IaaS: GCP
  • Browser (if applicable): N/A
  • Did this used to work? N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions