zrh87
Posts: 10
Joined: Sun Aug 18, 2019 1:01 pm

Pi Hole Problems (Pi Zero W)

Sun Aug 18, 2019 1:25 pm

So originally I tried this running a pi zero w with buster light 16 gig card. Found out that Jessie and stretch were what are officially supported so I switched to Jessie lite. I’m doing it headless. Ssh file is in boot and I have it set to connect to WiFi when it boots. No intention on hardlining this unless that’s my only option. I can ssh in and change password. So connecting is not an issue.

When I run pinhole install. First I get a x on root user check. Then it says script called with non-root privileges
.
Install goes through the graphical. Everything seems ok. Then it goes back to terminal.

I get a x on check for existing repository in etc/.pihole. Check on cloning from github.

X on check for existing repository in /var/www/html/admin. Check on cloneing.

X on downloading and installing FTL
Error: unable to get latest release location from github.
X on FTL engine not installed.

It never makes it back to the graphic for me to get the password to be able to log into the pi hole through the browser.

Am I trying to install without root privileges somehow? If so then what do I need to do? Change the password then log out and back in? I’ve even switched to root and tried the install and still same thing happens.

At this point tho. I’ve done multiple clean installs on 2 different pi zero w’s with the results always being the same. I honestly think that’s it might not be on my end at this point. 2 different devices with multiple clean installs.

Idk I’m honestly bout to loose my shit. I’ve been reading installing and tweaking for 10 hours all to end up in the same spot I start from every time.

If someone could help I’d seriously be thankful.
(This was a strech install this time. Fully updated)

Code: Select all

[email protected]:~ $ curl -sSL https://install.pi-hole.net | sudo bash
stty: ‘standard input’: Inappropriate ioctl for device

[✓] Root user check

    .;;,.
    .ccccc:,.
     :cccclll:.      ..,,
      :ccccclll.   ;ooodc
       'ccll:;ll .oooodc
         .;cll.;;looo:.
             .. ','.
            .',,,,,,'.
          .',,,,,,,,,,.
        .',,,,,,,,,,,,....
      ....''',,,,,,,'.......
    .........  ....  .........
    ..........      ..........
    ..........      ..........
    .........  ....  .........
      ........,,,,,,,'......
        ....',,,,,,,,,,,,.
           .',,,,,,,,,'.
            .',,,,,,'.
              ..'''.
[✓] Disk space check
[✓] Update local cache of available packages

[✓] Checking apt-get for upgraded packages… up to date!

[i] Installer Dependency checks…
[✓] Checking for apt-utils
[i] Checking for dialog (will be installed)
[✓] Checking for debconf
[✓] Checking for dhcpcd5
[✓] Checking for git
[✓] Checking for iproute2
[✓] Checking for whiptail
[i] Using OpenDNS (ECS)
[✓] Set IP address to 192.168.0.13
You may need to restart after the install is complete
[i] IPv4 address: 192.168.0.13/24
[i] IPv6 address:
[i] Web Interface On
[i] Web Server On
[i] Logging On.
[✗] Check for existing repository in /etc/.pihole
[✓] Clone https://github.com/pi-hole/pi-hole.git into /etc/.pihole

[✗] Check for existing repository in /var/www/html/admin
[✓] Clone https://github.com/pi-hole/AdminLTE.git into /var/www/html/admin

[i] Main Dependency checks…
[✓] Checking for cron
[✓] Checking for curl
[i] Checking for dnsutils (will be installed)
[✓] Checking for iputils-ping
[i] Checking for lsof (will be installed)
[i] Checking for netcat (will be installed)
[✓] Checking for psmisc
[✓] Checking for sudo
[✓] Checking for unzip
[✓] Checking for wget
[i] Checking for idn2 (will be installed)
[i] Checking for sqlite3 (will be installed)
[✓] Checking for libcap2-bin
[i] Checking for dns-root-data (will be installed)
[i] Checking for resolvconf (will be installed)
[✓] Checking for libcap2
[i] Checking for lighttpd (will be installed)
[i] Checking for php-common (will be installed)
[i] Checking for php-cgi (will be installed)
[i] Checking for php-sqlite3 (will be installed)
[✓] Enabling lighttpd service to start on reboot…

[i] FTL Checks…

[✓] Detected ARM-hf architecture (armv6 or lower) Using ARM binary
[i] Checking for existing FTL binary…
[✗] Downloading and Installing FTL
Error: Unable to get latest release location from GitHub
[✗] FTL Engine not installed
[email protected]:~ $

pcmanbob
Posts: 6686
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Pi Hole Problems (Pi Zero W)

Sun Aug 18, 2019 1:59 pm

