try running in your server command line:
amportal chown
try again and see if it fixes the permission/owner issue you have in that directory, if it does not, set the owner for /var/www/html to asterisk with this command
chown -R asterisk.asterisk /var/www/html/