Upgrading an Existing Installation
Before you begin
Check release notes for changes in functionality
|Always check the Release Notes for all the versions between your current version and your target version, for deprecated features, known issues, or other behavioral changes. You may need to make migration changes to your TigerGraph application either before or after the upgrade. If you have any questions or uncertainty, please contact TigerGraph Support.|
User-defined function (UDF) compatibility
TigerGraph version 3.9 introduced changes in the way user-defined functions are accepted by the system.
Some UDFs may no longer be accepted due to increased security screening.
UDFs may no longer be called
to_string(). This is now a built-in GSQL function.
UDF names may no longer use the
If any UDFs do not satisfy these restrictions, then they will not be installed. GSQL will return these errors:
The following function name(s) contain errors: [reserved 'tg_']: tg_myFunction Please rename the corresponding functions in: ExprFunctions.hpp
Following GSQL built-in function name(s): [to_string] can not be used again for user defined function name(s)! GSQL built-in functions are case-insensitive. Please rename corresponding user defined functions in ExprFunctions.hpp.
Any user-defined function previously used in an older TigerGraph version that does not comply with these requirements must be renamed or removed in
Make a Backup
As a precaution, it is always a good idea to make a full backup before performing a major system change like an upgrade. System upgrade does not support version rollback at this time.
Preparation from a version older than 3.2
First perform a backup using GBAR (Graph Backup and Restore) on your existing installation.
Restore your installation with GBAR to rebuild it. This step is necessary because TigerGraph 3.2 made major changes to the Graph Storage Engine and a restore is needed to remove certain files that would make the upgrade operation fail.
Ensure that the restore is completely finished and there are no pending graph modifications (schema change, insert, update, or delete) before starting the upgrade. You can do this by calling the /rebuildnow endpoint and waiting until there are no more PullDelta messages being printed in the logs.
Upgrading a CRR system
To upgrade the TigerGraph software on a CRR system, follow this sequence of steps.
Disable CRR on your DR cluster.
$ gadmin config set System.CrossRegionReplication.Enabled false $ gadmin config apply -y $ gadmin restart all -y
Upgrade both the primary cluster and DR cluster, according to the instructions on this page.
Enable CRR on the DR cluster.
Upgrading from v3.x
Any 3.x version of TigerGraph can be upgraded to another v3.x version by
running the installation script with the upgrade(
Download the latest version of TigerGraph to your system.
Extract the tar file.
Run the installation script under the Linux user created during installation with the upgrade flag (
-U) that was extracted from the tar file:
$ ./install.sh -U
Please upgrade from the most recent maintenance version in any minor release. If you are upgrading from a version that does not have the most recent patches applied to its minor version, upgrade to the most recent patches first before upgrading to another minor or major version. For example, if you are upgrading from 3.5.0 to 3.9, upgrade to 3.5.3 first using the installation script and then upgrade to 3.9.
Additionally, versions upgrading from 3.0 or 3.1 must first go through 3.2.4. For example, if you are running version 3.1.3, you must first upgrade to 3.1.6, then 3.2.4, then to 3.9.
Upgrading from v2.x
Please contact TigerGraph Support to coordinate upgrading to TigerGraph version 3.9 if you are currently using a 2.x version of TigerGraph. Even though all the steps are documented, it is strongly recommended that you review the process with the TigerGraph Support team.
Upgrading the Developer Edition or migrating to another edition are not supported.
For detailed upgrade procedures, see our support article on the 2.6.x to 3.x upgrade flow
Upgrading Cloud Marketplace images
Upgrading from 3.x
Upgrading from 2.x
If you want to upgrade your Cloud Marketplace image from v2.x on any cloud platform, please open a support ticket. for instructions and assistance.