ImmichI
Immich4mo ago
kho

Got 'Invalid upgrade path' during upgrade from 1.128.0 to 1.140.0

Hi,
I've made this changes in the docker-compose.yml database: section
  • image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:739cdd626151ff1f796dc95a6591b55a714f341c737e27f045019ceabf8e8c52
  • image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0
    and
  • healthcheck:
And I add the env variable IMMICH_MEDIA_LOCATION with the value /data
My UPLOAD_LOCATION is still ./library

The immich_server throws this error

Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade
at Object.up (/usr/src/app/server/dist/schema/migrations/1744910873969-InitialMigration.js:19:19)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async #migrateUp (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:557:17)
at async run (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:421:28)
at async /usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/kysely.js:569:32
at async DefaultConnectionProvider.provideConnection (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20)
at async #migrate (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:268:20)
at async DatabaseRepository.runMigrations (/usr/src/app/server/dist/repositories/database.repository.js:325:36)
at async /usr/src/app/server/dist/services/database.service.js:110:17
at async /usr/src/app/server/dist/repositories/database.repository.js:379:27

What's going wrong?
Holger
Was this page helpful?