|
@@ -246,7 +246,7 @@ Once NetBox has been configured, we're ready to proceed with the actual installa
|
|
|
|
|
|
|
|
* Create a Python virtual environment
|
|
* Create a Python virtual environment
|
|
|
* Installs all required Python packages
|
|
* Installs all required Python packages
|
|
|
-* Run database schema migrations
|
|
|
|
|
|
|
+* Run database schema migrations (skip with `--readonly`)
|
|
|
* Builds the documentation locally (for offline use)
|
|
* Builds the documentation locally (for offline use)
|
|
|
* Aggregate static resource files on disk
|
|
* Aggregate static resource files on disk
|
|
|
|
|
|
|
@@ -266,6 +266,9 @@ sudo PYTHON=/usr/bin/python3.10 /opt/netbox/upgrade.sh
|
|
|
!!! note
|
|
!!! note
|
|
|
Upon completion, the upgrade script may warn that no existing virtual environment was detected. As this is a new installation, this warning can be safely ignored.
|
|
Upon completion, the upgrade script may warn that no existing virtual environment was detected. As this is a new installation, this warning can be safely ignored.
|
|
|
|
|
|
|
|
|
|
+!!! note
|
|
|
|
|
+ To run the script on a node connected to a database in read-only mode, include the `--readonly` parameter. This will skip the application of any database migrations.
|
|
|
|
|
+
|
|
|
## Create a Super User
|
|
## Create a Super User
|
|
|
|
|
|
|
|
NetBox does not come with any predefined user accounts. You'll need to create a super user (administrative account) to be able to log into NetBox. First, enter the Python virtual environment created by the upgrade script:
|
|
NetBox does not come with any predefined user accounts. You'll need to create a super user (administrative account) to be able to log into NetBox. First, enter the Python virtual environment created by the upgrade script:
|