mirror of https://github.com/zulip/zulip.git
mattermost: Fix import instructions in the documentation.
convert_mattermost_data expects a directory, not a .tar.gz file.
This commit is contained in:
parent
bb5c732dae
commit
12b367cc74
|
@ -187,9 +187,11 @@ Replace `<username>` and `<server_ip>` with the appropriate values below.
|
|||
{!import-self-hosted-server-tips.md!}
|
||||
|
||||
```
|
||||
cd /tmp
|
||||
tar -xf mattermost_data.tar.gz
|
||||
cd /home/zulip/deployments/current
|
||||
./scripts/stop-server
|
||||
./manage.py convert_mattermost_data /tmp/mattermost_data.tar.gz --output /tmp/converted_mattermost_data
|
||||
./manage.py convert_mattermost_data /tmp/mattermost_data --output /tmp/converted_mattermost_data
|
||||
./manage.py import '' /tmp/converted_mattermost_data/<team-name>
|
||||
./scripts/start-server
|
||||
```
|
||||
|
@ -197,9 +199,11 @@ Replace `<username>` and `<server_ip>` with the appropriate values below.
|
|||
Alternatively, to import into a custom subdomain, run:
|
||||
|
||||
```
|
||||
cd /tmp
|
||||
tar -xf mattermost_data.tar.gz
|
||||
cd /home/zulip/deployments/current
|
||||
./scripts/stop-server
|
||||
./manage.py convert_mattermost_data /tmp/mattermost_data.tar.gz --output /tmp/converted_mattermost_data
|
||||
./manage.py convert_mattermost_data /tmp/mattermost_data --output /tmp/converted_mattermost_data
|
||||
./manage.py import <subdomain> /tmp/converted_mattermost_data/<team-name>
|
||||
./scripts/start-server
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue