-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues running on Arch Linux #137
Comments
I believe you meant install script instead. Fixed in 3ecf053.
Added Tagging #136 as something similar was requested there. |
Thanks for the quick response! FYI only: for posterity, here are all the commands I used to successfully install & run it (note: I'm not using docker) on Arch Linux (and/or for pihole standalone as opposed to pihole server, if it makes any difference) after I had installed & configured pihole standalone. It includes the two workarounds. I only did the workarounds today though, so I haven't had time to evaluate whether my adlists/whitelists/regex blacklists are blocking stuff that I intend to use.
|
I'm curious: does the Pi-hole official installer not work on Arch? |
I haven't tried - I followed the official instructions for Arch Linux at https://wiki.archlinux.org/title/Pi-hole but I didn't need pihole's server nor GUI so (in true Arch Linux fashion...) I installed the pihole standalone variant using the instructions on that page. For packages, I tend to follow the Arch-specific instructions if Arch Linux has a page about a package. Some other feedback/queries based on my experience installing for pihole standalone (on Arch Linux) in case you're interested:
|
I've seen people using my tool just to add the lists in bulk in the past and sync it from time to time manually or those who want to keep the original schedule.
No matter what system you're using Pi-hole installer installs a crontab file at |
So the "Disable default gravity update schedule" section is optional, not required? I gather that "pihole standalone" is an Arch alteration of pihole for a standalone PC, and doesn't use cron. So, it's not really "pihole" as such and I wouldn't expect |
Is not required, but recommended as there is no point in running gravity update twice in two days. These are the default crontab entries: https://github.com/pi-hole/pi-hole/blob/master/advanced/Templates/pihole.cron |
I had to do the following two workarounds in order to successfully run it on Arch Linux:
sudo pihole-updatelists
assumes that the directory/etc/bash_completion.d
already exists. I had to create it (I didsudo mkdir /etc/bash_completion.d
), otherwise it fails with an error message about it when I run it. Maybe it should create it if it doesn't already exist?sudo pihole-updatelists
fails with an error message on my OS (Arch Linux) because it assumespihole
exists at/usr/local/bin/pihole
. On my OS (Arch Linux), it exists at/usr/bin/pihole
, not/usr/local/bin/pihole
. To work around this, I didsudo ln -s /usr/bin/pihole /usr/local/bin/pihole
. I'm not sure if this way was the proper/best way to work around it, so I'm not sure what the best way to solve this inpihole-updatelists
would be?After I made those two changes, it started working.
If it matters, FYI I'm using pi-hole-standalone which I installed via the instructions at https://wiki.archlinux.org/title/Pi-hole.
Thanks for writing/maintaining this great tool - it's just what I wanted and seems to be working fine after the workarounds.
The text was updated successfully, but these errors were encountered: