PolicePing
The most common cause for this is permission issues or files owned by root
. You can locate them with:
find /var/www -user root ! -path "*/acme-challenge*" ! -path "*/control-panel*" ! -path "*/default*" ! -path "*/vhost*"
Then fix the ownership to match the website’s user and ensure permissions are correct.
If you're using cPFence, we have a helper tool to fix this automatically:
cpfence --fix-permissions
Tip:
Always make changes to your site by first logging into the user container:
su - username
Then perform the changes to avoid ownership issues.