Upgrading a Git Source Installation
Preparation Before Upgrading
- Be sure to back up your database first
- Stop the running NocoBase instance (
Ctrl + C)
1. Switch to the NocoBase project directory
2. Pull the latest code
3. Delete cache and old dependencies (optional)
If the normal upgrade process fails, you can try clearing the cache and dependencies and then re-downloading them.
4. Update dependencies
📢 Due to factors such as network environment and system configuration, this next step may take more than ten minutes.
5. Run the upgrade command
6. Start NocoBase
Production Environment Tip
It is not recommended to deploy a NocoBase installation from source code directly in a production environment (for production environments, please refer to Production Deployment).
7. Upgrading third-party plugins
Refer to Install and Upgrade Plugins

