Project

General

Profile

Actions

Bug #10990

closed

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

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

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

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

Actions #1

Updated by Benoît PECCATTE over 7 years 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
Actions #2

Updated by Benoît PECCATTE over 7 years ago

  • Priority changed from 54 to 70
Actions #3

Updated by Alexis Mousset over 7 years ago

  • Target version set to 4.1.6
Actions #4

Updated by Alexis Mousset over 7 years ago

  • Status changed from New to In progress
Actions #5

Updated by Alexis Mousset over 7 years 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
Actions #6

Updated by Alexis Mousset over 7 years ago

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

Updated by Vincent MEMBRÉ over 7 years 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.

Actions

Also available in: Atom PDF