Having a hell of a time setting up PiVPN today. It seems to install, but when I get the setup screen and am going through the network config part in the beginning, it tells me “PiVPN setup was not successful. Do you want DietPi to run the setup again?” and keeps looping each time it gets to that screen. Here’s the error (I think):
DietPi-Software
─────────────────────────────────────────────────────
Mode: Install software
Please wait…
PiVPN: openvpn installer & management tool
[Info] Please wait…
processing | D i e t P i
[Info] Testing connection to https://install.pivpn.io
[Info] Max duration of 20 seconds, please wait…
[Ok] Connection test | Completed
Reading package lists… Done
Building dependency tree
Reading state information… Done
lsb-release is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
useradd: user ‘pivpn’ already exists
converted ‘https://install.pivpn.io’ (ANSI_X3.4-1968) → ‘https://install.pivpn.io’ (UTF-8)
–2016-12-02 20:28:41-- https://install.pivpn.io/
Resolving install.pivpn.io (install.pivpn.io)… 71.19.155.138
Connecting to install.pivpn.io (install.pivpn.io)|71.19.155.138|:443… connected.
HTTP request sent, awaiting response… 301 Moved Permanently
Location: https://raw.githubusercontent.com/pivpn/pivpn/master/auto_install/install.sh [following]
converted ‘https://raw.githubusercontent.com/pivpn/pivpn/master/auto_install/install.sh’ (ANSI_X3.4-1968) → ‘https://raw.githubusercontent.com/pivpn/pivpn/master/auto_install/install.sh’ (UTF-8)
–2016-12-02 20:28:41-- https://raw.githubusercontent.com/pivpn/pivpn/master/auto_install/install.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.48.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.48.133|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 43068 (42K) [text/plain]
Saving to: ‘pivpn_install.sh’
pivpn_install.sh 100%[=============================================================================================>] 42.06K --.-KB/s in 0.007s
2016-12-02 20:28:41 (6.23 MB/s) - ‘pivpn_install.sh’ saved [43068/43068]
:::
::: You are root.
:::
::: Checking apt-get for upgraded packages… done!
:::
::: Your pi is up to date! Continuing with PiVPN installation…
:::
::: Checking dependencies:
::: Checking for openvpn… Not found! Installing… [|] perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en_GB.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”). [/] locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory done!
::: Checking for easy-rsa… already installed!
::: Checking for git… already installed!
::: Checking for iptables-persistent… already installed!
::: Checking for dnsutils… already installed!
::: Checking for expect… already installed!
::: Checking for whiptail… already installed!
::: Verifying free disk space…
::: Using interface: eth0
::: Critical: Unable to locate configuration file to set static IPv4 address!
converted ‘https://install.pivpn.io’ (ANSI_X3.4-1968) → ‘https://install.pivpn.io’ (UTF-8)
–2016-12-02 20:31:55-- https://install.pivpn.io/
Resolving install.pivpn.io (install.pivpn.io)… 71.19.155.138
Connecting to install.pivpn.io (install.pivpn.io)|71.19.155.138|:443… connected.
HTTP request sent, awaiting response… 301 Moved Permanently
Location: https://raw.githubusercontent.com/pivpn/pivpn/master/auto_install/install.sh [following]
converted ‘https://raw.githubusercontent.com/pivpn/pivpn/master/auto_install/install.sh’ (ANSI_X3.4-1968) → ‘https://raw.githubusercontent.com/pivpn/pivpn/master/auto_install/install.sh’ (UTF-8)
–2016-12-02 20:31:55-- https://raw.githubusercontent.com/pivpn/pivpn/master/auto_install/install.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.48.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.48.133|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 43068 (42K) [text/plain]
Saving to: ‘pivpn_install.sh’
pivpn_install.sh 100%[=============================================================================================>] 42.06K --.-KB/s in 0.009s
2016-12-02 20:31:55 (4.72 MB/s) - ‘pivpn_install.sh’ saved [43068/43068]
:::
::: You are root.
:::
::: Checking apt-get for upgraded packages… done!
:::
::: Your pi is up to date! Continuing with PiVPN installation…
:::
::: Checking dependencies:
::: Checking for openvpn… already installed!
::: Checking for easy-rsa… already installed!
::: Checking for git… already installed!
::: Checking for iptables-persistent… already installed!
::: Checking for dnsutils… already installed!
::: Checking for expect… already installed!
::: Checking for whiptail… already installed!
::: Verifying free disk space…
::: Using interface: eth0
::: Critical: Unable to locate configuration file to set static IPv4 address!