Project

General

Profile

Actions

Bug #4062

closed

Rudder upgrade fails if you accept to replace rudder-web.properties with new default one.

Added by Dennis Cabooter about 11 years ago. Updated about 11 years ago.

Status:
Released
Priority:
2
Assignee:
Jonathan CLARKE
Category:
-
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

I get a post-installation error upgrading rudder-server-root 2.6 -> 2.7:

INFO: Checking LDAP service status............LDAP service verification failed after 10 tries. Aborting the migration.
Please restart the Rudder service, and start the migration script again:
# /etc/init.d/rudder-server-root restart
# /opt/rudder/bin/rudder-upgrade
dpkg: error processing rudder-webapp (--configure):
 subprocess installed post-installation script returned error exit status 1
[master cddc1e6] committing changes in /etc after apt run
 Author: decab <decab@winzsv015.wintershall.nl>
 3 files changed, 139 insertions(+), 72 deletions(-)
 rewrite apache2/sites-available/rudder-default (97%)
E: Sub-process /usr/bin/dpkg returned an error code (1)

I tried the provided suggestion, and it looks like that works:

 * Stopping PostgreSQL 9.1 database server                               [ OK ] 
slapd[19188]: [INFO] Using /etc/default/slapd for configuration
slapd[19193]: [INFO] Halting OpenLDAP...
slapd[19197]: [OK] OpenLDAP stopped after 1 seconds
slapd[19198]: [INFO] Launching OpenLDAP database backup...
slapd[19215]: [OK] data save in /var/rudder/ldap/backup/openldap-data-20131014131309.ldif
slapd[19217]: [INFO] Halting OpenLDAP replication...
slapd[19218]: [INFO] no replica found in configuration, aborting stopping slurpd
slapd[19230]: [INFO] Using /etc/default/slapd for configuration
slapd[19235]: [INFO] Launching OpenLDAP configuration test...
slapd[19237]: [OK] OpenLDAP configuration test successful
slapd[19238]: [INFO] Launching OpenLDAP replication...
slapd[19239]: [INFO] no replica found in configuration, aborting lauching slurpd
slapd[19240]: [INFO] no db_recover done
slapd[19241]: [INFO] Launching OpenLDAP...
slapd[19242]: [OK] file descriptor limit set to 1024
slapd[19249]: [OK] OpenLDAP started on port 389 and 636
 * Starting PostgreSQL 9.1 database server
Actions

Also available in: Atom PDF