Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

1.5 KiB

Immich

Immich is a self-hosted photo and video management solution, similar to SaaS offerings like Google Photos.

Migrating from pgvecto-rs to VectorChord (pre-25.11 installations)

Immich instances that were setup before 25.11 (as in system.stateVersion = 25.11;) will be automatically migrated to VectorChord. Note that this migration is not reversible, so database dumps should be created if desired.

See Immich documentation for more details about the automatic migration.

After a successful migration, pgvecto-rs should be removed from the database installation, unless other applications depend on it.

  1. Make sure VectorChord is enabled () and Immich has completed the migration. Refer to the Immich documentation for details.

  2. Run the following two statements in the PostgreSQL database using a superuser role in Immich's database.

    DROP EXTENSION vectors;
    DROP SCHEMA vectors;
    
    • You may use the following command to run these statements against the database: sudo -u postgres psql immich (Replace immich with the value of )
  3. Disable pgvecto-rs by setting to false.

  4. Rebuild and switch.