My normal upgrade path is to download the latest package for my OS and install via dpkg.
Whilst trying to do this with version 2.9.2 I get the following errors:
Code: Select all
Setting up openvpn-as (2.9.2-04614689-Ubuntu18) ...
Backing up configuration and DB files to /usr/local/openvpn_as/etc/backup/2021-08-01T10:45:53+01:00 before update.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "<frozen zipimport>", line 241, in load_module
File "<frozen zipimport>", line 721, in _get_module_code
zipimport.ZipImportError: can't find module 'pyovpn'
If I do a locate on pyovpn I get the following:
Code: Select all
# locate pyovpn
/usr/local/lib/python3.8/dist-packages/pyovpn_as
/usr/local/lib/python3.8/dist-packages/pyovpn_as-0.0.6.dist-info
/usr/local/lib/python3.8/dist-packages/pyovpn_as/__init__.py
Strikes me more a Python issue than an OpenVPN issue, however If I try version 2.8.7 it will install fine, so perhaps the issue is with the particular package.
Unfortunately the 2.8.7 package is no longer on my machine, some over zealous clean up saw it deleted. So I have a broken OpenVPN AS server at the moment.
So I am wondering does anyone have any input on the above errors or failing that a means to download the 2.8.7 package? I've tried looking for it but not coming up with much.
Thanks in advance,
R.