2017-08-07 17:38:25 +02:00
|
|
|
{% extends "zerver/portico.html" %}
|
|
|
|
|
|
|
|
{% block portico_content %}
|
|
|
|
|
|
|
|
<div class="error_page" style="padding-bottom: 60px;">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row-fluid">
|
|
|
|
<img src="/static/images/500art.svg" alt=""/>
|
2017-08-17 10:49:57 +02:00
|
|
|
<div class="errorbox config-error">
|
2017-08-07 17:38:25 +02:00
|
|
|
<div class="errorcontent">
|
|
|
|
<h1 class="lead">Configuration error</h1>
|
|
|
|
<br/>
|
2017-09-22 10:58:12 +02:00
|
|
|
{% if ldap_error_realm_is_none %}
|
|
|
|
{% trans %}
|
|
|
|
You are trying to login using LDAP without creating an
|
|
|
|
organization first. Please use EmailAuthBackend to create
|
|
|
|
your organization and then try again.
|
|
|
|
{% endtrans %}
|
|
|
|
{% endif %}
|
|
|
|
|
2017-08-17 18:27:36 +02:00
|
|
|
{% if smtp_error %}
|
2017-10-25 01:58:05 +02:00
|
|
|
<p>
|
|
|
|
It appears there are problems with the
|
|
|
|
email configuration.
|
|
|
|
</p>
|
|
|
|
{% if not development_environment %}
|
|
|
|
<p>
|
|
|
|
See <code>/var/log/zulip/errors.log</code> for more
|
|
|
|
details on the error.
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
You may also want to test your email configuration,
|
|
|
|
as described in the
|
2017-11-16 19:51:44 +01:00
|
|
|
<a href="https://zulip.readthedocs.io/en/latest/production/email.html">
|
2017-10-25 01:58:05 +02:00
|
|
|
Production installation docs</a>.
|
|
|
|
</p>
|
|
|
|
{% else %}
|
|
|
|
<p>
|
|
|
|
Please have a look at our
|
2017-11-16 19:51:44 +01:00
|
|
|
<a target="_blank" href="https://zulip.readthedocs.io/en/latest/subsystems/email.html#development-and-testing">
|
2017-10-25 01:58:05 +02:00
|
|
|
setup guide</a> for forwarding emails sent in development
|
|
|
|
environment to an email account.
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
2017-08-17 18:27:36 +02:00
|
|
|
{% endif %}
|
|
|
|
|
2018-02-21 06:31:53 +01:00
|
|
|
{% if dev_not_supported_error %}
|
|
|
|
{{ render_markdown_path('zerver/dev-not-supported-error.md', {"settings_path": settings_path}) }}
|
|
|
|
{% endif %}
|
|
|
|
|
2017-08-07 17:38:25 +02:00
|
|
|
{% if google_error %}
|
2019-06-13 21:30:55 +02:00
|
|
|
{% if development_environment %}
|
|
|
|
{{ render_markdown_path('zerver/google-error.md', {"root_domain_uri": root_domain_uri, "settings_path": secrets_path, "secrets_path": secrets_path, "client_id_key_name": "google_oauth2_client_id"}) }}
|
|
|
|
{% else %}
|
|
|
|
{{ render_markdown_path('zerver/google-error.md', {"root_domain_uri": root_domain_uri, "settings_path": settings_path, "secrets_path": secrets_path, "client_id_key_name": "GOOGLE_OAUTH2_CLIENT_ID"}) }}
|
|
|
|
{% endif %}
|
2017-08-07 17:38:25 +02:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if github_error %}
|
2019-06-07 13:26:04 +02:00
|
|
|
{% if development_environment %}
|
|
|
|
{{ render_markdown_path('zerver/github-error.md', {"root_domain_uri": root_domain_uri, "settings_path": secrets_path, "secrets_path": secrets_path, "client_id_key_name": "social_auth_github_key"}) }}
|
|
|
|
{% else %}
|
|
|
|
{{ render_markdown_path('zerver/github-error.md', {"root_domain_uri": root_domain_uri, "settings_path": settings_path, "secrets_path": secrets_path, "client_id_key_name": "SOCIAL_AUTH_GITHUB_KEY"}) }}
|
|
|
|
{% endif %}
|
2017-08-07 17:38:25 +02:00
|
|
|
{% endif %}
|
|
|
|
|
2017-10-25 01:58:05 +02:00
|
|
|
{% if google_error or github_error %}
|
|
|
|
{% if development_environment %}
|
|
|
|
<p>
|
|
|
|
For more information, have a look at
|
2017-11-16 19:54:24 +01:00
|
|
|
the <a href="https://zulip.readthedocs.io/en/latest/subsystems/settings.html#testing-google-github-authentication">authentication
|
2017-10-25 01:58:05 +02:00
|
|
|
setup guide</a> for the development environment.
|
|
|
|
</p>
|
|
|
|
{% else %}
|
|
|
|
<p>
|
|
|
|
For more information, have a look at
|
2017-11-16 19:54:24 +01:00
|
|
|
our <a href="https://zulip.readthedocs.io/en/latest/production/authentication-methods.html">authentication
|
2017-10-25 01:58:05 +02:00
|
|
|
setup guide</a> and the comments in <code>{{ settings_comments_path }}</code>.
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
2017-08-07 17:38:25 +02:00
|
|
|
<p>After making your changes, remember to restart
|
|
|
|
the Zulip server.</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|