I've been testing this module out recently with Amazon S3 and Zencoder, however upon testing I've noticed that when you delete a node, the video file and thumbnails on Amazon S3 aren't deleted. Is this how the module works, or active bug, or possibly misconfiguration of the module? Thank you.

Comments

sadist’s picture

For my case, it only remove the original file but not the converted ones and all thumbnails will still be there. I also wonder, what happen if we change filepath? It doesn't seems to Retroactive updated.

magnusk’s picture

Version: 6.x-4.1-rc6 » 6.x-4.x-dev

This is probably the same issue: if I edit a node to remove the video, the node is saved without video in filefield, but the corresponding files in the S3 bucket are not deleted, although they should.

jhrizz’s picture

Subscribing. Any updates on this?

Jorrit’s picture

Status: Active » Postponed (maintainer needs more info)

Please try if version 6.x-4.6 beta 1 fixes this problem for you. In this version the Zencoder and S3 parts have been refactored and tested.

You can read about it at http://drupal.org/node/1346434

infines’s picture

Version: 6.x-4.x-dev » 7.x-2.4

I'm getting this error on 7.2.4 and it seems that the converted files and thumbnails aren't being deleted after node delete. The originals are being deleted however. Would be nice to get a patch for this so files don't plug up my S3 server!

Jorrit’s picture

Version: 7.x-2.4 » 6.x-4.x-dev

The Video module versions for Drupal 6 and 7 are very different, and have different maintainers as well. Please open a new issue and do not change issues from version 6.x to 7.x. In your new issue, also describe whether you use Zencoder or FFMpeg. Thanks.

jhrizz’s picture

I have not downloaded the most recent DEV, however with Beta1, when a video node is deleted, only the original upload is removed from S3- the "converted" folder and the clip in it remain. This is after I ensured that Zencoder has Get, Put, Put ACL and Delete capabilities. Drupal's permissions on S3 (I believe) are handled via the native S3 credentials?

Know that I am using file path and transliteration, so the file name underwent a change from the original. Also know that, if memory serves, I have always seen this behaviour.

I will check on thumbnails, and testing in a vanilla environment- no file path nor transliteration..

Cheers!

Jorrit’s picture

Status: Postponed (maintainer needs more info) » Active

I have already found the error. I deleted the line of code that deleted the Zencoder converted files because I mistook it for a debug line before committing the change. Next -dev release contains the fix.

Jorrit’s picture

Status: Active » Fixed

6.x-4.6 has been released.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.