When starting the application for the first time, start one node first. Wait for the plugins to be installed and enabled, then start the other nodes.
When you need to upgrade the NocoBase version, follow this procedure.
In a cluster production environment, features like plugin management and version upgrades should be used with caution or prohibited.
NocoBase does not currently support online upgrades for cluster versions. To ensure data consistency, external services need to be suspended during the upgrade process.
Steps:
Stop the current service
Stop all NocoBase application instances and forward the load balancer traffic to a 503 status page.
Back up data
Before upgrading, it is strongly recommended to back up the database to prevent any issues during the upgrade process.
Update the version
Refer to Docker Upgrade to update the NocoBase application image version.
Start the service
In-app maintenance refers to performing maintenance-related operations while the application is running, including:
Steps:
Scale down nodes
Reduce the number of running application nodes in the cluster to one, and stop the service on the other nodes.
Perform in-app maintenance operations, such as installing and enabling plugins, backing up data, etc.
Restore nodes
After the maintenance operations are complete and functionality is verified, start the other nodes. Once the nodes have started successfully, restore the cluster's operational state.