{% extends '500.html' %} {% load i18n %} {% block message %}

{% trans "A database programming error was detected while processing this request. Common causes include the following:" %}

{% trans "Database migrations missing" %}. {% blocktrans trimmed with command="python3 manage.py migrate" %} 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 {{ command }} from the command line. {% endblocktrans %}

{% trans "Unsupported PostgreSQL version" %}. {% blocktrans trimmed with sql_query="SELECT VERSION()" %} Ensure that PostgreSQL version 14 or later is in use. You can check this by connecting to the database using NetBox's credentials and issuing a query for {{ sql_query }}. {% endblocktrans %}

{% endblock message %}