Testing the public upload feature with large files, I initially had PHP upload limits set too low. I changed them and the second attempt was successful, but the first attempt left behind (filename).part files the same size as the failed uploads.
Those files never appeared in the files GUI. They remained after cron ran, even though disk usage was >90%. I found them using the command
du -h /path/to/nextcloud/ | grep '[0-9\.]\+G' while troubleshooting the high disk usage.
Everything else is working perfectly and I’m not sure this is a problem with Nextcloud, but I’d like to know how to add *.part files to which ever process clears out deleted or unnecessary files. Is this possible from within Nextcloud?
As a workaround I can do
find /path-to/nextcloud -type f -iname \*.part -delete but it would be great to automate this.
There are no errors in my Nextcloud or Apache log files related to this, everything is running well. I just want to know how to deal with *.part files automatically.