2018-07-25 03:46:39 +02:00
|
|
|
# Import from Gitter (beta)
|
2018-07-05 11:19:58 +02:00
|
|
|
|
2022-11-26 02:20:35 +01:00
|
|
|
You can import your current workspace into a Zulip organization. It's a great way
|
|
|
|
to preserve your workspace history when you migrate to Zulip, and to
|
|
|
|
make the transition easy for the members of your organization.
|
2018-07-05 11:19:58 +02:00
|
|
|
|
2022-11-26 02:20:35 +01:00
|
|
|
The import will include your organization's:
|
2018-07-25 04:22:41 +02:00
|
|
|
|
2022-11-26 02:20:35 +01:00
|
|
|
* **Name**
|
|
|
|
* **Message history**, including attachments and emoji reactions
|
|
|
|
* **Users**, including names and avatars
|
|
|
|
* **Channels**, including all user subscriptions
|
2018-07-25 04:22:41 +02:00
|
|
|
|
2022-11-26 02:20:35 +01:00
|
|
|
## Import process overview
|
|
|
|
|
|
|
|
To import your Gitter organization into Zulip, you will need to take the
|
|
|
|
following steps, which are described in more detail below:
|
|
|
|
|
|
|
|
{start_tabs}
|
|
|
|
|
|
|
|
1. [Export your Gitter data.](#export-your-gitter-data)
|
|
|
|
|
|
|
|
1. [Import your Gitter data into Zulip.](#import-your-data-into-zulip)
|
|
|
|
|
|
|
|
1. [Get your organization started with Zulip!](#get-your-organization-started-with-zulip)
|
|
|
|
|
|
|
|
{end_tabs}
|
|
|
|
|
|
|
|
## Import your organization from Gitter into Zulip
|
2018-07-05 11:19:58 +02:00
|
|
|
|
2019-04-03 00:39:59 +02:00
|
|
|
### Export your Gitter data
|
|
|
|
|
2022-11-26 02:20:35 +01:00
|
|
|
Gitter's [data export tool](https://github.com/minrk/archive-gitter) allows you
|
|
|
|
to export all public channel messages.
|
|
|
|
|
2019-04-03 00:39:59 +02:00
|
|
|
{start_tabs}
|
|
|
|
|
2022-11-26 02:20:35 +01:00
|
|
|
1. Export your Gitter data. You will receive `.json` files of the public
|
|
|
|
rooms that you are a part of.
|
|
|
|
|
|
|
|
1. Select the `gitter_data.json` file of the room which you want to
|
|
|
|
import into Zulip.
|
2018-07-05 11:19:58 +02:00
|
|
|
|
2022-11-26 02:20:35 +01:00
|
|
|
!!! warn ""
|
2021-09-10 00:44:29 +02:00
|
|
|
|
2022-11-26 02:20:35 +01:00
|
|
|
**Note:** You will need a Gitter API token to export data. You can get this
|
|
|
|
token by following the instructions in the **Getting Started** section of
|
|
|
|
the [Gitter documentation](https://developer.gitter.im/docs/).
|
2018-07-05 11:19:58 +02:00
|
|
|
|
2019-04-03 00:39:59 +02:00
|
|
|
{end_tabs}
|
|
|
|
|
2022-11-26 02:20:35 +01:00
|
|
|
### Import your data into Zulip
|
2018-07-25 00:41:47 +02:00
|
|
|
|
2022-11-26 02:20:35 +01:00
|
|
|
{!import-your-data-into-zulip.md!}
|
2018-07-25 00:41:47 +02:00
|
|
|
|
2022-11-26 02:20:35 +01:00
|
|
|
{start_tabs}
|
2018-09-15 00:57:06 +02:00
|
|
|
|
2022-11-26 02:20:35 +01:00
|
|
|
{tab|zulip-cloud}
|
2018-07-05 11:19:58 +02:00
|
|
|
|
2022-11-26 02:20:35 +01:00
|
|
|
{!import-into-a-zulip-cloud-organization.md!}
|
2018-07-05 11:19:58 +02:00
|
|
|
|
2022-11-26 02:20:35 +01:00
|
|
|
1. The **username** that will have the [owner role](/help/roles-and-permissions)
|
|
|
|
in your Zulip organization.
|
2018-07-05 11:19:58 +02:00
|
|
|
|
2022-11-26 02:20:35 +01:00
|
|
|
{!import-zulip-cloud-organization-warning.md!}
|
2018-07-05 11:19:58 +02:00
|
|
|
|
2022-11-26 02:20:35 +01:00
|
|
|
{tab|self-hosting}
|
2018-07-05 11:19:58 +02:00
|
|
|
|
2022-11-26 02:20:35 +01:00
|
|
|
{!import-into-a-self-hosted-zulip-server.md!}
|
2018-07-05 11:19:58 +02:00
|
|
|
|
2022-11-26 02:20:35 +01:00
|
|
|
1. To import into an organization hosted on the root domain
|
|
|
|
(`EXTERNAL_HOST`) of the Zulip installation, run the following
|
|
|
|
commands.
|
2018-07-05 11:19:58 +02:00
|
|
|
|
2022-11-26 02:20:35 +01:00
|
|
|
{!import-self-hosted-server-tips.md!}
|
2018-07-05 11:19:58 +02:00
|
|
|
|
2022-11-26 02:20:35 +01:00
|
|
|
```
|
|
|
|
cd /home/zulip/deployments/current
|
|
|
|
./scripts/stop-server
|
|
|
|
./manage.py convert_gitter_data /tmp/gitter_data.json --output /tmp/converted_gitter_data
|
|
|
|
./manage.py import '' /tmp/converted_gitter_data
|
|
|
|
./scripts/start-server
|
|
|
|
```
|
2018-07-05 11:19:58 +02:00
|
|
|
|
2022-11-26 02:20:35 +01:00
|
|
|
Alternatively, to import into a custom subdomain, run:
|
2018-07-28 18:54:24 +02:00
|
|
|
|
2022-11-26 02:20:35 +01:00
|
|
|
```
|
|
|
|
cd /home/zulip/deployments/current
|
|
|
|
./scripts/stop-server
|
|
|
|
./manage.py convert_gitter_data /tmp/gitter_data.json --output /tmp/converted_gitter_data
|
|
|
|
./manage.py import <subdomain> /tmp/converted_gitter_data
|
|
|
|
./scripts/start-server
|
|
|
|
```
|
2018-07-28 18:54:24 +02:00
|
|
|
|
2022-11-26 02:20:35 +01:00
|
|
|
1. Follow [step 4](https://zulip.readthedocs.io/en/stable/production/install.html#step-4-configure-and-use)
|
|
|
|
of the guide for [installing a new Zulip
|
|
|
|
server](https://zulip.readthedocs.io/en/stable/production/install.html).
|
|
|
|
|
|
|
|
{end_tabs}
|
2018-07-28 18:54:24 +02:00
|
|
|
|
2022-11-26 02:20:35 +01:00
|
|
|
#### Import details
|
2018-07-05 11:19:58 +02:00
|
|
|
|
2022-11-26 02:20:35 +01:00
|
|
|
Whether you are using Zulip Cloud or self-hosting Zulip, here are a few notes to
|
|
|
|
keep in mind about the import process:
|
2018-07-28 18:54:24 +02:00
|
|
|
|
2022-11-26 02:20:35 +01:00
|
|
|
- [Gitter's export tool](https://github.com/minrk/archive-gitter) does not export
|
|
|
|
workspace settings, so you will need to [configure the settings for your Zulip
|
|
|
|
organization](/help/customize-organization-settings). This includes settings
|
2023-02-07 06:29:11 +01:00
|
|
|
like [email visibility](/help/configure-email-visibility),
|
2023-02-09 05:17:34 +01:00
|
|
|
[message editing permissions](/help/restrict-message-editing-and-deletion),
|
2022-11-26 02:20:35 +01:00
|
|
|
and [how users can join your organization](/help/restrict-account-creation).
|
2020-07-23 01:08:42 +02:00
|
|
|
|
2022-11-26 02:20:35 +01:00
|
|
|
- Gitter's export tool does not export user settings, so users in your organization
|
|
|
|
may want to [customize their account settings](/help/getting-started-with-zulip).
|
|
|
|
|
|
|
|
- The [Gitter API][gitter-api-user-data] doesn't contain data on which users are
|
|
|
|
administrators of a Gitter channel. As a result, all Gitter users are imported
|
|
|
|
into Zulip as [members](/help/roles-and-permissions).
|
|
|
|
|
|
|
|
- Gitter's export tool doesn't export email addresses, only GitHub usernames.
|
|
|
|
Zulip's import tool will set GitHub as the only authentication method enabled
|
|
|
|
by default to avoid user confusion.
|
2020-07-23 01:08:42 +02:00
|
|
|
|
|
|
|
- You can merge multiple Gitter channels into a single Zulip
|
|
|
|
organization using [this
|
|
|
|
tool](https://github.com/minrk/archive-gitter/pull/5).
|
2018-07-05 11:19:58 +02:00
|
|
|
|
2022-11-26 02:20:35 +01:00
|
|
|
- Zulip's import tool doesn't translate Gitter's Markdown format into Zulip's
|
|
|
|
Markdown format (there are a few corner cases where the syntax is different).
|
|
|
|
Additionally, Gitter's issue mention syntax isn't translated.
|
|
|
|
|
|
|
|
- Message edit history is not imported.
|
|
|
|
|
|
|
|
[grant-admin-access]: https://zulip.readthedocs.io/en/latest/production/management-commands.html#grant-administrator-access)
|
|
|
|
[gitter-api-user-data]: https://developer.gitter.im/docs/user-resource
|
|
|
|
|
|
|
|
## Get your organization started with Zulip
|
|
|
|
|
|
|
|
Once the import process is completed, you will need to:
|
|
|
|
|
|
|
|
{start_tabs}
|
|
|
|
|
|
|
|
1. [Configure the settings for your organization](/help/customize-organization-settings),
|
|
|
|
which are not exported. This includes settings like [email
|
2023-02-07 06:29:11 +01:00
|
|
|
visibility](/help/configure-email-visibility), [message editing
|
2023-02-09 05:17:34 +01:00
|
|
|
permissions](/help/restrict-message-editing-and-deletion),
|
2022-11-26 02:20:35 +01:00
|
|
|
and [how users can join your organization](/help/restrict-account-creation).
|
|
|
|
|
2023-02-08 23:06:02 +01:00
|
|
|
2. [Configure user roles](/help/change-a-users-role). Only organization owners
|
2022-11-26 02:20:35 +01:00
|
|
|
and administrators can do this.
|
|
|
|
* If you [import into Zulip Cloud](#import-your-data-into-zulip), you will
|
|
|
|
specify the user whose account will have the owner role when you request the
|
|
|
|
import.
|
|
|
|
* If you self-host, you can follow the Zulip documentation on [making a user an
|
|
|
|
organization owner from the terminal][grant-admin-access] to mark the appropriate
|
|
|
|
users as organization owners.
|
|
|
|
|
2023-02-08 23:06:02 +01:00
|
|
|
3. All users from your previous workspace will have accounts in your new Zulip
|
2022-11-26 02:20:35 +01:00
|
|
|
organization. However, you will need to let users know about their new
|
|
|
|
accounts, and [how they will log in for the first time
|
|
|
|
](#how-users-will-log-in-for-the-first-time).
|
|
|
|
|
2023-02-08 23:06:02 +01:00
|
|
|
4. Share the URL for your new Zulip organization, and (recommended) the [Getting
|
2022-11-26 02:20:35 +01:00
|
|
|
started with Zulip guide](/help/getting-started-with-zulip).
|
|
|
|
|
2023-02-08 23:06:02 +01:00
|
|
|
5. Migrate any [integrations](/integrations).
|
2022-11-26 02:20:35 +01:00
|
|
|
|
|
|
|
{end_tabs}
|
|
|
|
|
|
|
|
## How users will log in for the first time
|
|
|
|
|
|
|
|
When you create your organization, users will immediately be able to log in
|
|
|
|
without a password using GitHub as the [authentication method
|
|
|
|
](/help/configure-authentication-methods). Once they log
|
|
|
|
in, users whose accounts have been imported will need to [change their Zulip
|
|
|
|
email address](/help/change-your-email-address) in order to receive [email
|
|
|
|
notifications](/help/email-notifications).
|
|
|
|
|
|
|
|
!!! warn ""
|
|
|
|
|
|
|
|
A user's email notifications will not work until they update the email
|
|
|
|
associated with their Zulip account.
|
|
|
|
|
|
|
|
When user accounts are imported, users initially do not have passwords
|
|
|
|
configured. Users can [reset their own passwords](/help/change-your-password) by
|
|
|
|
following the instructions on your Zulip organization's login page.
|
|
|
|
|
|
|
|
!!! tip ""
|
|
|
|
|
|
|
|
For security reasons, passwords are never exported.
|
|
|
|
|
|
|
|
## Related articles
|
2018-07-25 00:40:17 +02:00
|
|
|
|
2022-11-26 02:20:35 +01:00
|
|
|
* [Choosing between Zulip Cloud and self-hosting](/help/zulip-cloud-or-self-hosting)
|
|
|
|
* [Setting up your organization](/help/getting-your-organization-started-with-zulip)
|
|
|
|
* [Getting started with Zulip](/help/getting-started-with-zulip)
|