Gagateway3 2 0 Upgrade Guide
Gagateway3 2 0 Upgrade Guide
Upgrade Guide
3.2.0
Copyright Terms and Conditions
Copyright © Fortra, LLC and its group of companies. All trademarks and registered trademarks are the property of their respective
owners.
The content in this document is protected by the Copyright Laws of the United States of America and other countries worldwide. The
unauthorized use and/or duplication of this material without express and written permission from Fortra is strictly prohibited. Excerpts and
links may be used, provided that full and clear credit is given to Fortra with appropriate and specific direction to the original content.
202409251039
Table of Contents
Upgrade Process 5
3.2.0 Upgrade 6
3.1.0 Upgrade 7
System Requirements 8
License Prerequisite 11
Upgrading on Windows 13
Upgrading on Docker 17
Miscellaneous Commands 18
Upgrade GoAnywhere
Gateway
This guide outlines the steps required for upgrading GoAnywhere Gateway to the latest
version.
Upgrade Process
An upgrade script (program) is available which will perform all the necessary steps to
upgrade GoAnywhere Gateway. Download the latest upgrade script by visiting the
GoAnywhere Customer Portal at https://my.goanywhere.com.
For more information, please consult the GoAnywhere Gateway User Guide and review the
section for Reverse Proxy Element: proxyProtocol.
l licenseProxy
l privateKeyStore
l server
l termination
l trustKeyStore
See the Gateway Server Configuration section in the GoAnywhere User Guide for more
information.
3.1.0 Upgrade
NOTE: You must be on Gateway version 3.0.1 or greater to upgrade to Gateway 3.1.0.
1. Go to your Gateway install directory, find the file named gagateway, and remove
the VM Option: -XX:-UseVMInterruptibleIO
4. Find the file named gagatewayd and remove the VM Option: -XX:-
UseVMInterruptibleIO
System Requirements
GoAnywhere Gateway installs to all popular enterprise server operating systems. Listed
below are the supported operating systems and minimum hardware/software requirements
for installing GoAnywhere Gateway.
Windows® (64-bit)
Windows 8®
Windows 10®
Windows 11®
Linux® (64-bit)
Docker
NOTE:
Docker Compose is included by default with Docker
Desktop for Windows. It is a separate install for
Mac and Linux.
The portal can be accessed by using your internet browser and navigating to
https://my.goanywhere.com
Depending on how many versions behind your GoAnywhere Gateway install is, you may
need to repeat the upgrade process until you are upgraded to the current version of 3.2.0.
License Prerequisite
If you are upgrading GoAnywhere Gateway from version 2.2.0 or earlier, a new license key
is required. The license key is issued through the GoAnywhere Customer Portal.
During the upgrade, you will be presented with a base 64 encoded license bundle
(example below) that will be used to upgrade your existing license. Follow the instructions
to activate your license.
Once your license is activated on the Customer Portal, download the license to your
workstation by clicking the Download button. You can also download the license at any
time by expanding the Active license row and clicking the Download button under the
license key.
Once the gateway.lic file is downloaded, copy the file to the installation directory on the
GoAnywhere Gateway server that produced the license activation request.
Windows Example
l Installation Directory: C:\Program Files\HelpSystems\GoAnywhere Gateway
l License File Location: C:\Program Files\HelpSystems\GoAnywhere
Gateway\gateway.lic
Linux/Unix Example
l Installation Directory: /usr/local/HelpSystems/GoAnywhere_Gateway
l License File Location: /usr/local/HelpSystems/GoAnywhere_Gateway/gateway.lic
Docker Instructions
l Copy the license key into the target Docker container, into the correct directory,
using the command: docker cp gateway.lic <container id or
name>:/usr/local/HelpSystems/GoAnywhere_Gateway/.
Once the license has been placed in the correct installation directory, you must stop and
then start the GoAnywhere Gateway service.
The activated license exclusively belongs to the GoAnywhere Gateway installation that
produced the activation request. It cannot be used to upgrade or run any other install of
GoAnywhere Gateway.
Upgrading on Windows
Before you begin, we recommend creating backups or VM snapshots of any GoAnywhere
MFT or Gateway servers. Consider testing an upgrade in your development environment
prior to upgrading your production environment.
2. Remove the version number from the file name (for example, gagateway_
upgrade3_2_0.jar would be renamed to gagateway_upgrade.jar).
3. Copy the upgrade file from the download location to the Windows system where
GoAnywhere Gateway is installed. The location to copy the file is [Install
Directory]\upgrader. The default installation directory is C:\Program
Files\HelpSystems\GoAnywhere Gateway.
NOTE:
You must run the Command Prompt window as administrator to run the Upgrade.bat
file.
7. Run the upgrade.bat file to perform the upgrade. A message on the screen
confirms the upgrade success.
If you are upgrading from GoAnywhere Gateway 2.2.0 or earlier, you will be
presented with a License Activation request (see License Prerequisite ). Use this
request to activate and install your GoAnywhere Gateway license. Once installed,
run the upgrade again.
Perform the following steps as a root user to upgrade GoAnywhere Gateway running on a
Linux or UNIX-based platform.
2. Remove the version number from the file name (for example, gagateway_
upgrade3_2_0.jar would be renamed to gagateway_upgrade.jar).
3. Copy the upgrade file from the download location to the Windows system where
GoAnywhere Gateway is installed. The location to copy the file is [Install
Directory]\upgrader. The default installation directory is
/usr/local/HelpSystems/GoAnywhere_Gateway.
5. Change from the working directory to the upgrader folder, located in the
GoAnywhere Gateway installation folder. For example:
/usr/local/HelpSystems/GoAnywhere_Gateway/upgrader.
6. From a terminal screen, run the ./upgrade.sh script to perform the upgrade. A
message on the screen confirms the upgrade success.
If you are upgrading from GoAnywhere Gateway 2.2.0 or earlier, you will be
presented with a License Activation request (see License Prerequisite ). Use this
request to activate and install your GoAnywhere Gateway license. Once installed,
run the upgrade again.
Upgrading on Docker
Use the following instructions to upgrade GoAnywhere Gateway on Docker. Be sure to
complete each step before proceeding:
1. Sign into the GoAnywhere MFT browser-based Administrator and verify that there
are no critical operations underway before proceeding with the Docker upgrade.
NOTE:
If not using Docker Compose, you'll need to copy the license from the old
container or host machine into the new directory, using the command:
docker cp gateway.lic <container id or
name>:/usr/local/HelpSystems/GoAnywhere_Gateway/.
Alternatively, you can re-download and apply the license. See the
GoAnywhere Gateway User Guide for details.
Miscellaneous Commands
Display GoAnywhere Gateway's Version
Perform the following steps to display the installed version of GoAnywhere Gateway:
Starting GoAnywhere
Gateway
The instructions for starting GoAnywhere Gateway depends on the operating system.
Perform the steps in the appropriate section to start GoAnywhere Gateway.
Windows
1. Log in to the target Windows system where GoAnywhere Gateway is installed.
Docker
Starting the Docker container where GoAnywhere Gateway is installed will also start
GoAnywhere Gateway.
Stopping GoAnywhere
Gateway
The instructions for stopping GoAnywhere Gateway depends on the operating system.
Perform the steps in the appropriate section to stop GoAnywhere Gateway.
Windows
1. Log in to the target Windows system where GoAnywhere Gateway is installed.
Docker
1. Determine the container name or ID.
Downgrading
GoAnywhere Gateway
When an upgrade is performed, the upgrade process makes a backup of folders and files
that are changed during upgrade. These files are placed in
[installfolder]/backups/backup_[fromVersion]_[toVersion] (where [installfolder] is the
location where GoAnywhere Gateway is installed).
The backup folder names contain the existing and new version numbers of GoAnywhere
Gateway. For example, the 'backup_301_to_ 310' folder contains the files that were
backed up when GoAnywhere Gateway was upgraded from version 3.0.1 to version 3.1.0.
NOTE: If the upgrade fails before the backup directory is successfully created, then no
changes will be made and you can restart GoAnywhere Gateway.
The upgrade creates an upgrade log, which displays the location of the backup folder.
Example of the upgrade log:
When the rollback is performed. The rollback returns GoAnywhere Gateway to the state it
was just before the upgrade was performed. If the new version of GoAnywhere Gateway is
deemed unfit, a rollback can be performed using the following steps:
3. To ensure no library conflicts are introduced during the rollback, delete the
contents of [install_dir]/lib
4. Navigate to the backup folder and perform the following for each folder:
b. Copy the folder from the backup directory to the install directory.
c. If folders exist in the backup folder that do not exist in the install folder, copy
them to the install folder.
5. Any individual files in the backup folder not contained in a folder should also be
copied to the install folder.
7. Ensure the user profile used to start GoAnywhere Gateway has ownership
authority to the restored files. Unix/Linux systems, ensure the user profile used to
start GoAnywhere has execute permission to all shell scripts (*.sh).