Skip to content
English
  • There are no suggestions because the search field is empty.

Cleaning Up Incomplete Uploads and Orphaned Thumbnails in FileCloud Database

Original Question or Issue:

I am trying to remove incomplete uploads


Environment:

  • Product - FileCloud Server
  • Version - 23.253
  • Platform - Any

Steps to Reproduce:

 


Error or Log Message:

 


Defect or Enhancement Number:

FCL-7833


Cause:

However, based on our observation, the folder associated with the reported parentid no longer exists in the database. Because of this inconsistency, the cleanup tool may not be able to remove those thumbnail records properly.

In this case, the simpler approach would be to delete the affected thumbnail records directly from the database, and then run the Admin Portal Checks again to confirm that the warnings are cleared.

Please make sure to take a database backup before performing any direct changes to avoid any unintended issues.


Resolution or Workaround:

Run the following query in the database to identify the affected entries:

db.getCollection("items").find({    type: {$in: ['file', 'thumb']},
   complete: '1',
   $or: [{'encrypted': {'$exists': false}}, {'encrypted': {$ne: '1'}}]
});

After confirming the returned records, you can proceed with deleting the affected entries directly from the database.

Please ensure that you take a full database backup before performing the deletion to avoid any unintended data loss.


Notes: