DietPi-Software | PiVPN

Created on 19 Nov 2016  ยท  4Comments  ยท  Source: MichaIng/DietPi

Issues reported by users:

Most helpful comment

@Fourdee

Most likely cause is selecting Yes to reboot after PiVPN installer is completed. This prevents DietPi-Software from completing the remaining installation code, which, also sets installed states at the end.

๐Ÿ’ฏ ๐Ÿ‘

Do some testing as well in the last days, but miss to write it up, with same result. Sorry.

If you choose:

pivpn

at the last install step and let dietpi-software do the build-in auto-reboot after finishing installation, all went well.

root@OPi-One:~#  dietpi-software list | grep '[[:space:]]=2'
id 3 | =2 | mc: midnight commander, powerful file manager |
id 12 | =2 | iperf: internet protocol bandwidth measuring tool |
id 13 | =2 | mtr-tiny: full screen ncurses traceroute tool |
id 15 | =2 | tcpdump: command-line network traffic analyzer |
id 17 | =2 | git client: git clone etc |
id 102 | =2 | rsyslog: system logging | 
id 103 | =2 | dietpi-ramlog: minimal, optimized logging |
id 104 | =2 | dropbear: ssh server | 
id 117 | =2 | pivpn: openvpn installer & management tool | +rsyslog | http://dietpi.com/phpbb/viewtopic.php?http://dietpi.com/phpbb/viewtopic.php?f=8&t=5&p=3469#p3469

But it is not your fault, it's a problem using default installer script.

I think, we can not do anything to prevent this, except to write a message before running installation, like you do with pihole installation for setting a static ip-address.
BTW: message/dialog for setting a static ip-address before starting installation will be likewise a good idea for pivpn. ๐Ÿ˜‰

OpenVPN repo that PiVPN adds, does not support ARM64 binaries

Not only for ARM64, repo does only support Architectures: i386 amd64

http://swupdate.openvpn.net/apt/dists/jessie/

Same as last openvpn builds: http://swupdate.openvpn.net/apt/dists/jessie-20161103104827002230280/main/

But here better redfast00 had to take a look in his installer script:
https://github.com/pivpn/pivpn/blob/master/auto_install/install.sh#L433

Only thing user can do is to delete after installation:

rm /etc/apt/sources.list.d/swupdate.openvpn.net.list

to get no more fault message every time apt-get will run ...

But over all pivpn is a nice and user friendly peace of software.
Thanks, that you put this into DietPi. ๐Ÿ˜ƒ

All 4 comments

PiVPN not showing up as installed after install:

Most likely cause is selecting Yes to reboot after PiVPN installer is completed. This prevents DietPi-Software from completing the remaining installation code, which, also sets installed states at the end.

W: Failed to fetch http://swupdate.openvpn.net/apt/dists/jessie/Release Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)

Known issue with ARM64. OpenVPN repo that PiVPN adds, does not support ARM64 binaries (yet). However, installation will still continue using the standard Debian repo for package installation.

PiVPN fails to install

  • C2 ๐Ÿˆฏ๏ธ

@Fourdee

Most likely cause is selecting Yes to reboot after PiVPN installer is completed. This prevents DietPi-Software from completing the remaining installation code, which, also sets installed states at the end.

๐Ÿ’ฏ ๐Ÿ‘

Do some testing as well in the last days, but miss to write it up, with same result. Sorry.

If you choose:

pivpn

at the last install step and let dietpi-software do the build-in auto-reboot after finishing installation, all went well.

root@OPi-One:~#  dietpi-software list | grep '[[:space:]]=2'
id 3 | =2 | mc: midnight commander, powerful file manager |
id 12 | =2 | iperf: internet protocol bandwidth measuring tool |
id 13 | =2 | mtr-tiny: full screen ncurses traceroute tool |
id 15 | =2 | tcpdump: command-line network traffic analyzer |
id 17 | =2 | git client: git clone etc |
id 102 | =2 | rsyslog: system logging | 
id 103 | =2 | dietpi-ramlog: minimal, optimized logging |
id 104 | =2 | dropbear: ssh server | 
id 117 | =2 | pivpn: openvpn installer & management tool | +rsyslog | http://dietpi.com/phpbb/viewtopic.php?http://dietpi.com/phpbb/viewtopic.php?f=8&t=5&p=3469#p3469

But it is not your fault, it's a problem using default installer script.

I think, we can not do anything to prevent this, except to write a message before running installation, like you do with pihole installation for setting a static ip-address.
BTW: message/dialog for setting a static ip-address before starting installation will be likewise a good idea for pivpn. ๐Ÿ˜‰

OpenVPN repo that PiVPN adds, does not support ARM64 binaries

Not only for ARM64, repo does only support Architectures: i386 amd64

http://swupdate.openvpn.net/apt/dists/jessie/

Same as last openvpn builds: http://swupdate.openvpn.net/apt/dists/jessie-20161103104827002230280/main/

But here better redfast00 had to take a look in his installer script:
https://github.com/pivpn/pivpn/blob/master/auto_install/install.sh#L433

Only thing user can do is to delete after installation:

rm /etc/apt/sources.list.d/swupdate.openvpn.net.list

to get no more fault message every time apt-get will run ...

But over all pivpn is a nice and user friendly peace of software.
Thanks, that you put this into DietPi. ๐Ÿ˜ƒ

@k-plan

rm /etc/apt/sources.list.d/swupdate.openvpn.net.list

This is now removed during dietpi-software uninstall.

I've also disabled PiVPN from rebooting system. Should prevent a incomplete DietPi-Software install with our users.

Marking as completed.

@Fourdee

I've also disabled PiVPN from rebooting system. Should prevent a incomplete DietPi-Software install with our users.

Tested now with v138 and it will work. Well done, nice job. ๐Ÿ‘

rm /etc/apt/sources.list.d/swupdate.openvpn.net.list
This is now removed during dietpi-software uninstall.

hmm, it will be a good idea (better), to do this direct after installation on ARM devices, before dietpi-software will force a auto reboot. Because now you will get error messages on every apt-get update run.

W: Failed to fetch http://swupdate.openvpn.net/apt/dists/jessie/Release Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)

But it's a failure of PiVPN installer, not from DietPi. Only a "_work around_" to get off this annoying error messages.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bhaveshgohel picture bhaveshgohel  ยท  3Comments

k-plan picture k-plan  ยท  3Comments

aesirteam picture aesirteam  ยท  3Comments

Invictaz picture Invictaz  ยท  3Comments

1021683053 picture 1021683053  ยท  3Comments