mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Closes #10358: Raise minimum required PostgreSQL version from 10 to 11
This commit is contained in:
@ -25,7 +25,7 @@ ALLOWED_HOSTS = ['*']
|
|||||||
|
|
||||||
## DATABASE
|
## DATABASE
|
||||||
|
|
||||||
NetBox requires access to a PostgreSQL 10 or later database service to store data. This service can run locally on the NetBox server or on a remote system. The following parameters must be defined within the `DATABASE` dictionary:
|
NetBox requires access to a PostgreSQL 11 or later database service to store data. This service can run locally on the NetBox server or on a remote system. The following parameters must be defined within the `DATABASE` dictionary:
|
||||||
|
|
||||||
* `NAME` - Database name
|
* `NAME` - Database name
|
||||||
* `USER` - PostgreSQL username
|
* `USER` - PostgreSQL username
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
This section entails the installation and configuration of a local PostgreSQL database. If you already have a PostgreSQL database service in place, skip to [the next section](2-redis.md).
|
This section entails the installation and configuration of a local PostgreSQL database. If you already have a PostgreSQL database service in place, skip to [the next section](2-redis.md).
|
||||||
|
|
||||||
!!! warning "PostgreSQL 10 or later required"
|
!!! warning "PostgreSQL 11 or later required"
|
||||||
NetBox requires PostgreSQL 10 or later. Please note that MySQL and other relational databases are **not** supported.
|
NetBox requires PostgreSQL 11 or later. Please note that MySQL and other relational databases are **not** supported.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@ -35,7 +35,7 @@ sudo systemctl start postgresql
|
|||||||
sudo systemctl enable postgresql
|
sudo systemctl enable postgresql
|
||||||
```
|
```
|
||||||
|
|
||||||
Before continuing, verify that you have installed PostgreSQL 10 or later:
|
Before continuing, verify that you have installed PostgreSQL 11 or later:
|
||||||
|
|
||||||
```no-highlight
|
```no-highlight
|
||||||
psql -V
|
psql -V
|
||||||
|
@ -18,7 +18,7 @@ The following sections detail how to set up a new instance of NetBox:
|
|||||||
| Dependency | Minimum Version |
|
| Dependency | Minimum Version |
|
||||||
|------------|-----------------|
|
|------------|-----------------|
|
||||||
| Python | 3.8 |
|
| Python | 3.8 |
|
||||||
| PostgreSQL | 10 |
|
| PostgreSQL | 11 |
|
||||||
| Redis | 4.0 |
|
| Redis | 4.0 |
|
||||||
|
|
||||||
Below is a simplified overview of the NetBox application stack for reference:
|
Below is a simplified overview of the NetBox application stack for reference:
|
||||||
|
@ -20,7 +20,7 @@ NetBox v3.0 and later require the following:
|
|||||||
| Dependency | Minimum Version |
|
| Dependency | Minimum Version |
|
||||||
|------------|-----------------|
|
|------------|-----------------|
|
||||||
| Python | 3.8 |
|
| Python | 3.8 |
|
||||||
| PostgreSQL | 10 |
|
| PostgreSQL | 11 |
|
||||||
| Redis | 4.0 |
|
| Redis | 4.0 |
|
||||||
|
|
||||||
## 3. Install the Latest Release
|
## 3. Install the Latest Release
|
||||||
@ -28,16 +28,15 @@ NetBox v3.0 and later require the following:
|
|||||||
As with the initial installation, you can upgrade NetBox by either downloading the latest release package or by cloning the `master` branch of the git repository.
|
As with the initial installation, you can upgrade NetBox by either downloading the latest release package or by cloning the `master` branch of the git repository.
|
||||||
|
|
||||||
!!! warning
|
!!! warning
|
||||||
Use the same method as you used to install Netbox originally
|
Use the same method as you used to install NetBox originally
|
||||||
|
|
||||||
If you are not sure how Netbox was installed originally, check with this
|
If you are not sure how NetBox was installed originally, check with this command:
|
||||||
command:
|
|
||||||
|
|
||||||
```
|
```
|
||||||
ls -ld /opt/netbox /opt/netbox/.git
|
ls -ld /opt/netbox /opt/netbox/.git
|
||||||
```
|
```
|
||||||
|
|
||||||
If Netbox was installed from a release package, then `/opt/netbox` will be a
|
If NetBox was installed from a release package, then `/opt/netbox` will be a
|
||||||
symlink pointing to the current version, and `/opt/netbox/.git` will not
|
symlink pointing to the current version, and `/opt/netbox/.git` will not
|
||||||
exist. If it was installed from git, then `/opt/netbox` and
|
exist. If it was installed from git, then `/opt/netbox` and
|
||||||
`/opt/netbox/.git` will both exist as normal directories.
|
`/opt/netbox/.git` will both exist as normal directories.
|
||||||
|
@ -74,6 +74,6 @@ NetBox is built on the [Django](https://djangoproject.com/) Python framework and
|
|||||||
| HTTP service | nginx or Apache |
|
| HTTP service | nginx or Apache |
|
||||||
| WSGI service | gunicorn or uWSGI |
|
| WSGI service | gunicorn or uWSGI |
|
||||||
| Application | Django/Python |
|
| Application | Django/Python |
|
||||||
| Database | PostgreSQL 10+ |
|
| Database | PostgreSQL 11+ |
|
||||||
| Task queuing | Redis/django-rq |
|
| Task queuing | Redis/django-rq |
|
||||||
| Live device access | NAPALM (optional) |
|
| Live device access | NAPALM (optional) |
|
||||||
|
@ -1,5 +1,12 @@
|
|||||||
# NetBox v3.4
|
# NetBox v3.4
|
||||||
|
|
||||||
|
!!! warning "PostgreSQL 11 Required"
|
||||||
|
NetBox v3.4 requires PostgreSQL 11 or later.
|
||||||
|
|
||||||
### Plugins API
|
### Plugins API
|
||||||
|
|
||||||
* [#10314](https://github.com/netbox-community/netbox/issues/10314) - Move `clone()` method from NetBoxModel to CloningMixin
|
* [#10314](https://github.com/netbox-community/netbox/issues/10314) - Move `clone()` method from NetBoxModel to CloningMixin
|
||||||
|
|
||||||
|
### Other Changes
|
||||||
|
|
||||||
|
* [#10358](https://github.com/netbox-community/netbox/issues/10358) - Raise minimum required PostgreSQL version from 10 to 11
|
||||||
|
Reference in New Issue
Block a user