Regarding update and upgrade issues after deploying Discourse

Once, after upgrading through the backend administrator panel, image attachments went missing, and I only managed to recover them through recover. I don’t know the reason why, so since then, I have only used rebuild for updates and upgrades.