Freepbx: Reload failed because retrieve_conf encountered an error: 255

Reload failed because retrieve_conf encountered an error: 255
exit: 255
Unable to continue. fopen(/var/www/html/admin/modules/cxpanel/main.log): failed to open stream: Permission denied in /var/www/html/admin/modules/cxpanel/lib/logger.class.php on line 42
1 error(s) occurred, you should view the notification log on the dashboard or main screen to check for more details.

Bad permissions, run on console:

fwconsole chown