Update not possible without sudo anymore

Expected Behaviour:

pihole -up used to work without sudo, but after upgrading to v6 I always get the message that sudo is required for the command pihole
/usr/local/bin/pihole: line 34: /etc/pihole/versions: Permission denied

Actual Behaviour:

pihole -up does not work without sudo

This is expected. Before sudo was also required but it tried to obtain it interactively. Now you need to start the command with sudo right away.

1 Like

I was going a little nuts about the issue until I stumbled on this. At the same time I encountered this behaviour after the update, I ran into some other permissions mysteries that I don't see addressed. Please let me know nicely if possible, whether I ought to be starting a different issue about this, or if I've ignorantly lacked crucial information.

The admin page, in fact the entire UI has failed to load, with 403s & timeouts. I read elsewhere that I'm now supposed to include the /admin path which I've always done anyway, and if not, then I'm supposed to use the hostname pi-hole which is not in fact my pi-hole's hostname. So I'm at a loss with that.

Also simultaneously and also seeming like a new permissions issue, my cron jobs are not running and no error output is getting logged.

Separate simultaneous issues? Any advice at all?

My first post. Been running pihole about 3 years without major issues.

Linux raspberrypi 6.6.28+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.28-1+rpt1 (2024-04-22) aarch64 (pi4+ unmodified)

Yes please, and also provide info and a debug log. Thanks.

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