Update Zulip Server version: Difference between revisions
Jump to navigation
Jump to search
(Created page with "'''Context:''' This procedure was written at the time of Zulip 11.4, and applies to upgrades performed on the chat.dsinternal.net server. '''Important Notes''' * It is possible (and supported) to upgrade across multiple versions at once — there is no need to install each intermediate release. * Always consult the official Zulip upgrade documentation first. It supersedes this checklist: https://zulip.readthedocs.io/en/latest/production/upgrade.html * Make sure to note...") |
|||
| Line 12: | Line 12: | ||
== Pre-upgrade Steps == | == Pre-upgrade Steps == | ||
# Read the [http://upgrade%20notes https://zulip.readthedocs.io/en/latest/overview/changelog.html] | # Read the [http://upgrade%20notes https://zulip.readthedocs.io/en/latest/overview/changelog.html] and prepare accordingly if some specific actions need to be taken | ||
# Make sure the Debian and PostgreSQL versions are compatible with the upcoming update | # Make sure the Debian and PostgreSQL versions are compatible with the upcoming update | ||
# Schedule and announce the maintenance window | # Schedule and announce the maintenance window | ||
Revision as of 02:19, 27 October 2025
Context: This procedure was written at the time of Zulip 11.4, and applies to upgrades performed on the chat.dsinternal.net server.
Important Notes
- It is possible (and supported) to upgrade across multiple versions at once — there is no need to install each intermediate release.
- Always consult the official Zulip upgrade documentation first. It supersedes this checklist:
https://zulip.readthedocs.io/en/latest/production/upgrade.html
- Make sure to note any important and relevant details concerning the next upgrade(s) reading the upgrade notes for every upcoming major version:
https://zulip.readthedocs.io/en/latest/overview/changelog.html
- In our case we're following the upgrading-to-a-release method not the upgrading-from-a-git-repository one.
- Read any version-specific upgrade notes in the official docs before proceeding.
Pre-upgrade Steps
- Read the https://zulip.readthedocs.io/en/latest/overview/changelog.html and prepare accordingly if some specific actions need to be taken
- Make sure the Debian and PostgreSQL versions are compatible with the upcoming update
- Schedule and announce the maintenance window
- Create a maintenance period in Zabbix
- Create a backup and/or snapshot
Upgrade Procedure
Important Notes This procedure is taken from the official doc, if official doc has been updated this checklist should be updated to
- Fetch the latest build
curl -fLO https://download.zulip.com/server/zulip-server-latest.tar.gz - Run the upgrade
/home/zulip/deployments/current/scripts/upgrade-zulip zulip-server-latest.tar.gz - Monitor the process, expect temporary CPU and memory spikes right after the upgrade due to migrations and cache rebuilds. You probably want to wait for things to settle down before going on to next steps.
Post-upgrade Tasks
- Update the settings.py file following the method described here
- Once you've made sure everything is running as expected remove the snapshot and maintenance period