FOP buttons not getting generated

I’m having an issue with freepbx 2.2.1 where the op_buttons_additional.cfg isn’t being generated.

Does anyone know how to track this down - maybe how to bug freepbx into debug mode so that errors come to the html error logs?

thanks