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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

larsen0815
Copy link

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

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
Author

Choose a reason for hiding this comment

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

Thanks, fixed

@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve upgrade instructions
2 participants