Install didn't complete

Please follow the below template, it will help us to help you!

Expected Behaviour:

[Installer terminates properly]

Actual Behaviour:

_[Installer is aborted. Finally, there is no install log in /etc/pihole . If I run

Blockquote
curl -sSL https://install.pi-hole.net | sudo bash -x

I can see these last lines:

Blockquote

  • printf '%b %b Checking for %s\n' '\r\033[K' '[\e[1;32m✓\e[0m]' php-common
    [✓] Checking for php-common
  • for i in "$@"
  • printf ' %b Checking for %s...' '[i]' php-cgi
    [i] Checking for php-cgi...+ dpkg-query -W '-f=${Status}' php-cgi
  • grep 'ok installed'
  • echo -e '\r\033[K [i] Checking for php-cgi (will be installed)'
    [i] Checking for php-cgi (will be installed)
  • installArray+=("${i}")
  • for i in "$@"
  • printf ' %b Checking for %s...' '[i]' php-sqlite3
    [i] Checking for php-sqlite3...+ dpkg-query -W '-f=${Status}' php-sqlite3
  • grep 'ok installed'
  • echo -e '\r\033[K [i] Checking for php-sqlite3 (will be installed)'
    [i] Checking for php-sqlite3 (will be installed)
  • installArray+=("${i}")
  • [[ 2 -gt 0 ]]
  • test_dpkg_lock
  • i=0
  • fuser /var/lib/dpkg/lock
  • return 0
  • debconf-apt-progress -- apt-get --yes --no-install-recommends install php-cgi php-sqlite3

]_

Debug Token:

[pihole -d doesn't work]

Run that command and see what the response is. If any step fails then the install halts. In future versions starting with v5 there is no overlay hiding the apt process so any errors will be displayed to users during installation.

2 Likes

Now it is working.
Thanks a lot!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.