Description
β Have you read and understood the above guidelines?
yes
π What is the name of the script you are using?
Pihole
π What was the exact command used to execute the script?
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/pihole.sh)"
π Provide a clear and concise description of the issue.
Pihole Update isn't working anymore because the pihole command isn't found after installation:
I figured out that the pihole command is located here:
root@pihole:~# find / -name pihole
/usr/local/bin/pihole
Further debugging shows that this path isn't available in the $PATH variable:
root@pihole:~# echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin
I added export PATH="/usr/local/bin:$PATH"
to my .bashrc
and it was fixed.
An other thing I figured out is that this is not working anymore:
It should be this:
βοΈ What settings are you using?
- Default Settings
- Advanced Settings
π₯οΈ Which Linux distribution are you using?
Debian 12
π Steps to reproduce the issue.
Install pihole, wait until update is available and run the script inside the container.
β Paste the full error output (if available).
____ _ __ __
/ __ () / ____ / /__
/ // / / __ / __ / / _
/ / / / / / // / / __/
// /// //_//_/
β environment: line 32: pihole: command not found
β
[ERROR] in line 32: exit code 0: while executing command pihole -up
βοΈ Updated Pihole
πΌοΈ Additional context (optional).
No response