Raysync server has Windows version and Linux version, please check the corresponding upgrade operation steps according to the version type.
Windows Server Upgrade
Step 1: Stop the Old Service
Navigate to the installation directory of the old version of Raysync service and click Stop.exe to stop the Raysync service.

Step 2: Prepare the New Version
Uzip the new version Raysync service package to a different directory from the old version.
Step 3: Perform the Upgrade
1.Enter the extracted directory of the new version of Raysync service

2.Input "cmd" in the address bar path and press Enter to open the command line window.

3.Run the upgrade command with the path to the old server's deployment directory:
For example: "E:\RaySync-8.1.8.5" is the old Raysync service path
Upgrade.exe "E:\RaySync-8.1.8.5"
(Replace the example path with your actual old server path)
4.When prompted, enter Y and press Enter to confirm.

Linux Server Upgrade
Step 1: Stop the Old Service
Navigate to the installation directory of the old version of Raysync service and execute the stop: ./stop.sh

Step 2: Prepare the New Version
Uzip the new version Raysync service package to a different directory from the old version.
tar -zxvf RaySync-8.1.8.6-SMB.tar.gz
(Replace the package name with your actual new version Raysync service package)

Step 3: Perform the Upgrade
1. Enter the extracted directory of the new version of Raysync service.
2. Run the upgrade command with the path to the old server's deployment directory:
For example: "/opt/lou/8.1.8.5/RaySync" is the old Raysync service path
./upgrade.sh /opt/lou/8.1.8.5/RaySync
(Replace the example path with your actual old server path)
3.When prompted, enter Y and press Enter to confirm.
4.Wait for the upgrade to complete. You will see a success message: "Upgrade succee".
Step 4: Start the New Service
Execute the following commands in the new version's directory to start the updated server:
./install.sh && ./start.sh

