[PR #19516] [MERGED] Fixes #19502: Improve upgrade instructions #15664

Closed
opened 2025-12-30 00:23:17 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/19516
Author: @larsen0815
Created: 5/16/2025
Status: Merged
Merged: 5/21/2025
Merged by: @bctiemann

Base: mainHead: patch-2


📝 Commits (2)

📊 Changes

1 file changed (+3 additions, -1 deletions)

View changed files

📝 docs/installation/upgrading.md (+3 -1)

📄 Description

Fixes: #19502

  • Explicitly change the directory so the user doesn't have to do this manually (any users not using the default installation directory should notice and adapt accordingly)
  • Use "git fetch" to prevent error: pathspec 'v4.3.1' did not match any file(s) known to git. This seems to be a common problem (1, 2, 3).

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/19516 **Author:** [@larsen0815](https://github.com/larsen0815) **Created:** 5/16/2025 **Status:** ✅ Merged **Merged:** 5/21/2025 **Merged by:** [@bctiemann](https://github.com/bctiemann) **Base:** `main` ← **Head:** `patch-2` --- ### 📝 Commits (2) - [`83dc65a`](https://github.com/netbox-community/netbox/commit/83dc65acb51d9ba0d8e9682c75716f227e78cb25) Improve upgrade instructions - [`21f5fe8`](https://github.com/netbox-community/netbox/commit/21f5fe873c69ca972ce78dee3478466560cb40ea) Fixes typo ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/installation/upgrading.md` (+3 -1) </details> ### 📄 Description ### Fixes: #19502 * Explicitly change the directory so the user doesn't have to do this manually (any users not using the default installation directory should notice and adapt accordingly) * Use "git fetch" to prevent ```error: pathspec 'v4.3.1' did not match any file(s) known to git```. This seems to be a common problem ([1](https://github.com/netbox-community/netbox/discussions/12224), [2](https://github.com/netbox-community/netbox/discussions/9125), [3](https://www.reddit.com/r/Netbox/comments/1k9qruy/cannot_upgrade_from_git/)). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 00:23:17 +01:00
adam closed this issue 2025-12-30 00:23:17 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15664