carrierwave-video icon indicating copy to clipboard operation
carrierwave-video copied to clipboard

Successfully converted file is not moved from cache to the actual storage directory.

Open dave105010 opened this issue 3 years ago • 0 comments

The successfully converted file is not being moved from cache to actual storage directory.

Rails version: 6.1.3.1 Ruby version: 2.6

Steps:

  • Let's say file_name.mov (non-mp4) file is uploaded.
  • It's encoded into mp4 through carrierwave::video and ffmpeg.
  • conversion is successfully completed.
  • the file is in the cache directory as file_name.mp4 and the file plays and works correctly.
  • file_name.mov in the storage directory is never removed or replaced with the mp4 file.
  • mp4 file stays in the cache file forever even after the conversion is done.

dave105010 avatar Apr 30 '21 20:04 dave105010