Assuming you have a working internet connection and not just a connection to your local network , it looks to be a problem with their github page, " Error: unable to get latest release location from github. "

you might be better asking on their support pages as they will be able to fix the page problem.

https://discourse.pi-hole.net/

https://discourse.pi-hole.net/t/pi-hole ... tall/22510
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

zrh87
Posts: 10
Joined: Sun Aug 18, 2019 1:01 pm

Re: Pi Hole Problems (Pi Zero W)

Sun Aug 18, 2019 2:10 pm

I've posted there as well. Hoping that they will have an answer. But at this point im open to anything.

zrh87
Posts: 10
Joined: Sun Aug 18, 2019 1:01 pm

Re: Pi Hole Problems (Pi Zero W)

Sun Aug 18, 2019 11:37 pm

I’ve done that still didn’t work. Tried diet pie and I just can’t get that up and running.

tigernero
Posts: 117
Joined: Fri Dec 30, 2016 5:51 pm

Re: Pi Hole Problems (Pi Zero W)

Mon Aug 19, 2019 6:55 am

But why don't you use the image of raspbian buster lite?

have introduced support for os raspbian buster

zrh87
Posts: 10
Joined: Sun Aug 18, 2019 1:01 pm

Re: Pi Hole Problems (Pi Zero W)

Mon Aug 19, 2019 11:51 am

Unless pi hole ukdated thete support page since 8/19/19 then buster isn’t supported and people have mixed results. I’ve also tried every version from Jessie to buster with none of them working.

pcmanbob
Posts: 6686
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Pi Hole Problems (Pi Zero W)

Mon Aug 19, 2019 12:43 pm

Have you tried one of the alternative install routers ?

https://docs.pi-hole.net/main/basic-install/
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

zrh87
Posts: 10
Joined: Sun Aug 18, 2019 1:01 pm

Re: Pi Hole Problems (Pi Zero W)

Mon Aug 19, 2019 1:57 pm

I’ve tried every alternative method.

Fraoch
Posts: 135
Joined: Thu Mar 07, 2013 11:53 pm
Location: Cambridge, Ontario, Canada

Re: Pi Hole Problems (Pi Zero W)

Mon Aug 19, 2019 9:45 pm

I notice that your Pi seems to have Internet access and DNS resolution because it can curl, apt-get update and git clone, and it can access Pi-hole's GitHub page because it does clone from it - it just can't get that last step. Weird.

But I do notice something else weird.
zrh87 wrote:

Code: Select all

[email protected]:~ $ curl -sSL https://install.pi-hole.net | sudo bash
stty: ‘standard input’: Inappropriate ioctl for device
"stty: ‘standard input’: Inappropriate ioctl for device" doesn't look right.

This warning is a bit cryptic and its causes are over my head, but it seems to relate to how you're accessing your Pi and permissions around doing so.

So - how are you accessing your Pi? Via SSH? If so, from what?

Direct from the console?

Can you try another way, from another device?
Pencoed-made Model 1B, Samsung memory
2B 1.1
3B+
4B 2GB

pcmanbob
Posts: 6686
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Pi Hole Problems (Pi Zero W)

Tue Aug 20, 2019 10:58 am

Reading through the tread again I see you are using sudo in you install script.

Code: Select all

[email protected]:~ $ curl -sSL https://install.pi-hole.net | sudo bash
						           ^^^^				
												   
Why ?

the install scrip is meant to be run as the pi user

Code: Select all

curl -sSL https://install.pi-hole.net | bash
no sudo no root user, use of sudo or root user will prevent the install from working correctly
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

zrh87
Posts: 10
Joined: Sun Aug 18, 2019 1:01 pm

Re: Pi Hole Problems (Pi Zero W)

Tue Aug 20, 2019 11:03 pm

Found the problem. Will try to post the fix when I get home.

zrh87
Posts: 10
Joined: Sun Aug 18, 2019 1:01 pm

Re: Pi Hole Problems (Pi Zero W)

Thu Aug 22, 2019 1:20 am

Ok so to fix this this is what I had to do.

Fresh install of rasbian stretch and go a full update.

Restart the pi and then ssh back in.

Install pihole like this:

>>> sudo su
wget -O basic-install.sh https://install.pi-hole.net
sudo bash basic-install.sh

Go through the install it’s gonna fail at the end. But you already knew that.

Pihole sets it to itself and doesn't fix it if the install fails or you uninstall it. So what you wanna do is put this into terminal:

sudo nano /etc/resolv.conf

