https://gitlab.synchro.net/main/sbbs/-/commit/59018050245a95cd6e0e61cb
Modified Files:
docs/v322_new.md exec/delfiles.js
Log Message:
delfiles.js: don't abort the purge on a file already missing from disk
FileBase.remove() with delete=true throws when the file is gone from disk,
and that uncaught exception ended the whole delfiles run: the timed event returned -1 every night and no file after the stale entry was ever purged
(seen on Vertrauen: one doorbell-camera JPEG missing since September left
3045 over-age files in the directory).
A missing file now counts as already deleted: log a warning and remove only
the file base entry. Removal failures of any kind are caught and reported
with alert() so the loop continues with the next file. The max-files purge
now resolves and logs the full path like the max-age purge does.
Co-Authored-By: Claude Fable 5.1 <
[email protected]>
---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net