Closed SCrid2000 closed 11 months ago
Hmm, that's a weird assertion to fail. There's seems to be an invalid embedding in your database. Could you run this query to see if there really is an embedding that contains a null?
SELECT * FROM immich.public.smart_info si
INNER JOIN immich.public.assets a
ON si."assetId" = a.id
WHERE array_position(si."clipEmbedding", NULL) IS NOT NULL;
There is indeed, and the same line existed in my backups:
1ed2b8e7-bd78-4008-8385-02cb34dc1f75 \N \N {512 occurrences of NULL separated by commas}
I manually removed that line from the backup file, restored the backup, redid the manual pgvecto.rs and altered extensions as described in the original comment, and it seems that everything is up and running again.
Is there a way to
Glad to hear it worked out!
smart_info
table, then you can just run this query to re-add the image to this table: INSERT INTO immich.public.smart_info VALUES ('1ed2b8e7-bd78-4008-8385-02cb34dc1f75', array[]::text[], NULL);
.
The bug
After an update to v1.91, I am getting the following error when running docker compose up:
After repeated failures, I get the following error:
The immich webserver does not load.
I have attempted the following: Delete all data and perform backup Manually enable pgvecto.rs as described at https://github.com/immich-app/immich/discussions/5723#discussioncomment-7866476 Alter extensions following restoring the backup as described at https://github.com/immich-app/immich/issues/5630#issuecomment-1851015572 Repeat the same with different backups.
Deleting all immich data does allow the server to start. Restoring does not seem to work.
The OS that Immich Server is running on
Ubuntu 23.10 on Raspberry Pi 4
Version of Immich Server
1.91
Version of Immich Mobile App
1.91
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Additional information
No response