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`)
Actions