Hello.
When im running any pihole cmd or installation script im getting results like this
This seems an issue with the OS package manager.
Can you please run this command and post the output?
bash -x '/etc/.pihole/automated install/basic-install.sh' --reconfigure
here
bash -x '/etc/.pihole/automated install/basic-install.sh' --reconfigure
+ set -e
+ export PATH+=:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ PATH+=:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ : 0
+ : 1
+ : 255
++ cat
+ DNS_SERVERS='Google (ECS, DNSSEC);8.8.8.8;8.8.4.4;2001:4860:4860:0:0:0:0:8888;2001:4860:4860:0:0:0:0:8844
OpenDNS (ECS, DNSSEC);208.67.222.222;208.67.220.220;2620:119:35::35;2620:119:53::53
Level3;4.2.2.1;4.2.2.2;;
Comodo;8.26.56.26;8.20.247.20;;
DNS.WATCH (DNSSEC);84.200.69.80;84.200.70.40;2001:1608:10:25:0:0:1c04:b12f;2001:1608:10:25:0:0:9249:d69b
Quad9 (filtered, DNSSEC);9.9.9.9;149.112.112.112;2620:fe::fe;2620:fe::9
Quad9 (unfiltered, no DNSSEC);9.9.9.10;149.112.112.10;2620:fe::10;2620:fe::fe:10
Quad9 (filtered, ECS, DNSSEC);9.9.9.11;149.112.112.11;2620:fe::11;2620:fe::fe:11
Cloudflare (DNSSEC);1.1.1.1;1.0.0.1;2606:4700:4700::1111;2606:4700:4700::1001'
+ installLogLoc=/etc/pihole/install.log
+ setupVars=/etc/pihole/setupVars.conf
+ lighttpdConfig=/etc/lighttpd/lighttpd.conf
+ coltable=/opt/pihole/COL_TABLE
+ webroot=/var/www/html
+ webInterfaceGitUrl=https://github.com/pi-hole/web.git
+ webInterfaceDir=/var/www/html/admin
+ piholeGitUrl=https://github.com/pi-hole/pi-hole.git
+ PI_HOLE_LOCAL_REPO=/etc/.pihole
+ PI_HOLE_FILES=(chronometer list piholeDebug piholeLogFlush setupLCD update version gravity uninstall webpage)
+ PI_HOLE_INSTALL_DIR=/opt/pihole
+ PI_HOLE_CONFIG_DIR=/etc/pihole
+ PI_HOLE_BIN_DIR=/usr/local/bin
+ FTL_CONFIG_FILE=/etc/pihole/pihole-FTL.conf
+ '[' -z '' ']'
+ useUpdateVars=false
+ adlistFile=/etc/pihole/adlists.list
+ IPV4_ADDRESS=
+ IPV6_ADDRESS=
+ QUERY_LOGGING=true
+ INSTALL_WEB_INTERFACE=true
+ PRIVACY_LEVEL=0
+ CACHE_SIZE=10000
+ '[' -z wrobel ']'
+ r=20
+ c=70
+ reconfigure=false
+ runUnattended=false
+ INSTALL_WEB_SERVER=true
+ for var in "$@"
+ case "$var" in
+ reconfigure=true
+ [[ -f /opt/pihole/COL_TABLE ]]
+ source /opt/pihole/COL_TABLE
++ [[ -t 1 ]]
+++ tput colors
++ [[ 8 -ge 8 ]]
++ COL_BOLD=''
++ COL_ULINE=''
++ COL_NC=''
++ COL_GRAY=''
++ COL_RED=''
++ COL_GREEN=''
++ COL_YELLOW=''
++ COL_BLUE=''
++ COL_PURPLE=''
++ COL_CYAN=''
++ COL_WHITE=''
++ COL_BLACK=''
++ COL_LIGHT_BLUE=''
++ COL_LIGHT_GREEN=''
++ COL_LIGHT_CYAN=''
++ COL_LIGHT_RED=''
++ COL_URG_RED=''
++ COL_LIGHT_PURPLE=''
++ COL_BROWN=''
++ COL_LIGHT_GRAY=''
++ COL_DARK_GRAY=''
++ TICK='[✓]'
++ CROSS='[✗]'
++ INFO='[i]'
++ QST='[?]'
++ DONE=' done!'
++ OVER='\r'
+ [[ '' != true ]]
+ main --reconfigure
+ local 'str=Root user check'
+ printf '\n'
+ [[ 1000 -eq 0 ]]
+ printf ' %b %s\n' '[i]' 'Root user check'
[i] Root user check
+ printf ' %b %bScript called with non-root privileges%b\n' '[i]' '' ''
[i] Script called with non-root privileges
+ printf ' The Pi-hole requires elevated privileges to install and run\n'
The Pi-hole requires elevated privileges to install and run
+ printf ' Please check the installer for any concerns regarding this requirement\n'
Please check the installer for any concerns regarding this requirement
+ printf ' Make sure to download this script from a trusted source\n\n'
Make sure to download this script from a trusted source
+ printf ' %b Sudo utility check' '[i]'
[i] Sudo utility check+ is_command sudo
+ local check_command=sudo
+ command -v sudo
+ printf '%b %b Sudo utility check\n' '\r' '[✓]'
[✓] Sudo utility check
+ [[ /etc/.pihole/automated install/basic-install.sh == \b\a\s\h ]]
+ exec sudo bash '/etc/.pihole/automated install/basic-install.sh' --reconfigure
[✓] Root user check
.;;,.
.ccccc:,.
:cccclll:. ..,,
:ccccclll. ;ooodc
'ccll:;ll .oooodc
.;cll.;;looo:.
.. ','.
.',,,,,,'.
.',,,,,,,,,,.
.',,,,,,,,,,,,....
....''',,,,,,,'.......
......... .... .........
.......... ..........
.......... ..........
......... .... .........
........,,,,,,,'......
....',,,,,,,,,,,,.
.',,,,,,,,,'.
.',,,,,,'.
..'''.
[i] SELinux not detected
[✓] Update local cache of available packages
Can you please try the same command using sudo?
sudo bash -x '/etc/.pihole/automated install/basic-install.sh' --reconfigure
im just reinstalled OS and its working
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
