2017-08-07 17:38:25 +02:00
|
|
|
{% extends "zerver/portico.html" %}
|
|
|
|
|
2022-09-06 12:04:03 +02:00
|
|
|
{% block title %}
|
|
|
|
<title>{{ _("Configuration error") }} | Zulip</title>
|
|
|
|
{% endblock %}
|
|
|
|
|
2017-08-07 17:38:25 +02:00
|
|
|
{% block portico_content %}
|
|
|
|
|
|
|
|
<div class="error_page" style="padding-bottom: 60px;">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row-fluid">
|
2023-01-25 00:08:42 +01:00
|
|
|
<img src="{{ static('images/errors/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">
|
2022-09-06 12:04:03 +02:00
|
|
|
<h1 class="lead">{{ _("Configuration error") }}</h1>
|
2021-04-21 00:46:14 +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
|
2021-12-02 17:10:42 +01:00
|
|
|
<a href="https://zulip.readthedocs.io/en/latest/production/email.html">Production installation docs</a>.
|
2017-10-25 01:58:05 +02:00
|
|
|
</p>
|
|
|
|
{% else %}
|
|
|
|
<p>
|
|
|
|
Please have a look at our
|
2021-12-02 17:10:42 +01:00
|
|
|
<a target="_blank" rel="noopener noreferrer" href="https://zulip.readthedocs.io/en/latest/subsystems/email.html#development-and-testing"> setup guide</a>
|
|
|
|
for forwarding emails sent in development
|
2017-10-25 01:58:05 +02:00
|
|
|
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" %}
|
2023-02-28 19:56:58 +01:00
|
|
|
{% include "zerver/authentication_backends/dev-not-supported-error.html" %}
|
2018-02-21 06:31:53 +01:00
|
|
|
{% endif %}
|
|
|
|
|
2023-02-28 19:56:58 +01:00
|
|
|
{% if has_error_template %}
|
2019-06-13 21:30:55 +02:00
|
|
|
{% if development_environment %}
|
2023-02-28 19:56:58 +01:00
|
|
|
{% with %}
|
|
|
|
{% set settings_path = secrets_path %}
|
|
|
|
{% set client_id_key_name = "social_auth_" + social_backend_name + "_key" %}
|
|
|
|
{% include "zerver/authentication_backends/" + social_backend_name + "-error.html" %}
|
|
|
|
{% endwith %}
|
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 %}
|
2023-02-28 19:56:58 +01:00
|
|
|
{% with %}
|
|
|
|
{% set client_id_key_name = "SOCIAL_AUTH_" + social_backend_name.upper() + "_KEY" %}
|
|
|
|
{% include "zerver/authentication_backends/" + social_backend_name + "-error.html" %}
|
|
|
|
{% endwith %}
|
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>
|
2021-11-20 13:25:41 +01:00
|
|
|
See also the
|
|
|
|
<a href="https://zulip.readthedocs.io/en/latest/development/authentication.html#saml">SAML guide</a>
|
|
|
|
for the development environment.
|
2019-09-29 06:32:56 +02:00
|
|
|
</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 %}
|
2021-05-21 16:45:43 +02:00
|
|
|
{% if error_name == "oidc_error" %}
|
|
|
|
<p>
|
|
|
|
The OpenID Connect backend is not configured correctly.
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
|
|
|
|
2017-08-07 17:38:25 +02:00
|
|
|
<p>After making your changes, remember to restart
|
|
|
|
the Zulip server.</p>
|
2020-06-17 14:25:25 +02:00
|
|
|
<p><a href=""> Refresh</a> to try again or <a href="/login/">click here</a> to go back to the login page.</p>
|
2017-08-07 17:38:25 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|