If i run pivpn on an odroid n2 plus i get this error? can anybody help?
curl -L https://install.pivpn.io | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 162 100 162 0 0 346 0 --:--:-- --:--:-- --:--:-- 346
100 83358 100 83358 0 0 14492 0 0:00:05 0:00:05 --:--:-- 19790
:::
::: You are root.
::: Hostname length OK
::: Verifying free disk space...
:::
::: Package Cache update is needed, running apt-get update -y ...
done!
:::
::: Checking apt-get for upgraded packages.... done!
:::
::: Your system is up to date! Continuing with PiVPN installation...
::: Checking for git... already installed!
::: Checking for tar... already installed!
::: Checking for wget... already installed!
::: Checking for curl... already installed!
::: Checking for grep... already installed!
::: Checking for dnsutils... already installed!
::: Checking for whiptail... already installed!
::: Checking for net-tools... already installed!
::: Checking for bsdmainutils... already installed!
::: Checking for iptables-persistent... already installed!
::: Using interface: eth0
::: Using User: dietpi
:::
::: Checking for existing base files...
::: Checking /usr/local/src/pivpn is a repo... OK!
::: Updating repo in /usr/local/src/pivpn... done!
::: Using VPN: OpenVPN
::: Installing OpenVPN from Debian package...
::: Checking for openvpn... not installed!
::: Checking for grepcidr... already installed!
::: Checking for expect... already installed!
::: Failed to install openvpn!
Reading package lists...
Building dependency tree...
Reading state information...
openvpn is already the newest version (2.4.7-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up openvpn (2.4.7-1) ...
Can't locate object method "new" via package "Text::Iconv" (perhaps you forgot to load "Text::Iconv"?) at /usr/share/perl5/Debconf/Encoding.pm line 65.
dpkg: error processing package openvpn (--configure):
installed openvpn package post-installation script subprocess returned error exit status 29
Errors were encountered while processing:
openvpn
E: Sub-process /usr/bin/dpkg returned an error code (1)
pivpn odroidn2+ Topic is solved
Re: pivpn odroidn2+
Hi,
can you have a look how it behave installing OpenVPN directly
can you have a look how it behave installing OpenVPN directly
apt install openvpn
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: pivpn odroidn2+
that worked, but i like the pivpn add user to easy adds a user
Re: pivpn odroidn2+
pls run
dietpi-software install 117
nowPls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: pivpn odroidn2+
same error
│ Setting up openvpn (2.4.7-1) ...^M
│ Can't locate object method "new" via package "Text::Iconv" (perhaps you
│ forgot to load "Text::Iconv"?) at /usr/share/perl5/Debconf/Encoding.pm line
│ 65.^M
│ dpkg: error processing package openvpn (--configure):^M
│ installed openvpn package post-installation script subprocess returned
│ error exit status 29^M
│ Setting up tcl-expect:arm64 (5.45.4-2) ...^M
│ Setting up expect (5.45.4-2) ...^M
│ Processing triggers for systemd (241-7~deb10u6) ...^M
│ Processing triggers for libc-bin (2.28-10) ...^M
│ Errors were encountered while processing:^M
│ openvpn^M
│ E: Sub-process /usr/bin/dpkg returned an error code (1)
│ Setting up openvpn (2.4.7-1) ...^M
│ Can't locate object method "new" via package "Text::Iconv" (perhaps you
│ forgot to load "Text::Iconv"?) at /usr/share/perl5/Debconf/Encoding.pm line
│ 65.^M
│ dpkg: error processing package openvpn (--configure):^M
│ installed openvpn package post-installation script subprocess returned
│ error exit status 29^M
│ Setting up tcl-expect:arm64 (5.45.4-2) ...^M
│ Setting up expect (5.45.4-2) ...^M
│ Processing triggers for systemd (241-7~deb10u6) ...^M
│ Processing triggers for libc-bin (2.28-10) ...^M
│ Errors were encountered while processing:^M
│ openvpn^M
│ E: Sub-process /usr/bin/dpkg returned an error code (1)
Re: pivpn odroidn2+
root@DietPi:~# pivpn add
-bash: pivpn: command not found
-bash: pivpn: command not found
Re: pivpn odroidn2+
it doesn't make sense to run the PiVPN tool if installation did not complete. 
Maybe an issue with PiVPN. I recall they had some iusses on 64bit bit I'm not 100 sure. Will run a test installation on my RPi4B 64bit test system

Maybe an issue with PiVPN. I recall they had some iusses on 64bit bit I'm not 100 sure. Will run a test installation on my RPi4B 64bit test system
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: pivpn odroidn2+
i run it on my raspberry pi 4 b yesterday and it worked... no problems at all so its got something to do with odoid?
thnx for your help
thnx for your help
Re: pivpn odroidn2+
indeed the PiPVPN installer seems to have an issue to install OpenVPN correctly. as the installer is not done by us, it's quite challenging to work around.
Anyway I was able to complete the setup. As soon as I get hit by the error, the error handle screen showed up. On the bottom of the info box, you have a small menu with a couple of options. I selected to open a sub shell. This will keep me inside the installation process but I get a new CLI to get OpenVPN fixed. I was running
Anyway I was able to complete the setup. As soon as I get hit by the error, the error handle screen showed up. On the bottom of the info box, you have a small menu with a couple of options. I selected to open a sub shell. This will keep me inside the installation process but I get a new CLI to get OpenVPN fixed. I was running
apt install --reinstall openvpn
inside the sub shell. Once installation of OpenVPN succeed, I exit
the sub shell and re-run
the failed PiVPN installation from the error screen. At lest in my case, PiVPN installer detected OpenVPN now and continue the setup.Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team