TehLeo is unable to restore a Discourse backup from S3, encountering a failure during the restore process with no clear indication of the root cause. Despite troubleshooting S3 connectivity and attempting manual CLI restores, the issue persists. Canapin suggests reviewing similar error logs on Meta Discourse and references a guide for handling problematic data during a paused restore. Following this, TehLeo identifies 9 problematic posts via a database query but is unsure how to proceed. Canapin provides detailed instructions for modifying or deleting problematic posts or uploads during a paused restore using the Rails console. TehLeo successfully deletes the 9 posts using Post.find(id#).destroy but does not confirm whether this was done during a paused restore. Canapin follows up to confirm whether the deletion occurred during the paused state, as proper timing is critical for the restore to proceed correctly.
I’ve tried everything I could with troubleshooting S3. I even attempted to move the backup to the server, and performed a CLI / Manual restore. It fails with the same log. I’ve tried turning off S3 Uploads. I’m unsure what my next troubleshooting steps are, or how to see exactly what post is causing the issue / remove it.
I followed these instructions, and I recieved 9 posts from the quarry. The old post doesn’t detail what to do with these posts, or how to correct the issue past this point.