We found attachment goes missing once new upgrade or version changes

We have been attaching supporting on vouchers, invoices journal entries for auditors and seeing online however we found twice whenever version updated from old data attachment goes on missing.