Change 127.0.0.1 to your desired resolver either 1.1.1.1 or 8.8.8.8( just pick dosnt mater which it’s gonna be overwritten.

Once you do that you can reinstall. Make sure you save your changes tho. It’ll save even tho it says you can’t edit it.

When you rerun the install this time. It will set to the dsn you choose and fix the install and FTL will actually install at the end and the setup will finish and you should be good to go.

pcmanbob
Posts: 6686
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Pi Hole Problems (Pi Zero W)

Thu Aug 22, 2019 10:18 am

I still dont see why you are having problems with the command

Code: Select all

 curl -sSL https://install.pi-hole.net | bash
 
note no sudo

I have just tested this using raspbian stretch lite running on a pi3B and it did the full install resulting in a fully working pi hole in around 5-10 min.

Image

unless you problem is that by using a pi zero which only has 512mb of ram and having some of that set for the GPU you are not able to meet the minimum hardware specifications
Hardware

Pi-hole is very lightweight, and does not require much processing power

~52MB of free space
512MB RAM
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

Fraoch
Posts: 135
Joined: Thu Mar 07, 2013 11:53 pm
Location: Cambridge, Ontario, Canada

Re: Pi Hole Problems (Pi Zero W)

Thu Aug 22, 2019 1:15 pm

Glad it works for you, but you shouldn't have to do that.

I installed it on Raspbian Lite on my Raspberry Pi 1, then my Pi 2, then on Ubuntu Server running in a VM. It installed the same every time, following the instructions on the GitHub page, which did not use sudo.
Pencoed-made Model 1B, Samsung memory
2B 1.1
3B+
4B 2GB

zrh87
Posts: 10
Joined: Sun Aug 18, 2019 1:01 pm

Re: Pi Hole Problems (Pi Zero W)

Thu Aug 22, 2019 1:51 pm

Yea everyone keeps saying that. But fact is that’s the only way it worked.

pcmanbob
Posts: 6686
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Pi Hole Problems (Pi Zero W)

Thu Aug 22, 2019 1:55 pm

zrh87 wrote:
Thu Aug 22, 2019 1:51 pm
Yea everyone keeps saying that. But fact is that’s the only way it worked.
Out of interest do you have another model of pi with more ram you could test the install on ?
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

Andyroo
Posts: 4231
Joined: Sat Jun 16, 2018 12:49 am
Location: Lincs U.K.

Re: Pi Hole Problems (Pi Zero W)

Thu Aug 22, 2019 3:41 pm

zrh87 wrote:
Thu Aug 22, 2019 1:51 pm
Yea everyone keeps saying that. But fact is that’s the only way it worked.
Can you run

Code: Select all

cat /boot/config.txt | grep gpu
and pop the result here please?

I set all my headless Pi boards down to the bare minimum for GPU memory (16Mb) as part of the starting set up and the last two Pi-Hole installs ran fine.
Need Pi spray - these things are breeding in my house...

zrh87
Posts: 10
Joined: Sun Aug 18, 2019 1:01 pm

Re: Pi Hole Problems (Pi Zero W)

Thu Aug 22, 2019 3:53 pm

Yea I should be able to do that tonight or tomorrow. Crazy busy week at work.

How would I change my gpu like your taking about. I mean it’s always gonna run headless so it dosnt really need it right.

Also if anyone knows where’s I can get stretch lots I’d be very thankful. Unless I’m just overlooking it when I’m searching I can’t find it anywhere.

pcmanbob
Posts: 6686
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Pi Hole Problems (Pi Zero W)

Thu Aug 22, 2019 3:59 pm

zrh87 wrote:
Thu Aug 22, 2019 3:53 pm
Also if anyone knows where’s I can get stretch lots I’d be very thankful. Unless I’m just overlooking it when I’m searching I can’t find it anywhere.

https://downloads.raspberrypi.org/raspbian_lite/images/ for lite images

https://downloads.raspberrypi.org/raspbian/images/ with GUI
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

zrh87
Posts: 10
Joined: Sun Aug 18, 2019 1:01 pm

Re: Pi Hole Problems (Pi Zero W)

Thu Aug 22, 2019 4:16 pm

I would like to say thank you to all of you for responding and trying to help. It seriously is appreciated.

Pcmanbob thank you very much for the links. I just kept looking past it.

Andyroo
Posts: 4231
Joined: Sat Jun 16, 2018 12:49 am
Location: Lincs U.K.

Re: Pi Hole Problems (Pi Zero W)

Thu Aug 22, 2019 6:38 pm

For changing the GPU memory you can use

Code: Select all

sudo raspi-config
Then I think it’s Advanced Menu / Memory Split.

I set mine to 16Mb and not had any of command line programs or OS command complain over the small GPU memory.
Need Pi spray - these things are breeding in my house...

Return to “General discussion”