For some reason, a forum I help run recently stopped executing webhooks and started returning 404 for /admin/api/web_hooks
. Is there some way to fix it?
Nope, that page redirects to 404.
ouch. that does not sound good at all
Webhook HTTP requests don’t work either, so lots of moderation tools are broken.
anything going on in the logs? /logs
Nothing that appears to be related.
You are an admin on that forum and only that page returns a 404?
Yes. When clicking the Webhooks
link on the API page of the admin UI, it redirects to /404
, rather than the webhooks page. Webhook HTTP requests are also failing to send, so our forum seems to have basically deleted the concept of webhooks existing from its memory.
Not sure if it will have an effect, but can you try in safe mode, just in case?
/admin/api/web_hooks?safe_mode=no_plugins,no_themes
Still returns 404. Should I try restarting the site’s container?
Do you know if the issue started after updating Discourse? There have been some recent changes to webhooks. I’m wondering if something went wrong on a migration that was run after an update.
The forum actually hasn’t been upgraded in a while (although I suspect that a staff member decided to attempt a downgrade without telling anyone after recent CSS changes)
Just did a full upgrade and it’s working again, something definitely got downgraded, we were missing commits from as far back as October and September.