nulib / avalon

Variations-on-Video Hydra app
Apache License 2.0
3 stars 0 forks source link

Can't delete files in AVR #450

Closed jenyoung closed 4 years ago

jenyoung commented 4 years ago

Severity

Is the production site running?

Are staff blocked from performing their work?

Descriptive summary

I'm trying to delete some corrupted files from the Bienen collection that were ingested a while ago. I can't seem to be able to delete them.

Example: https://media.northwestern.edu/media_objects/kw52j9098/section/cz30pt753

Expected behavior

I can delete the file.

Actual behavior

I cannot. The delete button acts like it works but it does not.

davidschober commented 4 years ago

@jenyoung will unpublish all works in the collection that are bonked and add the query here. We will dig into this issue during a bi-fort-night.

davidschober commented 4 years ago

@jenyoung now it looks like that item has been deleted. I can't remember what we ended up doing here.

jenyoung commented 4 years ago

the 14 unpublished works in the Northwestern University School of Music Concert Recordings collection have files attached I need to delete and/or replace. @davidschober @mbklein

davidschober commented 4 years ago

https://media.northwestern.edu/?f%5Bcollection_ssim%5D%5B%5D=Northwestern+University+School+of+Music+Concert+Recordings&f%5Bworkflow_published_sim%5D%5B%5D=Unpublished

Just to be clear, we should delete all of the works here?

jenyoung commented 4 years ago

No, I can't delete any files in a work. Don't delete any of them.

davidschober commented 4 years ago

cc: @mbklein I tried to remediate this as well. The files that got stuck can't be removed from the media object.

mbklein commented 4 years ago

I've located the cause of this issue, but I don't understand why it's happening. Brendan and I are continuing to look into it.

davidschober commented 4 years ago

Thanks! I tested this. On staging I'm getting a 504 on a delete operation. Eventually it seems to delete. Can we also up the idle timeout?

davidschober commented 4 years ago

Fixed in staging, ready for Prod. Additionally we increased idle timeout which should help with some of the odd timeouts.