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
Fixes #17878: All plugins are disabled after a minor upgrade #2368
Fixes #17878: All plugins are disabled after a minor upgrade #2368
Conversation
PR updated with a new commit |
rudder-webapp/SOURCES/rudder-upgrade
Outdated
#rudder package check-compatibility | ||
rudder package plugin disable-all | ||
rudder package rudder-postupgrade | ||
rudder package licenses |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you add a STEP
# are not compatible | ||
#rudder package check-compatibility | ||
rudder package plugin disable-all | ||
rudder package rudder-postupgrade |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
STEP="Upgrade all plugins if necessary"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is necessary to had a STEP name for error handling
PR updated with a new commit |
rudder-webapp/SOURCES/rudder-upgrade
Outdated
rudder package plugin disable-all | ||
rudder package rudder-postupgrade | ||
STEP="Upgrade all plugins" | ||
rudder package licenses || true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
an if rudder package test-connection
would allow displaying error messages only when needed (i.e. connection works but plugin management fails)
PR updated with a new commit |
rudder-webapp/SOURCES/rudder-upgrade
Outdated
rudder package rudder-postupgrade | ||
STEP="Upgrade all plugins" | ||
if rudder-package check-connection >/dev/null 2>&1 ; then | ||
rudder package licenses || true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need for licences command anymore
PR updated with a new commit |
This PR is not mergeable to upper versions. |
OK, squash merging this PR |
d937540
to
3ed1d8f
Compare
https://issues.rudder.io/issues/17878