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 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.
- Run the script
- 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