-
Notifications
You must be signed in to change notification settings - Fork 500
consumer not running in Synology Docker #706
Description
I used the example files to run docker-compose the 2 containers, and the set up was successful, however the consumer container keep restarting every few seconds, and so far, no documents have been scanned.
running docker logs, I get this:
Operations to perform: Apply all migrations: admin, auth, contenttypes, documents, reminders, sessions Running migrations: No migrations to apply. Starting document consumer at /consume with inotify Traceback (most recent call last): File "/usr/src/paperless/src/manage.py", line 11, in <module> execute_from_command_line(sys.argv) File "/usr/lib/python3.8/site-packages/django/core/management/__init__.py", line 371, in execute_from_command_line utility.execute() File "/usr/lib/python3.8/site-packages/django/core/management/__init__.py", line 365, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/lib/python3.8/site-packages/django/core/management/base.py", line 288, in run_from_argv self.execute(*args, **cmd_options) File "/usr/lib/python3.8/site-packages/django/core/management/base.py", line 335, in execute output = self.handle(*args, **options) File "/usr/src/paperless/src/documents/management/commands/document_consumer.py", line 97, in handle self.loop_inotify(mail_delta) File "/usr/src/paperless/src/documents/management/commands/document_consumer.py", line 127, in loop_inotify inotify.add_watch(directory, flags.CLOSE_WRITE | flags.MOVED_TO) File "/usr/lib/python3.8/site-packages/inotify_simple/inotify_simple.py", line 110, in add_watch return _libc_call(_libc.inotify_add_watch, self.fd, path, mask) File "/usr/lib/python3.8/site-packages/inotify_simple/inotify_simple.py", line 73, in _libc_call raise OSError(errno, os.strerror(errno)) PermissionError: [Errno 13] Permission denied
Any ideas?