Skip to content

Thumbnail preview cleanup not calculating correctly? #451

@naivchan

Description

@naivchan

hello, I was testing the new Thumbnail Cleanup feature in version 0.8.0, and I see some odd behavior where it's not calculating the number of thumbnails to cleanup properly:

Image

I haven't cleaned up anything, so all of these thumbnails are from after 4/10/2026. It initially showed 240-ish thumbnails when I picked a date like 4/17, but now it's only showing 1-4 items, even when I try to refresh and hit the preview button again.

I haven't clicked the "clean" button once in the new feature.

I ran my own check media script,

#!/bin/bash
echo "--- System Vitals ---"
df -h -x overlay -x tmpfs | grep '^/'
echo ""
free -h | grep -E "Mem:|Swap:"
echo ""
echo "--- Media Breakdown (Postgres) ---"
docker exec -it hollo-social-db-1 psql -U hollo -c "
SELECT
 CASE WHEN url LIKE '%pomnavi.net%' THEN 'Local (Yours)' ELSE 'Remote (Cache)' END AS type,
 COUNT(*) AS count
FROM media
GROUP BY 1;"

and got this output:
--- System Vitals ---
/dev/sda1 75G 17G 56G 23% /
/dev/sda15 253M 146K 252M 1% /boot/efi

Mem: 7.6Gi 2.5Gi 803Mi 635Mi 5.2Gi 5.0Gi
Swap: 2.0Gi 1.2Mi 2.0Gi

--- Media Breakdown (Postgres) ---
type | count
----------------+-------
Local (Yours) | 35
Remote (Cache) | 4980
(2 rows)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions