ImmichI
Immich8mo ago
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


  • Running immich v1.132.3
  • I installed pgvecto.rs version 0.3.0 on my postgres instance
  • I've made the immich user a superuser
  • I've made the immich user the owner of the 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!
Was this page helpful?