Project

General

Profile

Bug #10990

When installing Rudder-Webapp, postinst script runs rudder-upgrade before initializing the git, and it can fail

Added by Nicolas CHARLES 3 months ago. Updated about 1 month ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Target version (plugin):
Severity:
Major - prevents use of part of Rudder | no simple workaround
User visibility:
Getting started - demo | first install | level 1 Techniques
Effort required:
Priority:
69

Description

During install of Rudder 4.2 (may happen on other version also), there's an error on rudder-upgrade script

+ for hook_file in 10_commit.sh 50_rudderify.sh 90_reload.sh
+ hook=ncf-hooks.d/post.write_technique.10_commit.sh
+ '[' -f ncf-hooks.d/post.write_technique.10_commit.sh ']'
+ git add ncf-hooks.d/post.write_technique.10_commit.sh
fatal: Not a git repository (or any of the parent directories): .git

indeed, /var/rudder/configuration-repository is not yet a git repository, so it fails

Associated revisions

Revision 03cff86e
Added by Alexis MOUSSET 3 months ago

Fixes #10990: When installing Rudder-Webapp, postinst script runs rudder-upgrade before initializing the git, and it can fail

History

#1 Updated by Benoît PECCATTE 3 months ago

  • Severity changed from Critical - prevents main use of Rudder | no workaround | data loss | security to Major - prevents use of part of Rudder | no simple workaround
  • Priority changed from 0 to 54

#2 Updated by Benoît PECCATTE 3 months ago

  • Priority changed from 54 to 70

#3 Updated by Alexis MOUSSET 3 months ago

  • Target version set to 4.1.6

#4 Updated by Alexis MOUSSET 3 months ago

  • Status changed from New to In progress

#5 Updated by Alexis MOUSSET 3 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis MOUSSET to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/1367

#6 Updated by Alexis MOUSSET 3 months ago

  • Status changed from Pending technical review to Pending release

#7 Updated by Vincent MEMBRÉ about 1 month ago

  • Status changed from Pending release to Released
  • Priority changed from 70 to 69

This bug has been fixed in Rudder 4.1.6 and 4.2.0~beta3 which were released today.

Also available in: Atom PDF