Project

General

Profile

Bug #14827

Error when upgrading to Rudder 5.0.10 using centos7 with custom postgresql

Added by Nicolas CHARLES 4 months ago. Updated 4 months ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

Description

I have postgresql 11, and during update, i have the following error

  Mise à jour  : 1398866025:rudder-reports-5.0.10.rc1.git201905030536-1.EL.7.noarch                                                                                                                                                     10/22 
Unit postgresql.service could not be found.
INFO: Initializing PostgreSQL ...Data directory is not empty!

 Done
Failed to start postgresql.service: Unit not found.
INFO: Setting PostgreSQL as a boot service...Failed to execute operation: No such file or directory
 Done
INFO: Waiting for PostgreSQL to be up... Done

Related issues

Related to Rudder - Bug #6403: Postgresql misconfigured when not the default distrib package (ex: Centos 6 with Postgresql 9.3 from pgfoundry.org)ReleasedActions
Related to Rudder - Bug #13564: Correct postgresql service detectionReleasedActions

Associated revisions

Revision eb63cba7 (diff)
Added by Nicolas CHARLES 4 months ago

Fixes #14827: Error when upgrading to Rudder 5.0.10 using centos7 with custom postgresql

History

#1

Updated by Nicolas CHARLES 4 months ago

  • Subject changed from Error when upgrading to Rudder 5.0.10 using centos7 to Error when upgrading to Rudder 5.0.10 using centos7 with custom postgresql
  • Description updated (diff)
#2

Updated by Nicolas CHARLES 4 months ago

  • Related to Bug #6403: Postgresql misconfigured when not the default distrib package (ex: Centos 6 with Postgresql 9.3 from pgfoundry.org) added
#3

Updated by Nicolas CHARLES 4 months ago

ok, it's because

%if 0%{?suse_version} < 1500
  POSTGRESQL_SERVICE_NAME=$(chkconfig 2>/dev/null | awk '{ print $1 }' | grep "postgresql" | tail -n 1)
%endif

evaluates to if 0 < 1500 on non suse_system ( see http://lists.rpm.org/pipermail/rpm-list/2009-January/000140.html )

#4

Updated by Nicolas CHARLES 4 months ago

  • Related to Bug #13564: Correct postgresql service detection added
#5

Updated by Nicolas CHARLES 4 months ago

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES
#6

Updated by Nicolas CHARLES 4 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/1893
#7

Updated by Rudder Quality Assistant 4 months ago

  • Assignee changed from Benoît PECCATTE to Nicolas CHARLES
#8

Updated by Nicolas CHARLES 4 months ago

  • Status changed from Pending technical review to Pending release
#9

Updated by Vincent MEMBRÉ 4 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 5.0.10 which was released today.

Also available in: Atom PDF