Upgrade openVPN access server from 2.7.4 to 2.9.2

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
sreedhar.kalidindi@servicemax.com
OpenVpn Newbie
Posts: 1
Joined: Tue Mar 30, 2021 4:56 am

Upgrade openVPN access server from 2.7.4 to 2.9.2

Post by sreedhar.kalidindi@servicemax.com » Thu Jul 15, 2021 3:30 am

Friends
We are planning to upgrade openVPN access server from 2.7.4 to 2.9.2 . Is there any process available ? . Cam I do upgrade on existing 2.7.4 nodes ?

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

Re: Upgrade openVPN access server from 2.7.4 to 2.9.2

Post by openvpn_inc » Thu Jul 15, 2021 10:08 am

Hi There,

Yes you can initiate the upgrade from that version.
We provide detailed instructions for upgrading to the latest version of Access Server here:

Keeping OpenVPN Access Server updated: https://openvpn.net/vpn-server-resource ... r-updated/

Generally, the process of upgrading involves using the package manager in the operating system to release any present hold on the package ‘openvpn-as’, instructing it to get the latest version, and installing it. Your settings and licenses remain intact during this process.
This process holds true for Access Server version 2.7.5 and above.

For Access Servers running versions older than 2.7.5, the software repository was not yet the default installation method. Since this was a fairly long time ago, you should first check your operating system version to see if it’s still supported before trying to upgrade. You can find our supported operating systems here: OpenVPN Access Server system requirements: https://openvpn.net/vpn-server-resource ... uirements/

Just in case you encounter this message "OpenVPN Access Server will not upgrade: packages have been held/kept back", and the Access Server was not upgraded. It is possible the package was put on hold on purpose or it was held back for other reasons by the package manager like a dependency conflict. Our official OpenVPN Access Server deployment images have put the openvpn-as package on hold by default. Our upgrade guide contains more information on this.

Resolution:

The following commands remove the hold on the openvpn-as package, retrieve information on latest available packages, and then upgrade them, and finally put the hold back in place:

Code: Select all

sudo su
apt-mark unhold openvpn-as
apt-get update
apt-get upgrade
apt-mark hold openvpn-as
If after doing the above you still see the message that openvpn-as is held back, it may be related to dependencies that need to be updated as well. You may then try these commands next :

Code: Select all

sudo su
apt-mark unhold openvpn-as
apt-get --with-new-pkgs upgrade
apt-mark hold openvpn-as
If the upgrade process still did not succeed, then please open a support ticket at https://openvpn.net/us2/support-center.php, and describe what you have tried, and we will assist you further with this issue.
sreedhar.kalidindi@servicemax.com wrote:
Thu Jul 15, 2021 3:30 am
Friends
We are planning to upgrade openVPN access server from 2.7.4 to 2.9.2 . Is there any process available ? . Cam I do upgrade on existing 2.7.4 nodes ?

Regards,
Crowley
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