Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: Enduro fails to process a directory of files uploaded to MinIO #845

Open
djjuhasz opened this issue Jan 31, 2024 · 2 comments
Open

Comments

@djjuhasz
Copy link
Collaborator

djjuhasz commented Jan 31, 2024

Describe the bug

When a transfer that is a directory of files is uploaded to the MinIO "sips" bucket for processing, Enduro creates a separate processing workflow for each file in the directory, and then each workflow fails with an fatal error in the download-activity.

To Reproduce

Steps to reproduce the behavior:

  1. Upload https://github.com/artefactual/archivematica-sampledata/tree/master/SampleTransfers/Images to the MinIO sips bucket

One Enduro processing workflow is started for each file in the directory, then each workflow fails with a download-activity error like:

create file: open /tmp/enduro1526123462/Images/G31DS.TIF: no such file or directory

Expected behavior

  1. The whole directory should be processed as a single transfer by a single processing workflow
  2. The transfer should be successfully processed and create a single AIP

Screenshots

image

Additional context

@djjuhasz djjuhasz changed the title Problem: Enduro fails to process an directory of files Problem: Enduro fails to process a directory of files uploaded to MinIO Jan 31, 2024
@Diogenesoftoronto
Copy link
Contributor

This seems to need a bit of an update, filesystemwatcher does not have a isDir or similar attribute being set in the link provided: https://github.com/artefactual-sdps/enduro/blob/main/internal/watcher/filesystem.go#L132 . Context is updated most recently in @djjuhasz latest issue

@djjuhasz
Copy link
Collaborator Author

djjuhasz commented Apr 3, 2024

I updated the isDir link to https://github.com/artefactual-sdps/enduro/blob/main/internal/watcher/filesystem.go#L153

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants