Open docwisdom opened 4 months ago
Can you take a look at this? https://github.com/immich-app/immich/discussions/7392#discussioncomment-8580344
Look like your database user is not superuser
I'm using postgres repository tensorchord/pgvecto-rs:pg15-v0.2.0
I have no idea how to check if the user account created is superuser or not.
I tried alter role admin with superuser;
and UPDATE pg_catalog.pg_extension SET extversion = '0.2.0' WHERE extname = 'vectors';
with no luck. I now get the error Migration "AddFaceSearchRelation1718486162779" failed, error: could not find function "vector_typmod_in_wrapper" in file "/usr/lib/postgresql/15/lib/vectors.so"
The command "upgrading" to 0.2.0 meant that it never tried to actually upgrade the extension. You should run UPDATE pg_catalog.pg_extension SET extversion = '0.1.11' WHERE extname = 'vectors';
. If it still doesn't work after that, the commands in this comment solve most issues.
Hey @docwisdom did mertalev's suggestions fix it?
The bug
Trying to start the container, logs present the following error
Migration "AddFaceSearchRelation1718486162779" failed, error: access method "hnsw" does not exist
The OS that Immich Server is running on
Unraid
Version of Immich Server
v1.107.2
Version of Immich Mobile App
v1.107.1
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Relevant log output
Additional information
No response