Skip to content

Pihole fails withΒ #2485

Closed
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 isn't installable.

βš™οΈ What settings are you using?

  • Default Settings
  • Advanced Settings

πŸ–₯️ Which Linux distribution are you using?

Debian 12

πŸ”„ Steps to reproduce the issue.

  1. Run the script
  2. see the error

❌ Paste the full error output (if available).

____  _ __          __   

/ __ () / ____ / /__
/ // / / __ / __ / / _
/ / / / / / // / / __/
/
/ /
/
/ /
/_//_/

🧩 Using Advanced Settings on node node01
πŸ–₯️ Operating System: debian
🌟 Version: 12
πŸ“¦ Container Type: Unprivileged
πŸ” Root Password: ********
πŸ†” Container ID: 12001
🏠 Hostname: pihole
πŸ’Ύ Disk Size: 2 GB
🧠 CPU Cores: 1
πŸ› οΈ RAM Size: 512 MiB
πŸŒ‰ Bridge: vmbr0
πŸ“‘ IP Address: dhcp
🌐 Gateway IP Address: Default
πŸ“‘ APT-Cacher IP Address: Default
🚫 Disable IPv6: no
βš™οΈ Interface MTU Size: Default
πŸ” DNS Search Domain: Host
πŸ“‘ DNS Server IP Address: Host
🏷️ Vlan: 12
πŸ“‘ Tags: ;
πŸ”‘ Root SSH Access: yes
Warning: No SSH key provided.
πŸ” Verbose Mode: no
πŸš€ Creating a Pihole LXC using the above advanced settings
βœ”οΈ Using local for Template Storage.
βœ”οΈ Using storage for Container Storage.
βœ”οΈ Updated LXC Template List
βœ”οΈ LXC Container 42001 was successfully created.
βœ”οΈ Started LXC Container
βœ”οΈ Set up Container OS
βœ”οΈ Network Connected: 10.0.12.19
βœ”οΈ IPv4 Internet Connected
βœ–οΈ IPv6 Internet Not Connected
βœ”οΈ DNS Resolved github.com to 140.82.121.3
βœ”οΈ Updated Container OS
βœ”οΈ Installed Dependencies
βœ”οΈ Installed Pi-hole
Would you like to add Unbound? <y/N> y
Unbound is configured as a recursive DNS server by default, would you like it to be configured as a forwarding DNS server (using DNS-over-TLS (DoT)) instead? <y/N>
β ¦sed: can't read /etc/pihole/setupVars.conf: No such file or directory
β §
[ERROR] in line 123: exit code 0: while executing command sed -i -e 's/PIHOLE_DNS_1=8.8.8.8/PIHOLE_DNS_1=127.0.0.1#5335/' -e '/PIHOLE_DNS_2=8.8.4.4/d' /etc/pihole/setupVars.conf

πŸ–ΌοΈ Additional context (optional).

No response

Metadata

Metadata

Assignees

No one assigned

    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