check content of /etc/.pihole/advanced/Templates/logrotate
, should match the content of the repository.
edit
if there is a mismatch, there are probably other problems.
old solution here
OR
submit a debuglog (pihole -d) and wait for the moderators to respond...
/edit