Search the Community

Showing results for 'Redis password' in content posted in [Support] Paperless-ng Docker.

  • Search By Author

Content Type


Forums

  • Company
    • Announcements
    • Pre-Sales Support
    • Unraid Blog and Uncast Show Discussion
    • Unraid Polls
    • Forum Feedback
  • Unraid OS 6 Support
    • General Support
    • Bug Reports
    • Security
    • File Sharing Protocol Support
    • Feature Requests
  • Unraid Connect
    • Connect Plugin Support
    • Feedback
    • Feature Polls for Connect Users
  • Application Support
    • Docker Engine
    • Docker Containers
    • VM Engine (KVM)
    • VM Templates
    • Plugin System
    • Plugin Support
    • Programming
  • Community
    • Lounge
    • Guides
    • User Customizations
    • Unraid Compulsive Design
    • Hardware
    • Motherboards and CPUs
    • Storage Devices and Controllers
    • Good Deals!
    • Buy, Sell, Trade
    • Vendor Forums
    • Virtualizing Unraid
  • Multi-Lang Forums
    • General
    • Deutsch
    • Chinese / 简体中文
    • French / Français
    • Spanish / Español
    • Portuguese / Português
    • Dutch / Nederlands
    • Italian / Italiano
    • Arabic / عربي
    • Polish / Polski
    • Swedish / Svenska
    • Korean/ 한글
    • Ukrainain / український
    • Norwegian / Norsk
    • Japanese / 日本語
    • Russian / русский
  • Legacy Support (unRAID 5 and Older)
    • General Support (V5 and Older)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Member Title


Gender


URL


Location


ICQ


AIM


YIM


MSN Messenger


