Replies: 1 comment
-
| Hey! For context, memories involve the following logical blocks/steps. 
 I suggest the following troubleshooting steps. 
 select from system_metadata where key like 'memories-state';
 docker exec immich_redis redis-cli --raw XREVRANGE "immich_bull:backgroundTask:events" + - COUNT 100 | \
  awk '/^[0-9]+-[0-9]+$/ { if (NR > 1) print output ; output = "ID=" $0 ; next }
  { if (!key) { key = $0 } else { output = output ", " key "=" $0 ; key = "" } }
  END { print output }'(The command is quite long because it transforms Redis output into something readable.) 
 If you want to go deeper with Redis, all queues/jobs can be dumped with even longer command - #20548 (reply in thread).   bullboard:
    image: venatum/bull-board:latest
    environment:
      REDIS_HOST: redis
      BULL_PREFIX: immich_bull
    ports:
      - "3000:3000"
 Right, these background jobs are not chatty. Probably adding a log message here and there won't hurt. | 
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Memories were working few weeks ago when I initially set up Immich.
I exexuted command:
/opt/immich-app# docker compose exec --user postgres database psql -Ppager=no -d immich -c 'select "createdAt", type, "memoryAt", "showAt", "hideAt", "seenAt" from memory order by 1' createdAt | type | memoryAt | showAt | hideAt | seenAt -----------+------+----------+--------+--------+-------- (0 rows)result:
createdAt | type | memoryAt | showAt | hideAt | seenAt -----------+------+----------+--------+--------+-------- (0 rows)double checked with server.com/api/memories
result:
[]What I tried from other closed issues:
2.
docker compose exec --user postgres database psql -d immich -c 'TRUNCATE TABLE memory RESTART IDENTITY CASCADE;'3.
docker exec immich_postgres psql --dbname=immich --username=postgres -c "delete from system_metadata where key like 'memory-state'; truncate table memory cascade;"4.
curl -X PUT "https://<immich-host>/api/jobs/backgroundTask" \ -H "X-Api-Key: <ADMIN_API_KEY>" -H "Content-Type: application/json" \ -d '{"command":"resume","force":true}'Nothing from above fixed the issue
There is nothing related to memories in Immich logs
Beta Was this translation helpful? Give feedback.
All reactions