© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•5mo ago•
88 replies
Ray

Recently upgraded my immich versions - immich now thinks it's a fresh install

1. I edited the
DB_DATA_LOCATION
DB_DATA_LOCATION
and moved from
/opt/docker/immich_postgres
/opt/docker/immich_postgres
to
opt/docker/appdata/immich_postgres
opt/docker/appdata/immich_postgres

2. Done a docker pull to get the latest version



Starting microservices worker
[Nest] 7  - 09/20/2025, 1:58:36 PM     LOG [Microservices:EventRepository] Initialized websocket server
[Nest] 7  - 09/20/2025, 1:58:37 PM    WARN [Microservices:DatabaseService] DEPRECATION WARNING: The pgvecto.rs extension is deprecated and support for it will be removed very soon.
     See https://immich.app/docs/install/upgrading#migrating-to-vectorchord in order to switch to the VectorChord extension instead.
[Nest] 7  - 09/20/2025, 1:58:37 PM    WARN [Microservices:DatabaseRepository] Migration "1744910873969-InitialMigration" failed
[Nest] 7  - 09/20/2025, 1:58:37 PM   ERROR [Microservices:DatabaseRepository] Migrations failed: Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade
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)
Starting microservices worker
[Nest] 7  - 09/20/2025, 1:58:36 PM     LOG [Microservices:EventRepository] Initialized websocket server
[Nest] 7  - 09/20/2025, 1:58:37 PM    WARN [Microservices:DatabaseService] DEPRECATION WARNING: The pgvecto.rs extension is deprecated and support for it will be removed very soon.
     See https://immich.app/docs/install/upgrading#migrating-to-vectorchord in order to switch to the VectorChord extension instead.
[Nest] 7  - 09/20/2025, 1:58:37 PM    WARN [Microservices:DatabaseRepository] Migration "1744910873969-InitialMigration" failed
[Nest] 7  - 09/20/2025, 1:58:37 PM   ERROR [Microservices:DatabaseRepository] Migrations failed: Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade
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)
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Next page

Similar Threads

Immich fresh install after update
ImmichIImmich / help-desk-support
14mo ago
Motorola 2024 edge fresh immich install.
ImmichIImmich / help-desk-support
8mo ago
Immich has reset back to fresh install
ImmichIImmich / help-desk-support
9mo ago
Moved DB location and now Immich thinks I have a new install - how do I restore?
ImmichIImmich / help-desk-support
9mo ago