Personal Text

  1. Overview: Dedicated support thread for the Docker template paperless-ng provided via the selfhosters/unRAID-CA-templates repository. Project Page: https://github.com/jonaswinkler/paperless-ng Documentation: https://paperless-ng.readthedocs.io/en/latest/ Registry: https://hub.docker.com/r/jonaswinkler/paperless-ng/ Changelog: https://paperless-ng.readthedocs.io/en/latest/changelog.html This is the official paperless-ng Docker support thread. Feel free to ask questions, share your experience with paperless-ng or describe your paperless setup at home. I try to update this main post regularly based on your feedback. From here on, I will use the terms paperless and paperless-ng interchangeable. 1. What is paperless-ng and how does it differ from the original paperless? Paperless-ng is a fork of paperless, adding a new interface and many other changes under the hood. The original project paperless hasn't received a lot of updates and bug fixes in the past. Even pull requests are not merged for some time now (Update: 26.08.2021, The old paperless repository has been archived). Here are a few key features of paperless-ng: New front end build with Angular. It features full text search with scored and highlighted results, savable filters, a dashboard, and document uploading on the landing page Mobile support is also almost there. Some layouts don't work yet on small screens New mail consumer that supports multiple accounts and custom filters and actions. Fully tested! Paperless-ng trains a neural network on your documents and assigns tags and correspondents automatically, if you instruct it to do so Updated dependencies More tests of critical backend parts A proper task processing queue that can consume multiple documents in parallel. Consumption of many documents is now blazing fast on multi core system. Fixed much of the consumer code, so that it does not block the database during consumption, for instance 2. How to Install Download and install a Redis container from the community application store (CA) Download and configure the paperless-ng container from the CA Make sure you point the container to your Redis instance. Use your actual IP and not localhost, because the reference is resolved in the container. In case you need to pass a password to Redis, use the following connection string redis://:[PASSWORD]@[IP]:6379 instead. At the moment Redis doesn't support users and only provides authentication against a global password. You can pass anything as a username, including the empty string as in my example here. To configure a password for your Redis container, set 'redis-server --requirepass "your-secret"' as post arguments on the Redis docker container. Also make sure to not use any special characters. Otherwise, the connection string might not be readable by paperless. Create a user account after this container is created i.e. from Unraids Docker UI, click the paperless-ng icon and choose Console. Then enter the command "python manage.py createsuperuser" in the prompt and follow the instructions. Alternative, set 'PAPERLESS_ADMIN_USER' and 'PAPERLESS_ADMIN_PASSWORD' in your paperless-ng docker template. With the later approach, it might be easier to find your password to sensible documents stored in paperless. 3. My personal workflow I use the iOS app ScannerPro to scan my documents and upload them via the app to a web DAV target on my Unraid server. The web DAV target is then mounted in the container as consume directory. Further, I use the pre and post hooks to execute web hooks in order to check via Home Assistant whether the processing failed for a uploaded document. Home Assistant sends then notifications about the import status to my phone. This way I can throw away the physical document without worrying about it being not imported. How does your workflow look like? Feel free to share it in this thread. Here you can also find the official recommended workflow for managing your documents with paperless-ng. 4. FAQ 4.1 Why does the consumer not pick up my files? The consumer service uses `inotify` to detect new documents in the consume folder. This subsystem, however, does not support NFS shares. You can disable `inotify` and use a time-based polling mechanism instead (see `PAPERLESS_CONSUMER_POLLING`. If set to a value n greater than 0, inotify is disabled and the directory is polled every n seconds). 4.2 How to customize paperless-ng? Paperless-ng does support much more environment variables than the Unraid template offers. You can find them in the documentation here. 4.3 What scanner do you use for paperless-ng at home? A list of scanners used by our community: iPhone with ScannerPro app; one time purchase (@T0a) More will be added when you share your scanner Paperless-ng also maintains a list of recommended scanners. Feel free opening a pull request over there to add your recommended scanner to the documentation too. 4.4 Can I use paperless-ng on a mobile device? Mobile support in paperless-ng is also almost there. Some layouts don't work yet on small screens. There is also a mobile app in pretty early development stage. Though, it is only available on the Android store yet. 4.5 What is the future of the original paperless template in Unraid? At some point, I will probably remove the paperless template and close its support thread. 4.6 How to configure PostgreSQL as a database? See this post on how to configure PostgreSQL in the template. The official documentation gives further migration steps needed.
  2. EDIT: Found a solution I ran paperless on its own IP-adress and therefore it couldn't communicate with redis. =================================0 Hi guys, my consumer has stopped working. This is what the protocol says: 2022-03-25 09:38:16,480] [INFO] [paperless.management.consumer] Adding /usr/src/paperless/src/../consume/document_title.pdf to the task queue. [2022-03-25 09:38:19,546] [ERROR] [paperless.management.consumer] Error while consuming document Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/redis/connection.py", line 559, in connect sock = self._connect() File "/usr/local/lib/python3.9/site-packages/redis/connection.py", line 615, in _connect raise err File "/usr/local/lib/python3.9/site-packages/redis/connection.py", line 603, in _connect sock.connect(socket_address) OSError: [Errno 113] No route to host During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/src/paperless/src/documents/management/commands/document_consumer.py", line 64, in _consume async_task( File "/usr/local/lib/python3.9/site-packages/django_q/tasks.py", line 73, in async_task enqueue_id = broker.enqueue(pack) File "/usr/local/lib/python3.9/site-packages/django_q/brokers/redis_broker.py", line 18, in enqueue return self.connection.rpush(self.list_key, task) File "/usr/local/lib/python3.9/site-packages/redis/client.py", line 2016, in rpush return self.execute_command('RPUSH', name, *values) File "/usr/local/lib/python3.9/site-packages/redis/client.py", line 898, in execute_command conn = self.connection or pool.get_connection(command_name, **options) File "/usr/local/lib/python3.9/site-packages/redis/connection.py", line 1192, in get_connection connection.connect() File "/usr/local/lib/python3.9/site-packages/redis/connection.py", line 563, in connect raise ConnectionError(self._error_message(e)) redis.exceptions.ConnectionError: Error 113 connecting to 192.168.178.36:6379. No route to host. [2022-03-25 09:38:19,552] [INFO] [paperless.management.consumer] Using inotify to watch directory for changes: /usr/src/paperless/src/../consume I have tried reinstalling paperless-ng and redis, have installed a fresh paperless-ngx docker and imported all of my documents. And even switched from library/redis to bitnami/redis:latest. What could be the issue? Redis is running, the port and IP are fine and have been working in the past.
  3. Hi there folks, here another user with some configuration problems. Here are the steps I've completed so far: 1) Redis docker installation with default configuration. No password has been configured, just plain installation: 2) Paperless-ng installation; folders have been configured and here comes the problem: redis IP config (and maybe the consumption folder). I'm trying to follow the same workflow explained by the OP. This is, taking documents from SMB folder in printer and process them. Here is my docker config. Must say I've tried with localhost, 127.0.0.1, server name and so on, and nothing seems to work. 3) Finally, paperless-ng logs: [2021-08-19 10:44:31,907] [INFO] [paperless.management.consumer] Adding /usr/src/paperless/src/../consume/scan.jpg to the task queue. [2021-08-19 10:44:31,914] [ERROR] [paperless.management.consumer] Error while consuming document Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/redis/connection.py", line 559, in connect sock = self._connect() File "/usr/local/lib/python3.7/site-packages/redis/connection.py", line 615, in _connect raise err File "/usr/local/lib/python3.7/site-packages/redis/connection.py", line 603, in _connect sock.connect(socket_address) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/src/paperless/src/documents/management/commands/document_consumer.py", line 76, in _consume task_name=os.path.basename(filepath)[:100]) File "/usr/local/lib/python3.7/site-packages/django_q/tasks.py", line 73, in async_task enqueue_id = broker.enqueue(pack) File "/usr/local/lib/python3.7/site-packages/django_q/brokers/redis_broker.py", line 18, in enqueue return self.connection.rpush(self.list_key, task) File "/usr/local/lib/python3.7/site-packages/redis/client.py", line 2016, in rpush return self.execute_command('RPUSH', name, *values) File "/usr/local/lib/python3.7/site-packages/redis/client.py", line 898, in execute_command conn = self.connection or pool.get_connection(command_name, **options) File "/usr/local/lib/python3.7/site-packages/redis/connection.py", line 1192, in get_connection connection.connect() File "/usr/local/lib/python3.7/site-packages/redis/connection.py", line 563, in connect raise ConnectionError(self._error_message(e)) redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:6379. Connection refused. [2021-08-19 10:44:31,919] [INFO] [paperless.management.consumer] Adding /usr/src/paperless/src/../consume/scan.pdf to the task queue. [2021-08-19 10:44:31,924] [ERROR] [paperless.management.consumer] Error while consuming document Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/redis/connection.py", line 559, in connect sock = self._connect() File "/usr/local/lib/python3.7/site-packages/redis/connection.py", line 615, in _connect raise err File "/usr/local/lib/python3.7/site-packages/redis/connection.py", line 603, in _connect sock.connect(socket_address) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/src/paperless/src/documents/management/commands/document_consumer.py", line 76, in _consume task_name=os.path.basename(filepath)[:100]) File "/usr/local/lib/python3.7/site-packages/django_q/tasks.py", line 73, in async_task enqueue_id = broker.enqueue(pack) File "/usr/local/lib/python3.7/site-packages/django_q/brokers/redis_broker.py", line 18, in enqueue return self.connection.rpush(self.list_key, task) File "/usr/local/lib/python3.7/site-packages/redis/client.py", line 2016, in rpush return self.execute_command('RPUSH', name, *values) File "/usr/local/lib/python3.7/site-packages/redis/client.py", line 898, in execute_command conn = self.connection or pool.get_connection(command_name, **options) File "/usr/local/lib/python3.7/site-packages/redis/connection.py", line 1192, in get_connection connection.connect() File "/usr/local/lib/python3.7/site-packages/redis/connection.py", line 563, in connect raise ConnectionError(self._error_message(e)) redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:6379. Connection refused. [2021-08-19 10:44:31,926] [WARNING] [paperless.management.consumer] Not consuming file /usr/src/paperless/src/../consume/.HPIMAGE.VFS: Unknown file extension. [2021-08-19 10:44:31,928] [INFO] [paperless.management.consumer] Using inotify to watch directory for changes: /usr/src/paperless/src/../consume Thank you!
  4. Hi everyone, I did the setup for paperless-ng, but it failed to work properly. Opening the dashboard works, but trying to manually upload a file getting me the following error: "HTTP-Error: 500 Internal Server Error". Also see the error log. I would appreciate any help. Error log: [2021-09-09 11:18:49,987] [DEBUG] [paperless.management.consumer] Not consuming file /usr/src/paperless/src/../consume/__paperless_write_test_287__: File has moved. [2021-09-09 11:18:52,231] [WARNING] [paperless.management.consumer] Not consuming file /usr/src/paperless/src/../consume/__paperless_write_test_301__: Unknown file extension. [2021-09-09 11:18:52,255] [DEBUG] [paperless.management.consumer] Not consuming file /usr/src/paperless/src/../consume/__paperless_write_test_303__: File has moved. [2021-09-09 11:18:52,524] [INFO] [paperless.management.consumer] Adding /usr/src/paperless/src/../consume/Unbenannt.png to the task queue. [2021-09-09 11:18:52,527] [ERROR] [paperless.management.consumer] Error while consuming document Traceback (most recent call last): File "/usr/src/paperless/src/documents/management/commands/document_consumer.py", line 69, in _consume async_task("documents.tasks.consume_file", File "/usr/local/lib/python3.9/site-packages/django_q/tasks.py", line 73, in async_task enqueue_id = broker.enqueue(pack) File "/usr/local/lib/python3.9/site-packages/django_q/brokers/redis_broker.py", line 18, in enqueue return self.connection.rpush(self.list_key, task) File "/usr/local/lib/python3.9/site-packages/redis/client.py", line 2016, in rpush return self.execute_command('RPUSH', name, *values) File "/usr/local/lib/python3.9/site-packages/redis/client.py", line 901, in execute_command return self.parse_response(conn, command_name, **options) File "/usr/local/lib/python3.9/site-packages/redis/client.py", line 915, in parse_response response = connection.read_response() File "/usr/local/lib/python3.9/site-packages/redis/connection.py", line 739, in read_response response = self._parser.read_response() File "/usr/local/lib/python3.9/site-packages/redis/connection.py", line 484, in read_response raise response redis.exceptions.AuthenticationError: Authentication required. [2021-09-09 11:18:52,530] [INFO] [paperless.management.consumer] Adding /usr/src/paperless/src/../consume/LebenslaufZeugnisse.pdf to the task queue. [2021-09-09 11:18:52,532] [ERROR] [paperless.management.consumer] Error while consuming document Traceback (most recent call last): File "/usr/src/paperless/src/documents/management/commands/document_consumer.py", line 69, in _consume async_task("documents.tasks.consume_file", File "/usr/local/lib/python3.9/site-packages/django_q/tasks.py", line 73, in async_task enqueue_id = broker.enqueue(pack) File "/usr/local/lib/python3.9/site-packages/django_q/brokers/redis_broker.py", line 18, in enqueue return self.connection.rpush(self.list_key, task) File "/usr/local/lib/python3.9/site-packages/redis/client.py", line 2016, in rpush return self.execute_command('RPUSH', name, *values) File "/usr/local/lib/python3.9/site-packages/redis/client.py", line 901, in execute_command return self.parse_response(conn, command_name, **options) File "/usr/local/lib/python3.9/site-packages/redis/client.py", line 915, in parse_response response = connection.read_response() File "/usr/local/lib/python3.9/site-packages/redis/connection.py", line 739, in read_response response = self._parser.read_response() File "/usr/local/lib/python3.9/site-packages/redis/connection.py", line 484, in read_response raise response redis.exceptions.AuthenticationError: Authentication required. [2021-09-09 11:18:52,532] [INFO] [paperless.management.consumer] Using inotify to watch directory for changes: /usr/src/paperless/src/../consume My setup: Redis: paperless-ng: paperless-consumer:
  5. Error 500 when upoading via the WebUI EDIT: The Error was because i was using the wrong Redis Docker. With jj9987's Repository it worked. Hello i always get a 500 internal server error when trying to upload a fiIe. I installed and started a Redis docker(bitnami/redis:latest) changend the [IP] in PAPERLESS_REDIS: with the IP from the server. And the Logs are the following when trying to upload a File. Log from the Paperless Docker: File "/usr/local/lib/python3.7/site-packages/asgiref/current_thread_executor.py", line 22, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.7/site-packages/asgiref/sync.py", line 462, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.7/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.7/site-packages/django/views/generic/base.py", line 70, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.7/site-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.7/site-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.7/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.7/site-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/usr/src/paperless/src/documents/views.py", line 495, in post task_name=os.path.basename(doc_name)[:100]) File "/usr/local/lib/python3.7/site-packages/django_q/tasks.py", line 73, in async_task enqueue_id = broker.enqueue(pack) File "/usr/local/lib/python3.7/site-packages/django_q/brokers/redis_broker.py", line 18, in enqueue return self.connection.rpush(self.list_key, task) File "/usr/local/lib/python3.7/site-packages/redis/client.py", line 2016, in rpush return self.execute_command('RPUSH', name, *values) File "/usr/local/lib/python3.7/site-packages/redis/client.py", line 901, in execute_command return self.parse_response(conn, command_name, **options) File "/usr/local/lib/python3.7/site-packages/redis/client.py", line 915, in parse_response response = connection.read_response() File "/usr/local/lib/python3.7/site-packages/redis/connection.py", line 739, in read_response response = self._parser.read_response() File "/usr/local/lib/python3.7/site-packages/redis/connection.py", line 484, in read_response raise response redis.exceptions.AuthenticationError: Authentication required.
  6. Constant disk activity Just installed the Paperless-ng and Redis dockers and it works, very nice:) My only issue is that the Redis docker produces a constant disk activity (super steady 144 KB/s write, no read activity) at all times. I removed all documents from Paperless-ng but the disk activity still persists. As soon as I stop the Paperless-ng docker the disk activity of the Redis docker stops, so it definitely has something to do with Paperless-ng. This seems to be a bug, why would Redis need a constant 150KB/s write stream when there is no activity at all in the Redis or Paperless-ng dockers? I checked the free memory in the Redis docker to see if it isn't swap activity but that's not the case. Anybody any idea what is happening? This constant disk useless disk activity is preventing me from using paperless-ng at the moment as it will wear out my cache SSD like this. I am using the Redis docker image from A75G's Repository SOLVED: Switched to another Redis docker image from jj9987's Repository and now no more weird disk activity. New problem: Unraid started giving me warnings that the Docker image was quickly filling up with about 1% per 5 minutes. I looked at the container sizes (bottom unraid docker page) and saw that the paperless-ng container was 7GB big... Looking at the paperless-ng log files I saw a huge amount of documents stuck in the tmp folder. So remapped the tmp folder to the appdata folder solved the problem and the paperless-ng container stayed steady at a size just over 1GB after a clean re-install. But the weird thing is that the tmp folder keeps growing and those files are somehow never deleted by paperless-ng (at least not in the 2 days timeframe I watched it). The folder grew to a whopping 7GB again. Is this a bug?
  7. Update on my own post: Looks like i fixed it! For people who might experience the same issue, here is what I did to fix the problem: Before troubleshooting, I installed Redis via the Community apps platform. I picked the one from Bitnami. I did all configuration, with and without password, and it all worked as expected. But since I don't like the fact that my harddrive is constantly active, i started looking for a solution. Since I, with the help of jonaswinkler(developer of Paperless-NG) , figured out that the issue was happening somehwere between Paperless and Redis, I removed the Bitnami Redis and installed the Redis docker container manually via the Add container button (used redis:latest to make sure I recieved the latest version). I configured the port, removed the password line from the paperless docker settings and rebooted both dockers. After that, uploading works and the disk stops working after it's done with its tasks. Remaining question: Would you recommend using a password between Redis and Paperless-ng?
  8. try removing the password from the redis container. you've got it set to allow a blank password (ie no password) but then have a password set. Either set ALLOW_EMPTY_PASSWORD to no and specify the redis password in the paperless-ng config or blank the password in the REDIS container config Dave
  9. This is what the log shows. There are multiple instances of the error as I tried more than once. Does this help? File "/usr/local/lib/python3.7/asyncio/tasks.py", line 414, in wait_for return await fut File "/usr/local/lib/python3.7/site-packages/asgiref/current_thread_executor.py", line 23, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.7/site-packages/asgiref/sync.py", line 343, in thread_handler return func(*args, **kwargs) File "/usr/local/lib/python3.7/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.7/site-packages/django/views/generic/base.py", line 70, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.7/site-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.7/site-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.7/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.7/site-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/usr/src/paperless/src/documents/views.py", line 430, in post task_name=os.path.basename(doc_name)[:100]) File "/usr/local/lib/python3.7/site-packages/django_q/tasks.py", line 73, in async_task enqueue_id = broker.enqueue(pack) File "/usr/local/lib/python3.7/site-packages/django_q/brokers/redis_broker.py", line 18, in enqueue return self.connection.rpush(self.list_key, task) File "/usr/local/lib/python3.7/site-packages/redis/client.py", line 2016, in rpush return self.execute_command('RPUSH', name, *values) File "/usr/local/lib/python3.7/site-packages/redis/client.py", line 898, in execute_command conn = self.connection or pool.get_connection(command_name, **options) File "/usr/local/lib/python3.7/site-packages/redis/connection.py", line 1192, in get_connection connection.connect() File "/usr/local/lib/python3.7/site-packages/redis/connection.py", line 563, in connect raise ConnectionError(self._error_message(e)) redis.exceptions.ConnectionError: Error -5 connecting to replace-with-ip:6379. No address associated with hostname. [2021-03-23 21:00:08,790] [ERROR] [django.request] Internal Server Error: /api/documents/post_document/ Definitely not working for me. I took an existing UNRAID share and created a paperless folder. In there I have subfolders for consume, consumed, and export. I pointed paperless to these folders in the docker setup. I placed a file in the consume folder but nothing appears to have happened. What else can I provide here?
  10. Do you have a redis container running? And the PAPERLESS_REDIS environment variable correctly set? It uses redis to schedule tasks (like consuming) I have `sameersbn/redis` running with no other config then the port (6379) and the env variable for paperless set to: redis://iip_unraid_server:6379
  11. ...should be OK for the REDIS container...did you check the paperless-ng logs upon startup, whether it can connect to REDIS? There needs to be the Variable "PAPERLESS_REDIS" setup correctly.... use Protocol, IP and Port, like "redis://<IP-of-your-redis-container>:6379" This is how it looks on my site:
  12. For anyone using this be sure to choose the correct Redis container in the CA store. I was having issues with paperless not connecting to my redis container (even though i set the ip correctly in paperless) and found out the redis i was using was not working. The one that ended up working for me was the one by jj9987
  13. Hi all, I'd like to add a password to my Redis setup. Is there anyway to get Paperless to authenticate with Redis with a password? It doesn't appear obvious at initial glance. Thanks.
  14. Hello, I am receiving what appears to be a disk full error, but the disk is not nearly full? I have a very basic setup with the redis and paperless on the same system and no redis password (not open, so not worried about it) 2021-09-09 12:06:10,043 INFO spawned: 'consumer' with pid 79 2021-09-09 12:06:10,044 INFO spawned: 'scheduler' with pid 80 Traceback (most recent call last): File "/usr/src/paperless/src/manage.py", line 11, in <module> execute_from_command_line(sys.argv) File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line utility.execute() File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 413, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 354, in run_from_argv self.execute(*args, **cmd_options) File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 393, in execute self.check() File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 419, in check all_issues = checks.run_checks( File "/usr/local/lib/python3.9/site-packages/django/core/checks/registry.py", line 76, in run_checks new_errors = check(app_configs=app_configs, databases=databases) File "/usr/src/paperless/src/paperless/checks.py", line 54, in paths_check path_check("PAPERLESS_CONSUMPTION_DIR", settings.CONSUMPTION_DIR) File "/usr/src/paperless/src/paperless/checks.py", line 30, in path_check with open(test_file, 'w'): OSError: [Errno 28] No space left on device: '/usr/src/paperless/src/../consume/__paperless_write_test_80__' Traceback (most recent call last): File "/usr/src/paperless/src/manage.py", line 11, in <module> execute_from_command_line(sys.argv) File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line utility.execute() File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 413, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 354, in run_from_argv self.execute(*args, **cmd_options) File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 393, in execute self.check() File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 419, in check all_issues = checks.run_checks( File "/usr/local/lib/python3.9/site-packages/django/core/checks/registry.py", line 76, in run_checks new_errors = check(app_configs=app_configs, databases=databases) File "/usr/src/paperless/src/paperless/checks.py", line 54, in paths_check path_check("PAPERLESS_CONSUMPTION_DIR", settings.CONSUMPTION_DIR) File "/usr/src/paperless/src/paperless/checks.py", line 30, in path_check with open(test_file, 'w'): OSError: [Errno 28] No space left on device: '/usr/src/paperless/src/../consume/__paperless_write_test_79__' 2021-09-09 12:06:10,862 INFO exited: consumer (exit status 1; not expected) 2021-09-09 12:06:10,862 INFO exited: scheduler (exit status 1; not expected) 2021-09-09 12:06:11,863 INFO gave up: consumer entered FATAL state, too many start retries too quickly 2021-09-09 12:06:11,863 INFO gave up: scheduler entered FATAL state, too many start retries too quickly Specifically this line is throwing me off: OSError: [Errno 28] No space left on device: '/usr/src/paperless/src/../consume/__paperless_write_test_79__'
  15. @FlubsterThanks for your answer. It works now. I also had to do a few more steps. Not exactly sure what the problem was. I did the following: 1. Deleted the password from the redis container. (didn't work yet) 2. checked the ports, and gave the docker container paperless-consumer a new port, i.e. 8002 3. reinstalled another redis container (from jj9987)
  16. I am having the same issue - the Redis container is being rebooted as part of this. When I try to follow the directions and run the command 'sysctl vm.overcommit_memory=1' in the container terminal I get the following response 'sysctl: setting key "vm.overcommit_memory": Read-only file system'. I also can't seem to find the files for Redis within my "AppData" share so I can't modify /etc/sysctl.conf either. Any suggestions? Thanks!
  17. if like me anyone else has the problem with it saying invalid combination or username disabled try leaving the username blank, thats what made mine work. redis://:password@redis:6379
  18. For everyone using Bitnami Redis with a password the answer to this is to use this connection string: redis://default:[PASSWORD]@[IP]:6379
  19. Just setup both redis and paperless-ng. Seems to be working fine except redis shows this error? Is this normal?
  20. Hello, im pretty new in the unraid scene. I tried to install the paperless-ng docker + redis. I get to the WEBui but i cant create an Superuser. Can you guys helpe me? If i try to use the Command "python3.7 manage.py createsuperuser" in the Console there comes: root@82e0bf2f9b0b:/usr/src/paperless/src# python3.7 manage.py createsuperuser bash: python3.7: command not found Redis is installed. I have no clue what i can do.. 😞
  21. What does the log tell you when you use your server IP address i.e. `redis://XXX.XXX.XXX.XX:6379`. I think `127.0.0.1` will not work, because it tries to resolve Redis in the paperless-ng container then. Keep me posted.
  22. Is there anything special I need to do to get the schedules tasks running? I've installed REDIS (with no password) so that should be fine, but I'm not sure how to check if it connected correctly to REDIS (I don't see anything in the logs). Nonetheless, the schedules tasks don't seem to do anything, even after putting the time slightly in the future, not run is triggered:
  23. Hello! i'm still on the deprecated paperless docker and tbh i'm not sure my setup will survive a migration. i've read the migrations docs but these docs are not unraid related and so it's already a level too much for me. usually i'd try to make it work with trial & error but with all my docs in the background i don't think thats a good idea. me approach would be: - make backup of /mnt/cache/appdata/paperless - stop paperless docker - install "some" redis docker (JJ9987's? there's an "official" badge there...) - install paperless-ng docker from CA and follow point 2 from OP of this thread (same user / password as on my old/existing paperless?) - have all my docs in the "new" paperless-ng ? can't be that simple, can it? and what am i to do with the paperless-consumer docker that i have running atm? would somebody be so kind to help me out here?
  24. I've tried different Redis images (just in case) but still have the same problem; That is, everything works fine initially, then when I come back to it the following day it no longer works. Paperless correctly detects a new file in the watch folder and the log shows it has added it to the task queue, but nothing else happens unless I restart the paperless-ng container. I do not need to restart the redis container to get it working again, just the paperless-ng one. Has anyone found a solution for this? TIA
  25. The thing is, the redis connection works initially, and again if you restart the paperless-ng container (no need to restart redis).