programming_error.html 982 B

123456789101112131415161718192021222324
  1. {% extends '500.html' %}
  2. {% load i18n %}
  3. {% block message %}
  4. <p>
  5. {% trans "A database programming error was detected while processing this request. Common causes include the following:" %}
  6. </p>
  7. <p>
  8. <i class="mdi mdi-alert"></i>
  9. <strong>{% trans "Database migrations missing" %}.</strong>
  10. {% blocktrans trimmed %}
  11. When upgrading to a new NetBox release, the upgrade script must be run to apply any new database migrations. You
  12. can run migrations manually by executing <code>python3 manage.py migrate</code> from the command line.
  13. {% endblocktrans %}
  14. </p>
  15. <p>
  16. <i class="mdi mdi-alert"></i>
  17. <strong>{% trans "Unsupported PostgreSQL version" %}.</strong>
  18. {% blocktrans trimmed %}
  19. Ensure that PostgreSQL version 12 or later is in use. You can check this by connecting to the database using
  20. NetBox's credentials and issuing a query for <code>SELECT VERSION()</code>.
  21. {% endblocktrans %}
  22. </p>
  23. {% endblock message %}