Actions
Bug #14400
closedUpgrade to 5.0.7 fails because rudder-upgrade script returns 1
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
#14338 breaks upgrade script
Workaound:
Edit /opt/rudder/bin/rudder-upgrade
Search for the line:
RES=$(${PSQL} -t -d ${SQL_DATABASE} -c "select reloptions from pg_class where relname='ruddersysevents'" | grep -c "autovacuum")
Add `|| true` at the end like that:
RES=$(${PSQL} -t -d ${SQL_DATABASE} -c "select reloptions from pg_class where relname='ruddersysevents'" | grep -c "autovacuum" || true)
Restart the upgrade process (for example, in debian: `apt install -f`)
Updated by Nicolas CHARLES over 5 years ago
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
Updated by Nicolas CHARLES over 5 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to Alexis Mousset
- Pull Request set to https://github.com/Normation/rudder-packages/pull/1806
Updated by Alexis Mousset over 5 years ago
- Subject changed from #14338 braks upgrade script to #14338 breaks upgrade script
Updated by Nicolas CHARLES over 5 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-packages|8b3dc03058d341823b9ec08b97e23a9ad98098e6.
Updated by François ARMAND over 5 years ago
- Subject changed from #14338 breaks upgrade script to Upgrade to 5.0.7 fails because rudder-upgrade script returns 1
- Description updated (diff)
Updated by François ARMAND over 5 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 5.0.8 which was released today.
Actions