Project

General

Profile

Actions

Bug #4310

closed

Upgrade to 2.9.0 fails when upgrading from 2.8/2.7 due to a missing script

Added by Vincent MEMBRÉ over 10 years ago. Updated about 9 years ago.

Status:
Released
Priority:
1
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

upgrade from Rudder 2.8 / 2.7 to 2.9.0 fails:

Setting up rudder-webapp (2.9.0-squeeze0) ...

Configuration file `/opt/rudder/etc/rudder-web.properties'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** rudder-web.properties (Y/I/N/O/D/Z) [default=N] ? 
INFO: Restarting syslog...Done
INFO: Restarting Apache HTTPd... Done
INFO: Launching script to check if a migration is needed
INFO: Checking if rudder-web.properties database access credentials are all right... LDAP OK,  SQL OK
INFO: Checking if inventory-web.properties database access credentials are all right... LDAP OK,  SQL skipped
INFO: Checking LDAP service status... OK
INFO: Checking PostgreSQL service status... OK
dpkg: error processing rudder-webapp (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of rudder-server-root:
 rudder-server-root depends on rudder-webapp (= 2.9.0-squeeze0); however:
  Package rudder-webapp is not configured yet.
dpkg: error processing rudder-server-root (--configure):
 dependency problems - leaving unconfigured
configured to not write apport reports
                                      configured to not write apport reports
                                                                            Errors were encountered while processing:
 rudder-webapp
 rudder-server-root
E: Sub-process /usr/bin/dpkg returned an error code (1)

However rudder will work right after the upgrade, all features from RUdder 2.9 will work, main problem will be that all your previous events logs and change request will not be displayed.

To workaround this:

THis due of a not packaged file for rudder-webapp


Related issues 1 (0 open1 closed)

Related to Rudder - User story #4300: Add migration script checking for fileformat 4ReleasedVincent MEMBRÉ2013-12-30Actions
Actions

Also available in: Atom PDF