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

Adagio on Raspberry Pi returns this and does not allow for hosts adding. #682

Open
MusaOsi opened this issue Aug 10, 2023 · 0 comments
Open

Comments

@MusaOsi
Copy link

MusaOsi commented Aug 10, 2023

I setup a new nems raspberry pi and it seems to not be working and returns this.

Traceback (most recent call last):
File "/opt/adagios/adagios/views.py", line 44, in wrapper
result = view_func(request, *args, **kwargs)
File "/opt/adagios/adagios/objectbrowser/views.py", line 742, in add_object
c['form'].save()
File "/opt/adagios/adagios/objectbrowser/forms.py", line 272, in save
self.pynag_object.save()
File "/opt/adagios/venv/lib/python3.9/site-packages/pynag/Utils/decorators.py", line 22, in newFunction
return f(*args, **kw)
File "/opt/adagios/venv/lib/python3.9/site-packages/pynag/Model/init.py", line 798, in save
self._event(level='pre_save', message="%s '%s'." % (self.object_type, self['shortname']))
File "/opt/adagios/venv/lib/python3.9/site-packages/pynag/Model/init.py", line 1534, in _event
i.pre_save(object_definition=self, message=message)
File "/opt/adagios/venv/lib/python3.9/site-packages/pynag/Model/EventHandlers/init.py", line 219, in pre_save
if self._is_dirty(filename):
File "/opt/adagios/venv/lib/python3.9/site-packages/pynag/Model/EventHandlers/init.py", line 238, in _is_dirty
output = self._run_command(command)
File "/opt/adagios/venv/lib/python3.9/site-packages/pynag/Model/EventHandlers/init.py", line 173, in _run_command
raise EventHandlerError(errorstring, errorcode=returncode, errorstring=stderr)
pynag.Model.EventHandlers.EventHandlerError: fatal: not a git repository (or any of the parent directories): .git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant