-
Notifications
You must be signed in to change notification settings - Fork 673
Description
In raising this issue I confirm that
- I have read the documentation
- I have read and understood the PiVPN General Guidelines
- I have read and understood the PiVPN Troubleshooting Guidelines
- The issue I am reporting isn't a duplicate, see closed issues and open issues.
- I have searched for similar issues and solutions
- I can replicate the issue even after a clean OS installation
Describe the issue
During installation via
curl -L https://raw.githubusercontent.com/pivpn/pivpn/master/auto_install/install.sh | bash
the identificaction of pihole version fails and therefore the wrong branch in the if/else-statment is choosen
Processing triggers for man-db (2.11.2-2) ...
::: Package wireguard-tools successfully installed!
::: Package qrencode successfully installed!
main: line 2363: /etc/pihole/versions: Permission denied
Usage: pihole [options]
Example: 'pihole allow -h'
Add '-h' after specific commands for more information on usage
The command in line 2363 is
CORE_VERSION="$(source "$piholeVersions" && echo "${CORE_VERSION}")"
with $piholeVersions set to
/etc/pihole/versions"
Expected behavior
Identify PiHole version 6 and follow if/else-statment accordingly
Please describe the steps to replicate the issue
Install PiHole version 6 (v6.0.5)
Start installation of PiVPN via curl -L https://raw.githubusercontent.com/pivpn/pivpn/master/auto_install/install.sh | bash
Accept all the defaults
Have you taken any steps towards solving your issue?
Changing the line 2363 in install.sh to
CORE_VERSION="$(source <(${SUDO} cat "$piholeVersions") && echo "${CORE_VERSION}")"
Screenshots
No response
Where did you run pivpn?
RaspberryPi
Please provide your output from uname -a
6.6.51+rpt-rpi-v6 #1 Raspbian 1:6.6.51-1+rpt3 (2024-10-08) armv6l GNU/Linux
Details about Operative System
PRETTY_NAME="Raspbian GNU/Linux 12 (bookworm)"
NAME="Raspbian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"