Project

General

Profile

Actions

Bug #2360

closed

rudder-upgrade script fail to execute and make installation of rudder-webapp package to fail

Added by Nicolas PERRON over 12 years ago. Updated over 9 years ago.

Status:
Released
Priority:
1 (highest)
Assignee:
Nicolas PERRON
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

On Debian Squeeze but could also be the same on SLES

[..]
++ grep isActivated /opt/rudder/etc/openldap/slapd.conf
+ RES=0
+ '[' 0 -ne 0 -a -e /opt/rudder/etc/openldap/slapd.conf.rpmnew ']'
++ wc -l
++ grep -Ei '^policyInstanceId::? '
++ /opt/rudder/sbin/slapcat
+ OLD_LDAP_TEST=0
+ '[' 0 -ne 0 ']'
+ '[' -d /var/rudder/configuration-repository/policy-templates -a '!' -d /var/rudder/configuration-repository/techniques ']'
+ '[' -d /var/rudder/configuration-repository/configuration-rules -a '!' -d /var/rudder/configuration-repository/rules ']'
+ '[' -d /var/rudder/configuration-repository/policy-library -a '!' -d /var/rudder/configuration-repository/directives ']'
+ sed -i 's/^rudder.dir.policyPackages *=/rudder.dir.techniques=/' /opt/rudder/etc/rudder-web.properties
+ sed -i 's/^rudder.batch.ptlib.updateInterval *=/rudder.batch.techniqueLibrary.updateInterval=/' /opt/rudder/etc/rudder-web.properties
+ sed -i 's/^rudder.ptlib.git.refs.path *=/rudder.techniqueLibrary.git.refs.path=/' /opt/rudder/etc/rudder-web.properties
+ diff -Naur /opt/rudder/share/techniques/system/ /var/rudder/configuration-repository/techniques/system/
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; however:
  Package rudder-webapp is not configured yet.
dpkg: error processing rudder-server-root (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 rudder-webapp
 rudder-server-root
Actions

Also available in: Atom PDF