Skip to content

Commit 98d9e7f

Browse files
authored
Merge pull request #19516 from larsen0815/patch-2
Fixes #19502: Improve upgrade instructions
2 parents 51d046b + 21f5fe8 commit 98d9e7f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/installation/upgrading.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ sudo cp /opt/netbox-$OLDVER/gunicorn.py /opt/netbox/
122122

123123
### Option B: Check Out a Git Release
124124

125-
This guide assumes that NetBox is installed at `/opt/netbox`. First, determine the latest release either by visiting our [releases page](https://github.com/netbox-community/netbox/releases) or by running the following command:
125+
This guide assumes that NetBox is installed in `/opt/netbox`. First, determine the latest release either by visiting our [releases page](https://github.com/netbox-community/netbox/releases) or by running the following command:
126126

127127
```
128128
git ls-remote --tags https://github.com/netbox-community/netbox.git \
@@ -134,6 +134,8 @@ git ls-remote --tags https://github.com/netbox-community/netbox.git \
134134
Check out the desired release by specifying its tag. For example:
135135

136136
```
137+
cd /opt/netbox && \
138+
sudo git fetch && \
137139
sudo git checkout v4.2.7
138140
```
139141

0 commit comments

Comments
 (0)