Actions
Bug #18694
closedBug #18645: Upgrading 6.2 nightly to 6.2 nightly with plugins fails
Rudder-pkg fails at upgrade when no newer version of a plugin are available
Status:
Released
Priority:
N/A
Assignee:
Category:
Plugins integration
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
Description
it shows an error like so:
INFO: Launching script to check if a migration is needed ... /opt/rudder/bin/rudder-upgrade: line 618: [: missing `]' /opt/rudder/bin/rudder-upgrade: line 618: 0: command not found Traceback (most recent call last): File "/opt/rudder/share/commands/package", line 124, in <module> rudderPkg.upgrade_all("release") File "/opt/rudder/share/python/rudder-pkg/rudderPkg.py", line 365, in upgrade_all if currentVersion < latestVersion: UnboundLocalError: local variable 'latestVersion' referenced before assignment Job for rudder-jetty.service failed because the control process exited with error code. See "systemctl status rudder-jetty.service" and "journalctl -xe" for details. Done
Actions