Apache DolphinScheduler has added an automatic version upgrade feature since version 2.0.1. The official documentation provides a one-click upgrade script:
\
sh ./script/create-dolphinscheduler.sh\ If it's a minor version update, simply executing the script suffices. However, upgrading across multiple major versions can still encounter issues. Here's a summarized guide.
(Applicable for upgrades from 1.x → 2.x or 2.x → 3.x) I. Pre-Upgrade Preparations\
Verify whether the current version supports direct upgrades to the target version (e.g., upgrading from 2.0.5 to 3.1.0 requires checking the official compatibility matrix)
Ensure JDBC driver, ZooKeeper, and other dependency versions meet the target version requirements
\
Stop all services based on your deployment method. For cluster deployments, use:
sh ./script/stop-all.sh[[2, 3]]
Database UpgradeModify configurations in ./bin/env/dolphinscheduler_env.sh (replace {user} and {password} with your database credentials).
For MySQL:
\
Pseudo-Cluster: Follow Pseudo-Cluster Deployment Guide
Cluster: Follow Cluster Deployment Guide
\
\
\
All Rights Reserved. Copyright , Central Coast Communications, Inc.