Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Upgrade Issues 1.11.0 Postgres Image #1701

@ex-aequo-et-bono

Description

@ex-aequo-et-bono

Describe the Bug

Hi all, am having issues with updating the the postgres version of the image to 1.11.0.

Error running migrations: DrizzleQueryError: Failed query: ALTER TABLE "orgs" ADD COLUMN "settings" text; params: at NodePgPreparedQuery.queryWithCache (file:///app/node_modules/drizzle-orm/pg-core/session.js:41:15) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Object.migration7 [as run] (file:///app/dist/migrations.mjs:1664:5) ... 3 lines matching cause stack trace ... at async file:///app/dist/migrations.mjs:1814:1 { query: 'ALTER TABLE "orgs" ADD COLUMN "settings" text;', params: [], cause: error: column "settings" of relation "orgs" already exists at /app/node_modules/pg-pool/index.js:45:11 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async file:///app/node_modules/drizzle-orm/node-postgres/session.js:113:20 at async NodePgPreparedQuery.queryWithCache (file:///app/node_modules/drizzle-orm/pg-core/session.js:39:16) at async Object.migration7 [as run] (file:///app/dist/migrations.mjs:1664:5) at async executeScripts (file:///app/dist/migrations.mjs:1869:9) at async runMigrations (file:///app/dist/migrations.mjs:1828:7) at async run (file:///app/dist/migrations.mjs:1816:3) at async file:///app/dist/migrations.mjs:1814:1 { length: 131, severity: 'ERROR', code: '42701', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'tablecmds.c', line: '7478', routine: 'check_for_column_name_collision' }

Environment

  • OS Type & Version: (Ubuntu 22.04)
  • Pangolin Version: 1.10.3
  • Gerbil Version: 1.21.1
  • Traefik Version: 3.5.3
  • Newt Version: 1.5.2
  • Olm Version: (na)

To Reproduce

Attempt upgrade with Postgres Image

Expected Behavior

Clean upgrade

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