Upgrade Version
Upgrade Steps
If the License has not expired, proceed directly from Step 3 "Data Backup" to perform the upgrade process.
1. Get the latest version Licesne
Please go to Renew License
- The latest version Licesne corresponds to the default version of WeDa Private Deployment Edition (Community Edition package).
- The default Community Edition only supports one developer and publishing one official application. For details, see Official Package Information.
- If needed, please purchase the official version
2. Update license
The standalone version involves a default installation directory, generally /data/tencent/weda
.
Copy the renewed license from Step 1, switch to the weda directory, execute vim LICENSE.txt
, and write the latest license to the license file.
3. Data Backup
If you use an external database, please back up the MySQL database yourself.
Compared to previous versions, the latest version update requires refreshing existing data. Please back up your data first when installing the latest version.
1. Switch to the weda directory
2. Execute `cp -r weda weda-bak` to back up the old data
3. Backup completed.
4. Download the latest installation package
wget -L -O install.sh https://software-1302110647.cos.ap-guangzhou.myqcloud.com/rc/lastest/install.sh && chmod +x install.sh && ./install.sh
5. Upgrade Verification
Switch to the weda directory and execute ./upgrade.sh for upgrade verification
If Step 5 above shows an error "EnvId not match", then proceed with Steps 6 and 7 below; otherwise, wait for the upgrade to complete.
6. Data Refresh
Execute ./envmigrate in the weda directory to complete data migration
7. Upgrade
Execute ./upgrade.sh in the weda directory to complete the upgrade
8. Republish Application
After the upgrade is completed, republish the application to use it; if there are no published applications, skip this step.
Notes
1. For standalone editions installed using the Tencent Cloud Lighthouse WeDa application template, during upgrade, first execute the following command, then download the install.sh file
export LH_ENABLED="true"
2. Can multiple developers continue to use the system after the upgrade if there were multiple developers before the upgrade?
Answer: If there were multiple developers before the upgrade, the development tools cannot be used after the upgrade. Existing applications remain unaffected. You need to delete the extra developers to continue using the development tools.
3. If multiple applications have been published after the upgrade, can they still be used?
Answer: No impact, but no further publishing is possible.