My ocfilecache table contains 1.5m rows, but I only have 255,069 files in my data dir:
find /mnt/data -type f|wc -l 255069
I have tried using the occ files:cleanup command and it just returns:
0 orphaned file cache entries deleted
Why does occ files:cleanup not remove these entries? From what I can tell, the orphan records in the table belong to users which have been deleted via the web interface. Is occ files:cleanup not deleting the orphaned records because they don’t belong to an existing user?