Whoops error after install

Hi I am getting the following error. Please help me to solve this.

Whoops \ Exception \ ErrorException (E_ERROR)
Uncaught exception ‘Whoops\Exception\ErrorException’ with message ‘file_get_contents(/etc/freepbx.conf): failed to open stream: Permission denied’ in /var/www/html/admin/libraries/Composer/vendor/filp/whoops/src/Whoops/Exception/Frame.php:127 Stack trace: #0 [internal function]: Whoops\Run->handleError(2, ‘file_get_conten…’, ‘/var/www/html/a…’, 127, Array) #1 /var/www/html/admin/libraries/Composer/vendor/filp/whoops/src/Whoops/Exception/Frame.php(127): file_get_contents(’/etc/freepbx.co…’) #2 /var/www/html/admin/libraries/Composer/vendor/filp/whoops/src/Whoops/Exception/Frame.php(204): Whoops\Exception\Frame->getFileContents() #3 /var/www/html/admin/views/whoops/views/frame_code.html.php(24): Whoops\Exception\Frame->getFileLines(-11, 40) #4 /var/www/html/admin/libraries/Composer/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php(249): require(’/var/www/html/a…’) #5 [internal function]: Whoops\Util\TemplateHelper->Whoops\Util{closure}(’/var/www/html/a…’, Array) #6 /var/www/html/admin/libraries/Co

Permission errors are almost always fixed with

fwconsole chown

Hi Lorne
After running fwconsole chown I get the attached error screen. Please help me to solve this.