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

Cleanup utility leaves files in assetstore

    Details

    • Type: Bug
    • Status: Awaiting Documentation (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 6.0, 6.1, 6.2
    • Fix Version/s: 6.3
    • Component/s: DSpace API
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      4
    • Documentation Status:
      Needed

      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
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: