Data Management Service (DMS) allows you to perform a major version upgrade of Dify on DMS from v0.15.3 or earlier to v1.1.3. This upgrade provides access to the latest plugin ecosystem features. Follow the instructions in this topic to complete the process.
Important Notes
This feature is in Preview. To use it, please contact DMS Technical Support.
Prerequisites
Before upgrading Dify on DMS, back up all Dify-related resources to prevent data loss. You must also create a dify_plugin database in your target ApsaraDB RDS for PostgreSQL instance, which will manage the metadata for installed plugins.
Back up data
Back up the ApsaraDB RDS for PostgreSQL and vector databases that Dify uses.
Back up ApsaraDB RDS for PostgreSQL instance
Go to the Instances page. In the top navigation bar, select the region in which the RDS instance resides. Then, find the RDS instance and click the ID of the instance.
In the upper-right corner of the page, click Backup Instance. In the dialog box that appears, click OK.
In the upper-right corner, click Tasks to check the backup status.
The backup is complete when the task progress reaches 100%.
Back up vector database
The following steps use an AnalyticDB for PostgreSQL instance as an example.
Log on to the AnalyticDB for PostgreSQL console.
In the upper-left corner of the console, select the region where the instance is located.
Find and click the ID of the target instance. In the navigation pane on the left, click Backup and Restoration.
In the upper-right corner of the page, click Create Backup, and then click OK.
The backup is complete when the task status is Success.
Prepare the database
Modify the password for the dify_user account in the Tair (Redis OSS-compatible) console, ensuring it matches the default account's password.. Then, create a dify_plugin database in the target ApsaraDB RDS for PostgreSQL instance.
The dify_user is a database account that DMS automatically creates on the corresponding instance during Dify's deployment.
Verify the database account password in Redis
Confirm that the default account's password matches the dify_user's password. If they do not match, please modify the password of the dify_user account.
If you have modified the dify_user account's password, you will need to update the database password on the DMS instance editing page. Follow these steps:
- Log on to the DMS console V5.0.
In the database instance list on the left, find the target instance, right-click the instance name, and click Edit.
Ensure that Security hosting is Enable. Then, re-enter the Database Password for the
dify_useraccount, and click Save.
Create the dify_plugin database in ApsaraDB RDS for PostgreSQL
Go to the RDS Instance List. Select a region at the top of the page, and then click the ID of the target instance.
In the navigation pane on the left, click Database Management, and then click Create Database.
For Database Name, enter
dify_plugin. For Authorized Account, selectdify_user.Click Create.
Upgrade Dify on DMS
- Log on to the DMS console V5.0.
Move the pointer over the
icon in the upper-left corner and choose . NoteIf you do not use the DMS console in Simple mode, choose in the top navigation bar.

Click the workspace name to enter the workspace.
In the navigation pane on the left, choose , and then click Upgrade to Latest Version.
NoteThe upgrade process takes approximately 10 minutes, during which the Dify service—including models deployed through Dify and applications created in the Studio—will be unavailable.
After the upgrade is complete, you can use the latest version of Dify.
To verify the upgrade, click the avatar in your Dify space and check the version in the About area.
Install Dify plugins
After the upgrade is complete, in the navigation pane on the left of the Workspace, click .
In the upper-right corner, click Plugins, and then click Install Plugin.
The supported plugin sources include Marketplace, GitHub, and Local Package File, DMS Plugin.
Select a suitable source and install the plugins you need, such as model plugins, tool plugins, and agent strategy plugins.
NoteAfter the plugin installation is complete, if your existing Dify application uses model services or knowledge base retrieval, you will need to reconfigure the corresponding models or knowledge bases.
For example, you can install the latest version of the Tongyi Qianwen plugin from the Marketplace.
Continue to develop your large model applications. For detailed instructions, see the official Dify documentation.
> Dify