Skip to content
Discussion options

You must be logged in to vote
  1. I can suggest you to stop the containers using:
    docker compose stop immich-server immich-machine-learning redis

  2. Then Backup using this

  3. Start the container:
    docker compose up -d database

  4. Clear the corrupted ML table
    docker exec -it immich_postgres sh -lc ' psql -U "$POSTGRES_USER" -d "$POSTGRES_DB" -c "TRUNCATE TABLE smart_search;" '

  5. Then bring the other containers live
    docker compose up -d immich-server immich-machine-learning redis

  6. Then Go to Administration -> Job Queues -> Smart Search and run it for all the items (just click the infinity symbol) so that it rebuilds the Smart Search again.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by brunoescalona
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #27076 on March 20, 2026 08:35.