borg-hive icon indicating copy to clipboard operation
borg-hive copied to clipboard

Watcher Inotify is crashing on repository init

Open bpereto opened this issue 4 years ago • 4 comments

Watcher crashes on repository create: borg init --encryption=repokey-blake2 bqs6jumh@localhost:test4

watcher_1  | Call failed (should not be -1): (-1) ERRNO=(0)
watcher_1  | Traceback (most recent call last):
watcher_1  |   File "/app/borghive/management/commands/watch_repositories.py", line 51, in handle
watcher_1  |     for event in i.event_gen(yield_nones=False):
watcher_1  |   File "/usr/local/lib/python3.8/site-packages/inotify/adapters.py", line 300, in event_gen
watcher_1  |     self._i.add_watch(full_path, self._mask)
watcher_1  |   File "/usr/local/lib/python3.8/site-packages/inotify/adapters.py", line 95, in add_watch
watcher_1  |     wd = inotify.calls.inotify_add_watch(self.__inotify_fd, path_bytes, mask)
watcher_1  |   File "/usr/local/lib/python3.8/site-packages/inotify/calls.py", line 34, in _check_nonnegative
watcher_1  |     raise InotifyError("Call failed (should not be -1): (%d)" %
watcher_1  | inotify.calls.InotifyError: Call failed (should not be -1): (-1) ERRNO=(0)

bpereto avatar May 08 '20 20:05 bpereto