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 %}
|
2019-02-02 16:51:26 +01:00
|
|
|
{{ 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": "social_auth_google_key"}) }}
|
2020-02-09 06:42:11 +01:00
|
|
|
<p>
|
|
|
|
For more information, have a look at
|
|
|
|
the <a href="https://zulip.readthedocs.io/en/latest/development/authentication.html#google">authentication
|
|
|
|
setup guide</a> for the development environment.
|
|
|
|
</p>
|
2019-06-13 21:30:55 +02:00
|
|
|
{% else %}
|
2019-02-02 16:51:26 +01:00
|
|
|
{{ 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": "SOCIAL_AUTH_GOOGLE_KEY"}) }}
|
2019-06-13 21:30:55 +02:00
|
|
|
{% 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"}) }}
|
2020-02-09 06:42:11 +01:00
|
|
|
<p>
|
|
|
|
For more information, have a look at
|
|
|
|
the <a href="https://zulip.readthedocs.io/en/latest/development/authentication.html#github">authentication
|
|
|
|
setup guide</a> for the development environment.
|
|
|
|
</p>
|
2019-06-07 13:26:04 +02:00
|
|
|
{% 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 %}
|
|
|
|
|
2020-01-31 18:19:53 +01:00
|
|
|
{% if gitlab_error %}
|
|
|
|
{% if development_environment %}
|
|
|
|
{{ render_markdown_path('zerver/gitlab-error.md', {"root_domain_uri": root_domain_uri, "settings_path": secrets_path, "secrets_path": secrets_path, "client_id_key_name": "social_auth_gitlab_key"}) }}
|
|
|
|
<p>
|
|
|
|
For more information, have a look at
|
|
|
|
the <a href="https://zulip.readthedocs.io/en/latest/development/authentication.html#gitlab">authentication
|
|
|
|
setup guide</a> for the development environment.
|
|
|
|
</p>
|
|
|
|
{% else %}
|
|
|
|
{{ render_markdown_path('zerver/gitlab-error.md', {"root_domain_uri": root_domain_uri, "settings_path": settings_path, "secrets_path": secrets_path, "client_id_key_name": "SOCIAL_AUTH_GITLAB_KEY"}) }}
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if google_error or github_error or gitlab_error %}
|
2020-02-09 06:42:11 +01:00
|
|
|
{% if not development_environment %}
|
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 %}
|
|
|
|
|
2019-09-29 06:32:56 +02:00
|
|
|
{% if saml_error %}
|
|
|
|
<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
|
|
|
|
|
|
|
{% if remoteuser_error_backend_disabled %}
|
|
|
|
<p>
|
|
|
|
Authentication via the REMOTE_USER header is
|
|
|
|
disabled in `/etc/zulip/settings.py`.
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
|
|
|
{% if remoteuser_error_remote_user_header_missing %}
|
|
|
|
<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 %}
|