User x still has unscanned files after running background scan, background scan might be stopped prematurely

Alright, summary for the forum peeps:

  • Very likely some data inconsistency in your database that existed for quite long and just now surfaced.
  • It’s nothing problematic, only some file cache entries that point into the woods.
  • You can find them in your database via:
    SELECT DISTINCT * FROM oc_filecache AS f INNER JOIN oc_mounts AS m ON m.storage_id = f.storage WHERE size < 0 AND parent > 1;
    
  • You can remove the relevant entries by their fileid listed in the first column of your results:
    DELETE FROM oc_filecache WHERE fileid = <your id>
    
  • MAKE SURE TO BACKUP YOUR DATABASE BEFORE (or at least this table!)

/S

7 Likes