Log rotate error

After upgrading latest pihole get this error

error: Ignoring /etc/pihole/logrotate because the file owner is wrong (should be root or user with uid 0).

Who owns the file?

sudo ls -la /etc/pihole/logrotate.

leonbrag@beachpi:~$ sudo ls -la /etc/pihole/logrotate
-rw-r----- 1 root root 364 Apr 25 14:20 /etc/pihole/logrotate
leonbrag@beachpi:~$

Thanks, can you do the same command again but this time with ls -lan to show the uid instead of the name

leonbrag@beachpi:~$ sudo ls -lana /etc/pihole/logrotate
-rw-r----- 1 0 0 364 Apr 25 14:20 /etc/pihole/logrotate
leonbrag@beachpi:~$

@DanSchaper - any update on the resolution. Curious of the root cause as well, as this new after an update.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.