Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-3627

Cleanup utility leaves files in assetstore

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0, 6.1, 6.2
    • Fix Version/s: 6.3, 7.0
    • Component/s: DSpace API
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      5
    • Documentation Status:
      Complete or Committed

      Description

      In DSpace 5.x, if a bitstream is marked as deleted (deleted: true in the bitstream table), running 'dspace cleanup' CLI with no arguments will cause the row to be deleted from the bitstream table, and the file to be removed from the assetstore. In DSpace 6.0, the row will be properly removed from the database, but the file is never deleted. This results in orphan files that are never removed from the assetstore.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pbecker Pascal-Nicolas Becker
                Reporter:
                cwilper Chris Wilper
                Reviewer:
                Tim Donohue
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: