© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•10mo ago•
14 replies
Matt

Postgres error during migrations

Hello! I'm trying to get immich running for the first time and have been running into some trouble. I've made it to this error, which happens while the server spins up for the first time and runs migrations, and I'm coming up empty looking for a solution.

This appears in the server during migrations, and then the container exits with an error.

 PostgresError: operator class "vector_cos_ops" does not accept data type vector
 PostgresError: operator class "vector_cos_ops" does not accept data type vector


- Running immich v1.132.3
- I installed pgvecto.rs version 0.3.0 on my postgres instance
- I've made the
immich
immich
user a superuser
- I've made the
immich
immich
user the owner of the
vectors
vectors
schema as was the solution here

So far have not been successful in getting past this error. Anyone else seen this before? I'd really appreciate any suggestions anyone has!
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

Similar Threads

Postgres startup error during setup
ImmichIImmich / help-desk-support
2mo ago
Database Migrations Error
ImmichIImmich / help-desk-support
7mo ago
Postgres error
ImmichIImmich / help-desk-support
14mo ago
Error during import
ImmichIImmich / help-desk-support
14mo ago