2017-11-03 13:24:31 -04:00
|
|
|
{% extends '500.html' %}
|
2023-07-29 03:30:25 +07:00
|
|
|
{% load i18n %}
|
2017-11-03 13:24:31 -04:00
|
|
|
|
|
|
|
{% block message %}
|
2022-03-29 16:01:10 -04:00
|
|
|
<p>
|
2023-07-29 03:30:25 +07:00
|
|
|
{% trans "A database programming error was detected while processing this request. Common causes include the following:" %}
|
2022-03-29 16:01:10 -04:00
|
|
|
</p>
|
|
|
|
<p>
|
2023-07-29 03:30:25 +07:00
|
|
|
<i class="mdi mdi-alert"></i>
|
2023-09-11 15:59:50 -04:00
|
|
|
<strong>{% trans "Database migrations missing" %}.</strong>
|
2023-09-11 16:17:02 -04:00
|
|
|
{% blocktrans trimmed %}
|
2023-09-11 15:59:50 -04:00
|
|
|
When upgrading to a new NetBox release, the upgrade script must be run to apply any new database migrations. You
|
|
|
|
can run migrations manually by executing <code>python3 manage.py migrate</code> from the command line.
|
2023-07-29 03:30:25 +07:00
|
|
|
{% endblocktrans %}
|
2022-03-29 16:01:10 -04:00
|
|
|
</p>
|
|
|
|
<p>
|
2023-07-29 03:30:25 +07:00
|
|
|
<i class="mdi mdi-alert"></i>
|
2023-09-11 15:59:50 -04:00
|
|
|
<strong>{% trans "Unsupported PostgreSQL version" %}.</strong>
|
2023-09-11 16:17:02 -04:00
|
|
|
{% blocktrans trimmed %}
|
2023-09-11 15:59:50 -04:00
|
|
|
Ensure that PostgreSQL version 12 or later is in use. You can check this by connecting to the database using
|
|
|
|
NetBox's credentials and issuing a query for <code>SELECT VERSION()</code>.
|
2023-07-29 03:30:25 +07:00
|
|
|
{% endblocktrans %}
|
2022-03-29 16:01:10 -04:00
|
|
|
</p>
|
2021-05-17 16:27:27 -04:00
|
|
|
{% endblock message %}
|