ImmichI
Immich6mo ago
blotz

Postgres Key Error

my postgres instance has some sort of key error going all the way back to 2024-05-25

I noticed an error cropping up in my logs and after some investigation, it looks like its a pretty old error.
root@immich:~/immich-app/postgres/log# rgrep -l "duplicate key value violates unique constraint" *
postgresql-2024-05-25_180135.log
postgresql-2024-05-26_101735.log
postgresql-2024-05-29_000000.log
postgresql-2024-05-30_000000.log
postgresql-2024-06-01_000000.log
postgresql-2024-07-04_050003.log
postgresql-2024-07-13_050004.log
postgresql-2024-07-16_050003.log
postgresql-2024-08-19_050002.log
postgresql-2024-08-31_050002.log
postgresql-2024-09-20_050002.log
postgresql-2024-10-15_150100.log
postgresql-2024-11-22_000000.log
postgresql-2024-11-22_050002.log
postgresql-2024-12-31_050002.log
postgresql-2025-01-02_050002.log
postgresql-2025-01-04_050002.log
postgresql-2025-01-07_050002.log
postgresql-2025-01-10_050002.log
postgresql-2025-01-17_050002.log
postgresql-2025-01-20_050548.log
postgresql-2025-01-24_050002.log
postgresql-2025-03-22_050002.log


The first instance of this error showing up is pretty long. I think maybe while i was setting up and backing up all my assets?
immich.log58.17KB
immich-2.log329.51KB
Was this page helpful?