Client Files not found

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
thebaz67
OpenVpn Newbie
Posts: 3
Joined: Thu May 27, 2021 3:04 pm

Client Files not found

Post by thebaz67 » Thu May 27, 2021 3:09 pm

Just run in to an issue on a migration to a new 20.04 server.

I was able to install the openvpn-as server and migrate all the settings from the old server however when I go to download the connect client i get a message that the client is unavailable on the server.

I searched the forum and found the suggestion to install the openvpn-as client bundle but according to the server the latest version is installed.

how to I point the as server to the client install files?

thanks,

thebaz67
OpenVpn Newbie
Posts: 3
Joined: Thu May 27, 2021 3:04 pm

Re: Client Files not found

Post by thebaz67 » Thu May 27, 2021 7:19 pm

After some additional research I forced the reinstall of the client bundle and I am going to test that... At least the etc\exe directory is no longer empty

thebaz67
OpenVpn Newbie
Posts: 3
Joined: Thu May 27, 2021 3:04 pm

Re: Client Files not found

Post by thebaz67 » Thu May 27, 2021 7:48 pm

That seemed to have solved the issue of the missing client install files. I am not certain how they went missing but the forced reinstall did the trick.

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1333
Joined: Tue Feb 16, 2021 10:41 am

Re: Client Files not found

Post by openvpn_inc » Mon May 31, 2021 5:13 am

Hello thebaz67,

Sometimes the method used to migrate data over can be the cause of such a problem. For example if you migrate the entire /usr/local/openvpn_as/ directory as a whole from the old server to the new server. That could confuse package managers when installing programs that are in that same directory - they might go 'oh the directory is already there' and not do their tasks. And in the past, with older Access Servers, that directory contained different things (only connect v2, and not connect v2 + connect v3). So you might have ended up with an inconsistent state for that directory when going to a newer version of AS. There may also be other ways it got messed up. I'm glad you were able to find the solution here on this forum. It is fortunately something that is relatively easy to resolve if those files are missing for some reason or another.

Just for reference, here is the guide on how to migrate data from one Access Server installation to another. It might help someone else to avoid a similar issue, possibly:
https://openvpn.net/vpn-server-resource ... tallation/

And for future readers with the exact same problem, here's a way to force a reinstall of the openvpn-as-bundled-clients package on an already installed Access Server that runs on Ubuntu/Debian (as root user):
apt --reinstall install openvpn-as-bundled-clients

Kind regards,
Johan
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

Post Reply