Skip to content

Pihole Update + Documentation - since 6.0Β #2549

Closed
@nicedevil007

Description

@nicedevil007

βœ… 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:

Image

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:

Image

It should be this:

Image

βš™οΈ 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

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions