Foreman shellhook cannot trigger on event "Build Entered" - HTTP Error 500

Created separate post for this problem: