Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

mattermost: Fix import instructions in the documentation.

Emil12b367cc74f8
diff --git a/help/import-from-mattermost.md b/help/import-from-mattermost.md
index 2d02f3087b9..d7a32d94939 100644
--- a/help/import-from-mattermost.md
+++ b/help/import-from-mattermost.md
@@ -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
```