Plugin: BX Service Validate FileSystem Storage Provider
From iDempiere en
- Maintainer: Carlos Ruiz - BX Service GmbH
- Status: In production with release 10
- License: GPLv2
- Sources: GitHub de.bxservice.validatefilesystemstorageprovider
Description
For some reason it is possible that the attachment to file system fails and iDempiere ends with a file mentioned in the AD_Attachment file without the corresponding file in the file system.
This plugin adds a process to the menu with name "Validate FileSystem Storage Provider".
The process scan the AD_Attachment, AD_Image and AD_Archive entries and check the filesystem to verify that the corresponding file exists.
It reports when a file does not exist or its size is zero bytes.
The recommended approach is to schedule the execution of the process and send the results via EMail to the intended recipients.
WARNING: This works just for PostgreSQL databases.