Permission denied in /var/www/html/admin/libraries/utility.functions.php

I also have a warning message from Cron to the root email which says:

From root@… (Cron Daemon)
To apache@…
Date 21/10/2016 16:52
Subject Cron <apache@…>
/var/lib/asterisk/bin/freepbx-cron-scheduler.php

Message contents

PHP Warning: file_put_contents(/var/log/asterisk/freepbx.log): failed
to open stream:
Permission denied in /var/www/html/admin/libraries/utility.functions.php
on line
112

Which permissions do I need to set there?

Try:

fwconsole chown

In terminal it says:

fwconsole chown

-bash: fwconsole: command not found

Hi!

Which version of FreePBX do you have?

Does “amportal chown” works?

Good luck and have a nice day!

Nick

It’s FreePBX Asterisk (Ver. 11.16.0)

“amportal chown” works

Did it fix your problem?

I will simply see what happens. No further warning emails for permission denied. Thanks for all your help