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 almost 7 years ago. Updated over 6 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

Also available in: Atom PDF