Skip to content

Error ingesting to DERIVA: Bag validation failed: #183

Answered by ACharbonneau
ACharbonneau asked this question in Q&A
Discussion options

You must be logged in to vote

md5 validation errors are usually caused by files being edited after they have been packaged into a bdbag. bdbags contain md5 information for each file in the bag, and that md5 information is generated when the bag is created, so downstream changes to the files cause validation errors.

Possible solutions:

If you meant to alter the bags contents

  1. Regenerate the md5 values of your bdbag

bdbag --update <your bag path>

See the full bdbag documentation here. If you are having trouble with bdbags, you may also be interested in trying the bdbag GUI, which doesn't require using the command line.

  1. Move the contents of the 'data' file to a new directory, and make a new bdbag

If you did not mean t…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ACharbonneau
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant