Upgrade a Seafile cluster¶
Major and minor version upgrade¶
Seafile adds new features in major and minor versions. It is likely that some database tables need to be modified or the search index need to be updated. In general, upgrading a cluster contains the following steps:
- Update Seafile image
- Upgrade the database
- Update configuration files at each node
- Update search index in the backend node
In general, to upgrade a cluster, you need:
- Download the new image, stop the old docker container, modify the Seafile image version in docker-compose.yml to the new version. Start with docker compose up.
- Run the upgrade script in container (for example,
/opt/seafile/seafile-server-latest/upgrade/upgrade_x_x_x_x.sh) in one frontend node - Update configuration files at each node according to the documentation for each version
- Delete old search index in the backend node if needed
Version-specific upgrade guides¶
Upgrade a cluster from Seafile 12 to 13¶
Refer to Upgrade a Seafile cluster from 12.0 to 13.0.