Documentation bug: Update via Git #11326

Closed
opened 2025-12-29 21:43:40 +01:00 by adam · 6 comments
Owner

Originally created by @dieck on GitHub (Jun 27, 2025).

Originally assigned to: @dieck on GitHub.

Deployment Type

Self-hosted

NetBox Version

v4.2.8

Python Version

3.10

Steps to Reproduce

As per https://netboxlabs.com/docs/netbox/installation/upgrading/, Option B: Check Out a Git Release:
=> Current version is v4.3.3

Next step:
cd /opt/netbox && sudo git fetch && sudo git checkout v4.3.3
=> error: pathspec 'v4.3.3' did not match any file(s) known to git

(on Ubuntu 22.04LTS, git v2.34.1)

Expected Behavior

Checkout requested version

Observed Behavior

Git raised an error:
error: pathspec 'v4.3.3' did not match any file(s) known to git

Originally created by @dieck on GitHub (Jun 27, 2025). Originally assigned to: @dieck on GitHub. ### Deployment Type Self-hosted ### NetBox Version v4.2.8 ### Python Version 3.10 ### Steps to Reproduce As per https://netboxlabs.com/docs/netbox/installation/upgrading/, Option B: Check Out a Git Release: => Current version is v4.3.3 Next step: cd /opt/netbox && sudo git fetch && sudo git checkout v4.3.3 => error: pathspec 'v4.3.3' did not match any file(s) known to git (on Ubuntu 22.04LTS, git v2.34.1) ### Expected Behavior Checkout requested version ### Observed Behavior Git raised an error: error: pathspec 'v4.3.3' did not match any file(s) known to git
adam added the status: acceptedtype: documentationcomplexity: low labels 2025-12-29 21:43:40 +01:00
adam closed this issue 2025-12-29 21:43:41 +01:00
Author
Owner

@dieck commented on GitHub (Jun 27, 2025):

Solution: git fetch needs --tags

Fix is simple: 5efade4a81
(but policy does not allow me to pull request until this issue is accepted and assigned)

@dieck commented on GitHub (Jun 27, 2025): Solution: git fetch needs --tags Fix is simple: https://github.com/dieck/netbox/commit/5efade4a81bdfad55a7b57732089b52ef751a6b0 (but policy does not allow me to pull request until this issue is accepted and assigned)
Author
Owner

@Mattz0r commented on GitHub (Jun 27, 2025):

Awesome, this helped me upgrade! Thank you :)

@Mattz0r commented on GitHub (Jun 27, 2025): Awesome, this helped me upgrade! Thank you :)
Author
Owner

@arthanson commented on GitHub (Jun 30, 2025):

@dieck do you want me to assign to you so you can create a PR for this?

@arthanson commented on GitHub (Jun 30, 2025): @dieck do you want me to assign to you so you can create a PR for this?
Author
Owner

@jeremystretch commented on GitHub (Jun 30, 2025):

In the future please use the documentation change issue template for such issues.

@jeremystretch commented on GitHub (Jun 30, 2025): In the future please use the [documentation change](https://github.com/netbox-community/netbox/issues/new?template=03-documentation_change.yaml) issue template for such issues.
Author
Owner

@dieck commented on GitHub (Jun 30, 2025):

@dieck do you want me to assign to you so you can create a PR for this?

Hi!
If you need me to, I can do that.
If you have a simplier way of adding those 7 chars (including space ;)), feel free to do so :)

In the future please use the documentation change issue template for such issues.

Sorry, must have missed this, if I come upon something else, I will try to remember!

@dieck commented on GitHub (Jun 30, 2025): > [@dieck](https://github.com/dieck) do you want me to assign to you so you can create a PR for this? Hi! If you need me to, I can do that. If you have a simplier way of adding those 7 chars (including space ;)), feel free to do so :) > In the future please use the [documentation change](https://github.com/netbox-community/netbox/issues/new?template=03-documentation_change.yaml) issue template for such issues. Sorry, must have missed this, if I come upon something else, I will try to remember!
Author
Owner

@jnovinger commented on GitHub (Jul 2, 2025):

@dieck do you want me to assign to you so you can create a PR for this?

Hi! If you need me to, I can do that. If you have a simplier way of adding those 7 chars (including space ;)), feel free to do so :)

@dieck , I went ahead and created a PR from the branch/change you linked. Thanks!

@jnovinger commented on GitHub (Jul 2, 2025): > > [@dieck](https://github.com/dieck) do you want me to assign to you so you can create a PR for this? > > Hi! If you need me to, I can do that. If you have a simplier way of adding those 7 chars (including space ;)), feel free to do so :) @dieck , I went ahead and created a PR from the branch/change you linked. Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11326