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>
|
2020-04-19 12:52:45 +02:00
|
|
|
<br>
|
2020-02-22 18:43:45 +01:00
|
|
|
{% if error_name == "ldap_error_realm_is_none" %}
|
2017-09-22 10:58:12 +02:00
|
|
|
{% trans %}
|
2020-08-11 02:20:10 +02:00
|
|
|
You are trying to log in using LDAP without creating an
|
2017-09-22 10:58:12 +02:00
|
|
|
organization first. Please use EmailAuthBackend to create
|
|
|
|
your organization and then try again.
|
|
|
|
{% endtrans %}
|
|
|
|
{% endif %}
|
|
|
|
|
2020-02-22 18:43:45 +01:00
|
|
|
{% if error_name == "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
|
2020-05-26 05:15:21 +02:00
|
|
|
<a target="_blank" rel="noopener noreferrer" 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 %}
|
|
|
|
|
2020-02-22 18:43:45 +01:00
|
|
|
{% if error_name == "dev_not_supported_error" %}
|
2018-02-21 06:31:53 +01:00
|
|
|
{{ render_markdown_path('zerver/dev-not-supported-error.md', {"settings_path": settings_path}) }}
|
|
|
|
{% endif %}
|
|
|
|
|
2020-02-22 18:43:45 +01:00
|
|
|
{% if has_markdown_file %}
|
2019-06-13 21:30:55 +02:00
|
|
|
{% if development_environment %}
|
2020-02-17 18:19:22 +01:00
|
|
|
{{ render_markdown_path('zerver/'+social_backend_name+'-error.md',
|
|
|
|
{"root_domain_uri": root_domain_uri, "settings_path": secrets_path, "secrets_path": secrets_path,
|
|
|
|
"client_id_key_name": "social_auth_" + social_backend_name + "_key"}) }}
|
2020-02-09 06:42:11 +01:00
|
|
|
<p>
|
|
|
|
For more information, have a look at
|
2020-02-17 18:19:22 +01:00
|
|
|
the <a href="https://zulip.readthedocs.io/en/latest/development/authentication.html#{{ social_backend_name }}">authentication
|
2020-02-09 06:42:11 +01:00
|
|
|
setup guide</a> for the development environment.
|
|
|
|
</p>
|
2019-06-13 21:30:55 +02:00
|
|
|
{% else %}
|
2020-02-17 18:19:22 +01:00
|
|
|
{{ render_markdown_path('zerver/'+social_backend_name+'-error.md',
|
|
|
|
{"root_domain_uri": root_domain_uri, "settings_path": settings_path, "secrets_path": secrets_path,
|
|
|
|
"client_id_key_name": "SOCIAL_AUTH_" + social_backend_name.upper() + "_KEY"}) }}
|
2017-10-25 01:58:05 +02:00
|
|
|
<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 %}
|
|
|
|
|
2020-02-22 18:43:45 +01:00
|
|
|
{% if social_backend_name == "saml" %}
|
2019-09-29 06:32:56 +02:00
|
|
|
<p>
|
|
|
|
SAML authentication is either not enabled or misconfigured. Have a look at
|
|
|
|
our <a href="https://zulip.readthedocs.io/en/latest/production/authentication-methods.html#SAML">setup guide</a>.
|
|
|
|
</p>
|
|
|
|
{% if development_environment %}
|
|
|
|
<p>
|
|
|
|
See also
|
2019-11-07 18:29:05 +01:00
|
|
|
the <a href="https://zulip.readthedocs.io/en/latest/development/authentication.html#saml">SAML
|
2019-09-29 06:32:56 +02:00
|
|
|
guide</a> for the development environment.
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2019-12-11 23:13:21 +01:00
|
|
|
|
2020-02-22 18:43:45 +01:00
|
|
|
{% if error_name == "remoteuser_error_backend_disabled" %}
|
2019-12-11 23:13:21 +01:00
|
|
|
<p>
|
|
|
|
Authentication via the REMOTE_USER header is
|
|
|
|
disabled in `/etc/zulip/settings.py`.
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
2020-02-22 18:43:45 +01:00
|
|
|
{% if error_name == "remoteuser_error_remote_user_header_missing" %}
|
2019-12-11 23:13:21 +01:00
|
|
|
<p>
|
|
|
|
The REMOTE_USER header is not set.
|
|
|
|
</p>
|
|
|
|
{% 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 %}
|