Software Upgrades
Version 24.3.9110
Version 24.3.9110
Software Upgrades
This section describes the simple process of upgrading from an earlier release of CData Sync. For information about performing a fresh installation of CData Sync, see Starting the Server.
Note: Upgrading to a new major version (for example, upgrading from Sync 2023 to Sync 2024) requires new product keys to license the application. You can request new keys from CData Sales ([email protected]).
Upgrading from an Earlier Build of CData Sync 2024
CData Sync 2024 is shipped in a setup.exe file for Microsoft Windows and in a compressed setup.tar.gz file for Linux. Follow the steps for your operating system to upgrade an existing installation of Sync 2024 to a newer build.
Microsoft Windows
-
Stop the Sync server via Windows Services Manager.
-
Run setup.exe.
-
Point the installer to the location where Sync is installed.
-
Restart the server as a service after the upgrade is completed.
Linux
-
Stop the server in either of the following ways:
-
To stop the server as a service, submit this command:
sudo systemctl stop sync
-
To stop the service in-process, submit this command:
java -jar sync.jar --stop
-
-
Unzip the sync.war file from the tar.gz archive and place it in the
/opt/sync/webapp/
directory. Unzipping the file in this location overwrites the old file. -
(Optional) Unzip the sync.jar file from the tar.gz archive and place it in
/opt/sync/
. Unzipping the file in this location overwrites the old file. -
Start the server in either of the following ways:
-
To start the server as a service, submit this command:
sudo systemctl start sync
-
To start the service in-process, submit this command:
java -jar sync.jar
-
Notes
-
No matter how you choose to deploy Sync, the files and folders that are contained in
ApplicationDirectory
must be readable and writable by the user who runs the application. The service.sh script that is included with Sync uses cdatasync as this user. -
If the application was previously run as a different user and you want to restore the necessary permissions for a cdatasync user to run the application, submit a command that is similar to the following:
sudo chown -R cdatasync:cdatasync /opt/sync
Upgrading from CData Sync 2021, 2022, and 2023
This section explains how to upgrade from Sync 2021, Sync 2022, or Sync 2023.
Cross-Platform Edition
CData Sync 2024 is shipped in a setup.exe file for Microsoft Windows and in a compressed setup.tar.gz file for Linux. Follow the steps for your operating system to upgrade an existing installation of Sync 2024 to a newer build.
Microsoft Windows
-
Stop the Sync server via Windows Services Manager.
-
Run setup.exe.
-
Point the installer to the location where Sync is installed.
-
Restart the server as a service after the upgrade is completed.
Linux
-
Stop the server in either of the following ways:
-
To stop the server as a service, submit this command:
sudo systemctl stop sync
-
To stop the service in-process, submit this command:
java -jar sync.jar --stop
-
-
Extract the contents of setup.tar.gz to
/opt/sync/
. -
Submit the following upgrade command:
sudo bash /opt/sync/upgrade.sh
Optional: You can specify the
-InstallDirectory
parameter if your previous installation uses a nondefault path. -
Start the server in either of the following ways:
-
To start the server as a service, submit this command:
sudo systemctl start sync
-
To start the service in-process, submit this command:
java -jar sync.jar
-
Notes
-
No matter how you choose to deploy Sync, the files and folders that are contained in
ApplicationDirectory
must be readable and writable by the user who runs the application. The service.sh script that is included with Sync uses cdatasync as this user. -
If the application was previously run as a different user and you want to restore the necessary permissions for a cdatasync user to run the application, submit a command that is similar to the following:
sudo chown -R cdatasync:cdatasync /opt/sync
.NET
Starting with Sync 2024, the .NET edition of the application is deprecated. As a result, you need to migrate your current .NET edition of Sync to the Cross-Platform edition. Follow these steps to perform this migration:
-
If you use the default SQLite application database, you must export your settings and then re-import them when you start the Cross-Platform edition of Sync. The Cross-Platform edition does not support SQLite as an application database. It uses the Apache Derby database, by default. You can export your settings from the Migrations tab on the Settings page in Sync. Simply click Export to download all your jobs, connections, and Sync settings into zipped CSV files.
Important: If you use PostgreSQL, MySQL, or SQL Server as your application database, you do not need to export your settings. The Cross-Platform edition supports these three application databases, and it will update the system tables when you start the Cross-Platform edition for the first time. As a best practice, you should create a backup of the Sync system tables by copying them into a different database or schema.
-
(Optional) Rename the .NET application folder so that the new Cross-Platform edition will be installed in a separate folder.
-
Download and install the Cross-Platform edition from the CData website. During installation, the new download should overwrite the CData Sync service definition.
Note: Before you start the server, you need to update the sync.properties file if you are using an external database. You can change the port, change the inactivity (session) timeout, and more in this file. For example, you can change the port by locating the following line in sync.properties and changing the default port (8181) to a port of your choice:
cdata.http.port=8181
-
Start the Sync application and install your license from the License tab on the Settings page.
-
Import the settings that you exported in step 1.
After you complete your installation, you can configure security features (such as enabling SSL/TLS and LDAP authentication) or deploy Sync to a web server such as Microsoft Internet Information Services (IIS).
Upgrading from CData Sync 2020
This section explains how to upgrade from CData Sync 2020 to CData Sync 2024.
CData Sync 2024 is shipped in a setup.exe file for Microsoft Windows and in a compressed setup.tar.gz file for Linux. Follow the steps for your operating system to upgrade an existing installation of Sync 2024 to a newer build.
Microsoft Windows
-
Stop the Sync server via Windows Services Manager.
-
Run setup.exe.
-
Point the installer to the location where Sync is installed.
-
Restart the server as a service after the upgrade is completed.
Linux
-
Stop the server in either of the following ways:
-
To stop the server as a service, submit this command:
sudo systemctl stop sync
-
To stop the service in-process, submit this command:
java -jar sync.jar --stop
-
-
Extract the contents of setup.tar.gz to
/opt/sync/
. -
Submit the following upgrade command:
sudo bash /opt/sync/upgrade.sh
Optional: You can specify the
-InstallDirectory
parameter if your previous installation uses a nondefault path. -
Start the server in either of the following ways:
-
To start the server as a service, submit this command:
sudo systemctl start sync
-
To start the service in-process, submit this command:
java -jar sync.jar
-
Notes
-
No matter how you choose to deploy Sync, the files and folders that are contained in
ApplicationDirectory
must be readable and writable by the user who runs the application. The service.sh script that is included with Sync uses cdatasync as this user. -
If the application was previously run as a different user and you want to restore the necessary permissions for a cdatasync user to run the application, submit a command that is similar to the following:
sudo chown -R cdatasync:cdatasync /opt/sync
Upgrading from CData Sync 2017, 2018, and 2019
The installer for CData Sync 2024 attempts to detect existing previous installations of Sync and to import previous settings. These imported settings include the following:
-
All jobs
-
All connections
-
Any external connectors
-
All Sync settings
Upgrading Marketplace Instances
When you use marketplace instances of Sync, CData publishes updated instances following new product enhancements and product releases. You can migrate your Sync configuration easily from the old instance to the new by following the steps listed earlier in Migration Tab.