Project

General

Profile

Actions

Bug #17878

closed

All plugins are disabled after a minor upgrade

Added by Félix DALLIDET over 4 years ago. Updated about 4 years ago.

Status:
Released
Priority:
N/A
Category:
Plugins integration
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
First impressions of Rudder
Effort required:
Priority:
94
Name check:
To do
Fix check:
Checked
Regression:

Description

When doing a minor upgrade of the server, all plugins are disabled before the upgrade and not re-enabled afterward.
This is very misleading for the users.
It displays the following error message:

********************************************************************************
Due to incompatibility reasons for this specific version all plugins have been
disabled. Make sure to update your repo index and install the latest version of
your plugins before re-enabling them.

You can use the following commands to upgrade your plugins:
rudder package update
rudder package upgrade-all
********************************************************************************

But running the given commands will not solve anything when applying a minor update.
It will only work on major ones.

It happens when upgrading from 6.0.6 to 6.0.8-nightly

But the plugins should not be changed in a minor update. I think this is an unclean workaround when we broke plugin compatibility in 6.0.4.
We should most likely either:
  • State than an upgrade disabled all plugins and let the user re-enabled them manually
  • Save the plugin state before update and try to re-enable them. This need to differentiate the minor upgrades from the major ones.

Subtasks 2 (0 open2 closed)

Bug #17947: Document how to enable/upgrade plugins after rudder upgradeReleasedAlexis MoussetActions
Bug #18311: Changes to rudder package command to improve plugin managementReleasedAlexis MoussetActions

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #16792: When upgrading to 6.0.3 the packaging should disable all installed pluginsReleasedNicolas CHARLESActions
Actions

Also available in: Atom PDF