Skip to content

How to run "VACUUM FULL assets;" to fix Immich? #8440

Answered by streetcap
streetcap asked this question in Q&A
Discussion options

You must be logged in to vote

Found the answer in #7313 :

Command line at the immich_postgres container (for me, i used synology container manager -> action -> Open terminal -> Create ; SSH to the NAS also works)
Run "psql -U postgres". Command line should then show psql at the start
Run "\c immich" to point to the immich database
run "VACUUM FULL smart_search;", took 10 seconds for my 100gb photos/videos.
Search is immediately restored without requiring a smart search rerun.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mertalev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant