pivpn / pivpn

The Simplest VPN installer, designed for Raspberry Pi
https://pivpn.io
MIT License
7.28k stars 641 forks source link

[Install Failed]: fails on "using VPN: WireGuard" and simply hangs forever, no error output #1808

Closed 1butterball1 closed 10 months ago

1butterball1 commented 10 months ago

In raising this issue I confirm that

Describe the issue

This is a fresh raspberry pi os install on a pi4 8gb model with nothing installed except it being up to date and docker installed. The script simply hangs after selecting wireguard as the preferred vpn. I am aware of a screenshot taken on a mac which seems to show the same problem on a closed issue, but there was no solution posted there. There doesn't seem to be anything within the docs about the problem either (unless I am misreading something). The previously mentioned closed post said something about octopi and the docs mention a conflict of git wrappers, but octopi is not installed (this is a clean, fresh install with nothing running except the basic defaults on raspberry pi os lite, bookworm with ssh enabled and docker installed).

Since there is a containerized version in the works, I am assuming docker doesn't conflict with anything.

EDIT: a fresh install without docker also produces the same error. EDIT2: the aforementioned closed post with no solution is here https://github.com/pivpn/pivpn/issues/1704

Expected behavior

script completes or outputs an error code when it fails.

Please describe the steps to replicate the issue

fresh install of latest raspberypi os lite using the pi installer, ssh into pi, sudo -i apt update apt upgrade curl -sSL https://get.docker.com | sh curl -L https://install.pivpn.io | bash

Have you taken any steps towards solving your issue?

Its hanging somewhere after line 1676 (I think) under auto_install/install.sh but I do not have a proposed solution yet and there doesn't seem to be any obvious "get stuck here if wrong var" type of loop prior to the next expected output to the user so I am unsure as to what the problem is.

Going the gitclone rout and running install.sh also produces the same error.

If it helps, the data generated in /tmp/setupVars.conf is as follows:

PLAT=Debian OSCN=bookworm USING_UFW=0 pivpnforceipv6route=1 IPv4dev=eth0 dhcpReserv=1 IPv4addr=10.0.0.3/8 IPv4gw=10.0.0.1 install_user=wgtest install_home=/home/wgtest VPN=wireguard

Screenshots

No response

Where did you run pivpn?

RaspberryPi

Please provide your output from uname -a

Linux wgtest 6.1.0-rpi7-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux

Details about Operative System

PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_ID="12" VERSION="12 (bookworm)" VERSION_CODENAME=bookworm ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"

orazioedoardo commented 10 months ago

Duplicate of https://github.com/pivpn/pivpn/issues/1518