Documentation bug: Update via Git
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
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)
Awesome, this helped me upgrade! Thank you :)
@dieck do you want me to assign to you so you can create a PR for this?
In the future please use the documentation change issue template for such issues.
@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 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!