inabahare / lewd2

A based file uploader
https://lewd.se
GNU General Public License v3.0
23 stars 3 forks source link

Old files are not deleted #62

Closed kattjevfel closed 5 years ago

kattjevfel commented 5 years ago
2019-05-01 00:59:00.000+02:00: Finding files to scan
2019-05-01 00:59:00.000+02:00: Deleting 1514 files
2019-05-01 00:59:00.000+02:00: You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection:
2019-05-01 00:59:00.000+02:00: TypeError: (0 , _deleteFiles.default) is not a function
2019-05-01 00:59:00.000+02:00:     at Task.fileDeletion [as execution] (/var/www/lewd2/dist/cronactions.js:226:28)
2019-05-01 00:59:00.000+02:00:     at <anonymous>
2019-05-01 00:59:00.000+02:00:     at process._tickCallback (internal/process/next_tick.js:188:7)
2019-05-01 00:59:00.000+02:00: cronactions.js Promise: [object Promise] Reason: TypeError: (0 , _deleteFiles.default) is not a function
2019-05-01 00:59:00.000+02:00: Scanners:
2019-05-01 00:59:00.000+02:00:   VirusTotal
2019-05-01 00:59:00.000+02:00: Starting cronjob for VirusTotal
2019-05-01 00:59:00.000+02:00: Now doing cron operations :3

The log is full of this, not gonna paste all of that because that'd be ridiculous.