1
- ## Upgrading the Zulip container
1
+ # Upgrading instructions for ` docker-compose `
2
2
3
3
You can upgrade your Zulip installation to any newer version of Zulip with the
4
4
following instructions. At a high level, the strategy is to download a new
@@ -9,13 +9,10 @@ necessary database migrations with `manage.py migrate`.
9
9
If you ever find you need to downgrade your Zulip server, you'll need to use
10
10
` manage.py migrate ` to downgrade the database schema manually.
11
11
12
- If you are using old ` galexrt/docker-zulip ` images (from Zulip 1.8.1 or older),
13
- you need to upgrade the postgres image from
14
- ` quay.io/galexrt/postgres-zulip-tsearchextras:latest ` . Refer to the
15
- [ instructions for upgrading from the old
16
- galexrt/docker-zulip] ( #upgrading-from-the-old-galexrtdocker-zulip ) section.
12
+ All of the instructions below assume you are using the provided
13
+ ` docker-compose.yml ` .
17
14
18
- ### Using ` docker-compose `
15
+ ## Upgrading to a release
19
16
20
17
0 . (Optional) Upgrading does not delete your data, but it's generally good
21
18
practice to [ back up your Zulip
@@ -75,7 +72,7 @@ You can confirm you're running the latest version by running:
75
72
docker-compose exec -u zulip zulip cat /home/zulip/deployments/current/version.py
76
73
```
77
74
78
- ### Upgrading from a Git repository
75
+ ## Upgrading from a Git repository
79
76
80
77
1 . Edit ` docker-compose.yml ` to comment out the ` image ` line, and specify the
81
78
Git commit you'd like to build the zulip container from. E.g.:
@@ -100,7 +97,7 @@ docker-compose exec -u zulip zulip cat /home/zulip/deployments/current/version.p
100
97
101
98
Then stop and restart the container as described in the previous section.
102
99
103
- # ## Upgrading zulip/zulip-postgresql to 14
100
+ # # Upgrading zulip/zulip-postgresql to 14
104
101
105
102
The Docker Compose configuration for version 6.0-0 and higher default to using
106
103
PostgreSQL 14, as the previously-used PostgreSQL 10 is no longer
@@ -114,7 +111,7 @@ The provided `upgrade-postgresql` tool will dump the contents of the
114
111
necessary migration, update the `docker-compose.yml` file to match, and re-start
115
112
Zulip.
116
113
117
- # ## Upgrading from the old galexrt/docker-zulip
114
+ # # Upgrading from the old galexrt/docker-zulip
118
115
119
116
If you are using an earlier version of `galexrt/docker-zulip` which used the
120
117
` quay.io/galexrt/postgres-zulip-tsearchextras:latest` PostgreSQL image, you need
@@ -126,7 +123,7 @@ path (`/opt/docker/zulip/postgresql/data`) in your `docker-compose.yml`. If you
126
123
have changed it, please replace all occurences of
127
124
` /opt/docker/zulip/postgresql/data` with your path.
128
125
129
- 1. Make a backup of your Zulip PostgreSQL data dir .
126
+ 1. Make a backup of your Zulip PostgreSQL data directory .
130
127
131
128
2. Stop all Zulip containers, except the postgres one (e.g. use `docker stop`
132
129
and not `docker-compose stop`).
@@ -181,6 +178,3 @@ have changed it, please replace all occurences of
181
178
` ` ` shell
182
179
docker-compose up
183
180
` ` `
184
-
185
- That should be it. Your PostgreSQL data has now been updated to use the
186
- ` zulip/zulip-postgresql` image.
0 commit comments