QutEcoacoustics / baw-server

The acoustic workbench server for storing and managing ecoacoustic data. Manages the structure and audio data. Provides an API for clients access.
Apache License 2.0
9 stars 4 forks source link

Rclone .partial files are not cleaned up for uploads #684

Open atruskie opened 1 month ago

atruskie commented 1 month ago

When users upload files with rclone (https://rclone.org/commands/rclone_copy/)

partial files have a *.partial extension but the files end up not being cleaned up.

When we investigate the files are missing on disk, so this means our web hooks have missed some event which would have allowed us to destroy the harvest_item record.

e.g. image