Skip to content
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

[Backport release-24.11] nixos/netbox: clear old static files on upgrade #358101

Merged
merged 2 commits into from
Nov 22, 2024

Conversation

github-actions[bot]
Copy link
Contributor

Bot-based backport to release-24.11, triggered by a label in #354036.

  • Before merging, ensure that this backport is acceptable for the release.
    • Even as a non-commiter, if you find that it is not acceptable, leave a comment.

This fixes an issue where upgrading NetBox didn't correctly clean old
files, and the interface wasn't correct / didn't show object relations.

(cherry picked from commit ff6d89a)
This makes it so that the upgrade script also runs when the
configuration changed, or when plugins were added.

This is also a hack to force everyone to run the upgrade script again,
since static files might have been copied incorrectly (see parent commit)

(cherry picked from commit fe58368)
Copy link
Member

@minijackson minijackson left a comment

Choose a reason for hiding this comment

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

Tested by manually running the netbox-upgrade test, and checking that the web UI is working

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 358101


x86_64-linux

⏩ 1 package blacklisted:
  • nixos-install-tools

@minijackson minijackson merged commit 7ede593 into release-24.11 Nov 22, 2024
@minijackson minijackson deleted the backport-354036-to-release-24.11 branch November 22, 2024 11:03
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.

1 participant