-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PostgresError: relation "pg_vector_index_stat" does not exist
after upgrade to v1.130.x
#17145
Comments
Hmm, can you try this? https://immich.app/docs/administration/postgres-standalone#common-errors |
Are you on the same version of pgvecto.rs as the docker-compose file? v0.2.0 What is your postgres version? |
|
Did you update to 0.3.0 recently? |
Nope, has been running for a while. Also downgrading the image back to v.1.129.0 starts without issue. |
There's really no change related to vector indices between 1.129.0 and 1.130.0. I feel like this has to be a deployment-related issue rather than something inherent to Immich. |
FWIW I don't think those errors are why Immich is crashing. The errors are logged to console, but the errors are handled and this particular one can show up if there has never been a vector index created in this DB (i.e. it's completely fresh). But it wouldn't cause Immich to crash since it's caught. |
I have the same error messages in my instance but they appear benign |
I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.
The bug
After upgrading to v1.130, immich server doesn't start anymore, because
pg_vector_index_stat
does not exist. A downgrade to v1.129 fixes the issue. Also a backup has been restored, which didn't fix the issue. Setting the permissions as stated in the docs doesn't help either, because the whole relation is gone.The OS that Immich Server is running on
k3s 1.31 on Ubuntu 24.04
Version of Immich Server
v1.130
Version of Immich Mobile App
v1.129.0
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Relevant log output
Additional information
No response
The text was updated successfully, but these errors were encountered: