Skip to content

Fixes #19502: Improve upgrade instructions #19516

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 21, 2025

Conversation

larsen0815
Copy link
Contributor

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).

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
sudo git checkout v4.2.7
cd /opt/netbox && \
sudo git fetch && \
sudo git checkout v2.4.7
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Drive-by comment: It looks like the version might have been changed unintentionally. You might want to either revert it to v4.2.7 as it was, or update it to the most recent version.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, fixed

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@jnovinger jnovinger requested review from a team and bctiemann and removed request for a team May 16, 2025 16:41
@jeremystretch jeremystretch requested review from a team and removed request for a team May 19, 2025 12:42
@bctiemann bctiemann merged commit 98d9e7f into netbox-community:main May 21, 2025
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve upgrade instructions
3 participants