Upgrade deployment
Follow these steps to upgrade your database instance and Platform Enterprise installation:
The database volume is persistent on the local machine by default if you use the volumes key in the db or redis section of your docker-compose.yml file to specify a local path to the DB or Redis instance. If your database is not persistent, you must back up your database before performing any application or database upgrades.
-
Make a backup of the Seqera database. If you use the pipeline optimization service and your
groundswelldatabase resides in a database instance separate from your Seqera database, make a backup of yourgroundswelldatabase as well. -
Download the latest versions of your deployment templates and update your Seqera container versions:
- docker-compose.yml for Docker Compose deployments
- tower-cron.yml and tower-svc.yml for Kubernetes deployments
-
JVM memory configuration defaults (recommended): The following
JAVA_OPTSenvironment variable is included in the deployment templates downloaded in the preceding step, to optimize JVM memory settings:JAVA_OPTS: -Xms1000M -Xmx2000M -XX:MaxDirectMemorySize=800m -Dio.netty.maxDirectMemory=0 -Djdk.nio.maxCachedBufferSize=262144These baseline values are suitable for most deployments running moderate concurrent workflow loads.
tipThese are starting recommendations that may require tuning based on your deployment's workload. See Backend memory requirements for detailed guidance on when and how to adjust these values for your environment.
-
Restart the application.
-
If you're using a containerized database as part of your implementation:
- Stop the application.
- Upgrade the MySQL image.
- Restart the application.
-
If you're using Amazon RDS or other managed database services:
- Stop the application.
- Upgrade your database instance.
- Restart the application.
-
If you're using the pipeline optimization service (
groundswelldatabase) in a database separate from your Seqera database, update the MySQL image for yourgroundswelldatabase instance while the application is down (during step 4 or 5 above). If you're using the same database instance for both, thegroundswellupdate will happen automatically during the Seqera database update.
Custom deployments
- Run the
/migrate-db.shscript provided in themigrate-dbcontainer. This will migrate the database schema. - Deploy Seqera following your usual procedures.
Nextflow launcher image
If you must host your nf-launcher container image on a private image registry, copy the nf-launcher image to your private registry. Then update your tower.env with the launch container environment variable:
TOWER_LAUNCH_CONTAINER=<FULL_PATH_TO_YOUR_PRIVATE_IMAGE>
If you're using AWS Batch, you will need to configure a custom job definition and populate the TOWER_LAUNCH_CONTAINER with the job definition name instead.