Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix directory for Git Event Handler. (EventHandlerError: fatal: Not a git repository (or any of the parent directories): .git) #606

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 17, 2016

  1. Fix directory for Git Event Handler. (EventHandlerError: fatal: Not a…

    … git repository (or any of the parent directories): .git)
    
    When you enable Git support in Adagios, AND are using nonstandard
    directory base (e.g. /etc/shinken instead of /etc/nagios), it
    is not possible to create / edit configuration.
    More specifically, each time Git Handler wants to commit something,
    the Web UI fails with the following error:
    EventHandlerError: fatal: Not a git repository (or any of the parent directories): .git
    
    Root cause seems to be that the directory with which Git Handler
    is configured is not the proper one, but a default one ( /etc/nagios ),
    which is not under git control.
    
    This (simple) fix aims to correct this.
    Ludovic LANGE committed Oct 17, 2016
    Configuration menu
    Copy the full SHA
    a7a492f View commit details
    Browse the repository at this point in the history