A user, multicam, reports encountering a 500 Internal Server Error when attempting to delete hidden posts via the ‘DELETE’ endpoint in a Docker-installed Discourse forum (version 1.3.0.beta4) hosted on DigitalOcean. The error occurs for both moderators and admins trying to delete multiple hidden posts (IDs 16–19) from the Welcome topic. Logs reveal a Discourse::InvalidParameters (post_ids) error. The user notes that hidden posts cannot be unhidden through standard UI options. As a workaround, they moved the posts to a ‘purgatory’ topic to avoid visibility. codinghorror suggests using the staff wrench button to unhide posts, which multicam confirms resolved the issue. However, codinghorror acknowledges that a potential bug may still exist around deleting hidden posts, warranting further investigation. The issue appears tied to post state (hidden) and bulk deletion handling, with no server-level permission issue identified. The user appreciates the support and notes a need to better understand Discourse’s delete/hide mechanics.
If that can help: we have undeleted those posts, and move them to a ‘purgatory’ topic, so they won’t appear in the post under consideration – Not sure if it’s that legit, but we can move along.