Browse Source

Add instruction for checking out an older release

jeremystretch 3 years ago
parent
commit
dadec9d3cb
1 changed files with 6 additions and 1 deletions
  1. 6 1
      docs/installation/upgrading.md

+ 6 - 1
docs/installation/upgrading.md

@@ -6,7 +6,7 @@ Prior to upgrading your NetBox instance, be sure to carefully review all [releas
 
 
 ## Update Dependencies to Required Versions
 ## Update Dependencies to Required Versions
 
 
-NetBox v3.0 and later requires the following:
+NetBox v3.0 and later require the following:
 
 
 | Dependency | Minimum Version |
 | Dependency | Minimum Version |
 |------------|-----------------|
 |------------|-----------------|
@@ -67,6 +67,11 @@ sudo git checkout master
 sudo git pull origin master
 sudo git pull origin master
 ```
 ```
 
 
+!!! info "Checking out an older release"
+    If you need to upgrade to an older version rather than the current stable release, you can check out any valid [git tag](https://github.com/netbox-community/netbox/tags), each of which represents a release. For example, to checkout the code for NetBox v2.11.11, do:
+
+        sudo git checkout v2.11.11
+
 ## Run the Upgrade Script
 ## Run the Upgrade Script
 
 
 Once the new code is in place, verify that any optional Python packages required by your deployment (e.g. `napalm` or `django-auth-ldap`) are listed in `local_requirements.txt`. Then, run the upgrade script:
 Once the new code is in place, verify that any optional Python packages required by your deployment (e.g. `napalm` or `django-auth-ldap`) are listed in `local_requirements.txt`. Then, run the upgrade script: