Retrieve conf failed to copy file(s)

Hi,

I have a problem with my FreePBX setup.
No issues with call flows, just 2 problems:

  1. On GUI I see this error:
    Retrieve conf failed to copy file(s) from a module’s agi-bin dir: chmod(): Operation not permitted

  2. I can’t see the new calls on CDR, recordings or call logs of FreePBX.

I tried to change file permissions in various paths but couldn’t succeed.
How can I solve these 2 issues ?