diff --git a/netbox/templates/exceptions/import_error.html b/netbox/templates/exceptions/import_error.html index e8ee7ae2c..3e25b5369 100644 --- a/netbox/templates/exceptions/import_error.html +++ b/netbox/templates/exceptions/import_error.html @@ -1,19 +1,19 @@ {% extends '500.html' %} {% block message %} -
- A module import error occurred during this request. Common causes include the following: -
-
- Missing required packages - This installation of NetBox might be
- missing one or more required Python packages. These packages are listed in requirements.txt
and
- local_requirements.txt
, and are normally installed as part of the installation or upgrade process.
- To verify installed packages, run pip freeze
from the console and compare the output to the list of
- required packages.
-
- WSGI service not restarted after upgrade - If this installation - has recently been upgraded, check that the WSGI service (e.g. gunicorn or uWSGI) has been restarted. This - ensures that the new code is running. -
++ A module import error occurred during this request. Common causes include the following: +
+
+ Missing required packages - This installation of NetBox might be
+ missing one or more required Python packages. These packages are listed in requirements.txt
and
+ local_requirements.txt
, and are normally installed as part of the installation or upgrade process. To
+ verify installed packages, run pip freeze
from the console and compare the output to the list of
+ required packages.
+
+ WSGI service not restarted after upgrade - If this installation has + recently been upgraded, check that the WSGI service (e.g. gunicorn or uWSGI) has been restarted. This ensures that + the new code is running. +
{% endblock message %} diff --git a/netbox/templates/exceptions/permission_error.html b/netbox/templates/exceptions/permission_error.html index dcff62bf9..6108fde52 100644 --- a/netbox/templates/exceptions/permission_error.html +++ b/netbox/templates/exceptions/permission_error.html @@ -1,12 +1,12 @@ {% extends '500.html' %} {% block message %} -- A file permission error was detected while processing this request. Common causes include the following: -
-
- Insufficient write permission to the media root - The configured
- media root is {{ settings.MEDIA_ROOT }}
. Ensure that the user NetBox runs as has access to write
- files to all locations within this path.
-
+ A file permission error was detected while processing this request. Common causes include the following: +
+
+ Insufficient write permission to the media root - The configured
+ media root is {{ settings.MEDIA_ROOT }}
. Ensure that the user NetBox runs as has access to write files
+ to all locations within this path.
+
- A database programming error was detected while processing this request. Common causes include the following: -
-
- Database migrations missing - 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
- python3 manage.py migrate
from the command line.
-
- Unsupported PostgreSQL version - Ensure that PostgreSQL version 9.6 or higher is in use. You
- can check this by connecting to the database using NetBox's credentials and issuing a query for
- SELECT VERSION()
.
-
+ A database programming error was detected while processing this request. Common causes include the following: +
+
+ Database migrations missing - 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
+ python3 manage.py migrate
from the command line.
+
+ Unsupported PostgreSQL version - Ensure that PostgreSQL version 10
+ or later is in use. You can check this by connecting to the database using NetBox's credentials and issuing a query
+ for SELECT VERSION()
.
+