Skip to content

Commit

Permalink
Fixes #18742: Remove plugin notice during upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
VinceMacBuche committed Dec 4, 2020
1 parent ff574c8 commit d027b0c
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions rudder-webapp/SOURCES/rudder-webapp-postinst
Original file line number Diff line number Diff line change
Expand Up @@ -172,26 +172,7 @@ echo "Done"
# Adjust permissions on /var/rudder/configuration-repository
/opt/rudder/bin/rudder-fix-repository-permissions >> ${LOG_FILE}

# Restore the plugins and checking them
# Each step may fail, but we don't want to stop the migration at a plugin failure
if [ -f /tmp/rudder-plugins-upgrade ]
then
# For 6.0.3 only we disable all installed plugins at install time since they
# are not compatible
#rudder package plugin restore-status < /tmp/rudder-plugins-upgrade || true
#rudder package check-compatibility || true
echo "********************************************************************************"
echo "Due to incompatibility reasons for this specific version all plugins have been"
echo "disabled. Make sure to update your repo index and install the latest version of"
echo "your plugins before re-enabling them."
echo ""
echo "You can use the following commands to upgrade your plugins:"
echo "rudder package update"
echo "rudder package upgrade-all"
echo "********************************************************************************"

rudder package rudder-postupgrade || true
fi
rudder package rudder-postupgrade || true

cd /
[ -f /tmp/rudder-hooks-upgrade ] && setfacl --restore=/tmp/rudder-hooks-upgrade
Expand Down

0 comments on commit d027b0c

Please sign in to comment.