User story #1497
closed
We need an update script for Rudder
Added by Matthieu CERDA over 13 years ago.
Updated over 9 years ago.
Description
We need an update script for Rudder
I attached a backup of an old Rudder version just before a failed upgrade.
Files
- Category set to 11
- Target version set to 18
- Target version changed from 18 to 2.4.0~alpha1
- Target version changed from 2.4.0~alpha1 to 2.4.0~alpha2
- Target version changed from 2.4.0~alpha2 to 2.4.0~alpha3
- Target version changed from 2.4.0~alpha3 to 2.4.0~alpha4
- Tracker changed from Bug to User story
- Status changed from New to In progress
- Assignee set to Jonathan CLARKE
- Status changed from In progress to Pending technical review
- % Done changed from 0 to 100
Applied in changeset commit:9cf283ecb8ca988cf0949df59c32a81ff3fd6ca9.
I have implemented a first version of this. It is installed by the rudder-webapp package as /opt/rudder/bin/rudder-upgrade, and currently contains all the commands run by rudder-webapp's postinst script, plus those I just added for #2186.
Currently, it takes no notice of which version is which, is just upgrades what it can. So far, this is only new properties in the rudder-web.properties file (harmless) and moving the PT repo to /var/rudder/configuration-repository, which is required for > 2.3.2, so it should do.
Applied in changeset commit:bd350750d28ac58ef047a6d35111abf040eb3d1a.
Well it looks awesome and it did not nuke the testing server. All clear !
- Status changed from Pending technical review to 10
- Status changed from 10 to Released
- Project changed from Rudder to 34
- Category deleted (
11)
- Project changed from 34 to Rudder
- Category set to Packaging
Also available in: Atom
PDF