Project

General

Profile

Actions

Bug #14827

closed

Error when upgrading to Rudder 5.0.10 using centos7 with custom postgresql

Added by Nicolas CHARLES over 5 years ago. Updated over 5 years ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

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 2 (0 open2 closed)

Related to Rudder - Bug #6403: Postgresql misconfigured when not the default distrib package (ex: Centos 6 with Postgresql 9.3 from pgfoundry.org)ReleasedNicolas CHARLESActions
Related to Rudder - Bug #13564: Correct postgresql service detectionReleasedBenoît PECCATTEActions
Actions #1

Updated by Nicolas CHARLES over 5 years 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)
Actions #2

Updated by Nicolas CHARLES over 5 years ago

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

Updated by Nicolas CHARLES over 5 years 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 )

Actions #4

Updated by Nicolas CHARLES over 5 years ago

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

Updated by Nicolas CHARLES over 5 years ago

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

Updated by Nicolas CHARLES over 5 years 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
Actions #7

Updated by Rudder Quality Assistant over 5 years ago

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

Updated by Nicolas CHARLES over 5 years ago

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

Updated by Vincent MEMBRÉ over 5 years ago

  • Status changed from Pending release to Released

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

Actions

Also available in: Atom PDF