oneduo / nova-file-manager

The most advanced File Manager for Laravel Nova, feature rich and robust build.
https://oneduo.github.io/nova-file-manager/
MIT License
137 stars 37 forks source link

Chunks do not get deleted after successful upload #158

Closed miagg closed 1 year ago

miagg commented 1 year ago

I noticed the chunks folder inside the storage has grown in size. I realized that every single image uploaded to the system has a .part file stored in this folder. I guess this was meant to be a temporary folder that is used to upload images and then move them to the correct folder. But instead the images stay there.

To Reproduce

  1. Upload one or more images
  2. Check on storage/chunks

Expected behavior The folder should be empty

Screenshots

Screenshot 2023-02-07 at 11 03 36 AM

Desktop (please complete the following information):

mikaelpopowicz commented 1 year ago

Hi @miagg

The upload feature relies on laravel chunk upload package, you may take a look at the configuration file.

You may enable task scheduling (cron) to run the uploads:clear command.

miagg commented 1 year ago

Perfect, Thanks for letting my know @mikaelpopowicz.