You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i see that the install script can download github. When running the command manualy i find a double problem. Git does not like to run as root, but /etc/.pivpn cannot be created without being root.
curl -L https://install.pivpn.io | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 178 100 178 0 0 197 0 --:--:-- --:--:-- --:--:-- 197
100 51064 100 51064 0 0 46741 0 0:00:01 0:00:01 --:--:-- 46741
:::
::: You are root.
::: Verifying free disk space...
:::
::: Checking apt-get for upgraded packages.... done!
:::
::: Your system is up to date! Continuing with PiVPN installation...
::: Static IP already configured.
::: Using User: pi
:::
::: Checking for existing base files...
::: Checking /etc/.pivpn is a repo...::: Cloning https://github.com/pivpn/pivpn.git into /etc/.pivpn... done!
:::
::: Stopping OpenVPN service... done.
:::
::: Installing scripts to /opt/pivpn...cp: cannot stat ‘/etc/.pivpn/scripts/makeOVPN.sh’: No such file or directory
::: Install Complete...
::: Restarting services...
Synchronizing state for openvpn.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d openvpn defaults
Executing /usr/sbin/update-rc.d openvpn enable
::: done.
:::
::: Installation Complete!
::: Now run 'pivpn add' to create an ovpn profile for each of your devices.
::: Run 'pivpn help' to see what else you can do!
::: It is strongly recommended you reboot after installation.
:::
::: The install log is located at: /etc/pivpn/install.log
Have you taken any steps towards solving your issue?
which?
Yes, download gitrepo into /home/pi/.pivpn (im using a Pi, "Raspbian GNU/Linux 8 (jessie)") , then copy the contents into /etc/.pivpn/ and run the script again as root. That did the trick for me.
The text was updated successfully, but these errors were encountered:
PiVPN Issue Template
i see that the install script can download github. When running the command manualy i find a double problem. Git does not like to run as root, but /etc/.pivpn cannot be created without being root.
$ sudo git clone https://github.com/pivpn/pivpn.git /etc/.pivpn
Please run git without sudo, your regular user account is enough :)
$ git clone https://github.com/pivpn/pivpn.git /etc/.pivpn
fatal: could not create work tree dir '/etc/.pivpn'.: Permission denied
Have you searched for similar issues and solutions?
Yes,
#153
#345
Console output of
curl -L install.pivpn.io | bash
Console Output of
sudo iptables -t nat -S
output of
sudo netstat -uanp | grep openvpn
Have you taken any steps towards solving your issue?
Yes, download gitrepo into /home/pi/.pivpn (im using a Pi, "Raspbian GNU/Linux 8 (jessie)") , then copy the contents into /etc/.pivpn/ and run the script again as root. That did the trick for me.
The text was updated successfully, but these errors were encountered: