Pf4rR3R Posted August 23, 2021 Share Posted August 23, 2021 Hello, I am currently trying to set up this service but with my own PostgreSQL database, where I feel like I have a better overview. However, the service does not start when I follow the PostgreSQL setup instructions, or to be precise the container starts and then when I enter into the console to create a superuser I get a disconnect because the container has stopped. If I delete all the variables for the PostgreSQL setup, the services does start up normally and I can create a superuser. Can anybody help me out here? Thank you! Quote Link to comment
jseeman Posted August 24, 2021 Share Posted August 24, 2021 On 5/17/2021 at 9:10 PM, Deep Insights said: Would you mind sharing how you got Tika & Gotenberg installed/configured? Also, did you figure out how to use filename for tagging? Thanks. I'm working through this setup as well and would appreciate any help. I have paperless-ng setup and working. Following the steps to enable this functionality I have done the following: Added tika server using docker container "apache/tika" Using default container port 9998 Added gotenberg using docker container "gotenberg/gotenberg" Using default container port 3000 Added the following variables to my paperless-ng docker: PAPERLESS_TIKA_ENABLED: 1 PAPERLESS_TIKA_ENDPOINT: http://tika:9998 PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://gotenberg:3000 When I try to add a word document to paperless-ng I get the following error: Error while converting document to PDF: 404 Client Error: Not Found for url: http://gotenberg:3000/convert/office The paperless-ng log shows: 09:06:18 [Q] INFO Process-1:2 processing [unraid.docx] [2021-08-24 09:06:19,525] [INFO] [paperless.consumer] Consuming unraid.docx [2021-08-24 09:06:19,540] [INFO] [paperless.parsing.tika] Sending /tmp/paperless/paperless-upload-_0wpk51m to Tika server [2021-08-24 09:06:20,368] [INFO] [paperless.parsing.tika] Converting /tmp/paperless/paperless-upload-_0wpk51m to PDF as /tmp/paperless/paperless-cd7vp84i/convert.pdf [2021-08-24 09:06:20,879] [ERROR] [paperless.consumer] Error while consuming document unraid.docx: Error while converting document to PDF: 404 Client Error: Not Found for url: http://gotenberg:3000/convert/office Traceback (most recent call last): File "/usr/src/paperless/src/paperless_tika/parsers.py", line 79, in convert_to_pdf response.raise_for_status() # ensure we notice bad responses File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 953, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://gotenberg:3000/convert/office And I see the following in the gotenberg log: A Docker-powered stateless API for PDF files. Version: 7.0.2 ------------------------------------------------------- [SYSTEM] modules: api chromium gc libreoffice logging pdfcpu pdfengines pdftk unoconv unoconv-pdfengine [SYSTEM] gc: application started [SYSTEM] api: server listening on port 3000 {"level":"error","ts":1629813980.3731606,"logger":"api","msg":"code=404, message=Not Found","trace":"463a6609-9a4a-46ca-add3-4dad45b98694","remote_ip":"172.18.0.23","host":"gotenberg:3000","uri":"/convert/office","method":"POST","path":"/convert/office","referer":"","user_agent":"python-requests/2.26.0","status":404,"latency":46414,"latency_human":"46.414µs","bytes_in":1081155,"bytes_out":9} Am I missing a configuration step? Quote Link to comment
jseeman Posted August 24, 2021 Share Posted August 24, 2021 51 minutes ago, jseeman said: I'm working through this setup as well and would appreciate any help. I have paperless-ng setup and working. Following the steps to enable this functionality I have done the following: Added tika server using docker container "apache/tika" Using default container port 9998 Added gotenberg using docker container "gotenberg/gotenberg" Using default container port 3000 Added the following variables to my paperless-ng docker: PAPERLESS_TIKA_ENABLED: 1 PAPERLESS_TIKA_ENDPOINT: http://tika:9998 PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://gotenberg:3000 When I try to add a word document to paperless-ng I get the following error: Error while converting document to PDF: 404 Client Error: Not Found for url: http://gotenberg:3000/convert/office The paperless-ng log shows: 09:06:18 [Q] INFO Process-1:2 processing [unraid.docx] [2021-08-24 09:06:19,525] [INFO] [paperless.consumer] Consuming unraid.docx [2021-08-24 09:06:19,540] [INFO] [paperless.parsing.tika] Sending /tmp/paperless/paperless-upload-_0wpk51m to Tika server [2021-08-24 09:06:20,368] [INFO] [paperless.parsing.tika] Converting /tmp/paperless/paperless-upload-_0wpk51m to PDF as /tmp/paperless/paperless-cd7vp84i/convert.pdf [2021-08-24 09:06:20,879] [ERROR] [paperless.consumer] Error while consuming document unraid.docx: Error while converting document to PDF: 404 Client Error: Not Found for url: http://gotenberg:3000/convert/office Traceback (most recent call last): File "/usr/src/paperless/src/paperless_tika/parsers.py", line 79, in convert_to_pdf response.raise_for_status() # ensure we notice bad responses File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 953, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://gotenberg:3000/convert/office And I see the following in the gotenberg log: A Docker-powered stateless API for PDF files. Version: 7.0.2 ------------------------------------------------------- [SYSTEM] modules: api chromium gc libreoffice logging pdfcpu pdfengines pdftk unoconv unoconv-pdfengine [SYSTEM] gc: application started [SYSTEM] api: server listening on port 3000 {"level":"error","ts":1629813980.3731606,"logger":"api","msg":"code=404, message=Not Found","trace":"463a6609-9a4a-46ca-add3-4dad45b98694","remote_ip":"172.18.0.23","host":"gotenberg:3000","uri":"/convert/office","method":"POST","path":"/convert/office","referer":"","user_agent":"python-requests/2.26.0","status":404,"latency":46414,"latency_human":"46.414µs","bytes_in":1081155,"bytes_out":9} Am I missing a configuration step? Looks like something is broken in gotenberg 7. Found this issue that was opened yesterday - https://github.com/jonaswinkler/paperless-ng/issues/1250 Downgraded my gotenberg to gotenberg/gotenberg:6 and its working. 1 Quote Link to comment
T0a Posted August 25, 2021 Author Share Posted August 25, 2021 (edited) On 8/6/2021 at 6:00 PM, Ehtele said: Does anyone know how to install extra languages, or know any resources they can point me to? The default tesseract package only includes six languages. Have you tried the PAPERLESS_OCR_LANGUAGES variable to install the language you need? To actually use these languages, also set the default OCR language of paperless: PAPERLESS_OCR_LANGUAGE. You can read more about the configuration options in the documentation here. On 8/19/2021 at 11:41 AM, lgb said: Great! Changed IP to 192.168.x.x and seems network issue has been solved. Now a new error appears: [2021-08-19 11:37:06,938] [INFO] [paperless.management.consumer] Adding /usr/src/paperless/src/../consume/scan.jpg to the task queue. [2021-08-19 11:37:06,944] [INFO] [paperless.management.consumer] Adding /usr/src/paperless/src/../consume/scan.pdf to the task queue. [2021-08-19 11:37:06,948] [WARNING] [paperless.management.consumer] Not consuming file /usr/src/paperless/src/../consume/.HPIMAGE.VFS: Unknown file extension. [2021-08-19 11:37:06,950] [INFO] [paperless.management.consumer] Using inotify to watch directory for changes: /usr/src/paperless/src/../consume [2021-08-19 11:37:10,173] [INFO] [paperless.consumer] Consuming scan.pdf [2021-08-19 11:37:15,214] [DEBUG] [paperless.consumer] Detected mime type: application/pdf [2021-08-19 11:37:15,314] [DEBUG] [paperless.consumer] Parser: RasterisedDocumentParser [2021-08-19 11:37:15,323] [DEBUG] [paperless.consumer] Parsing scan.pdf... [2021-08-19 11:37:16,592] [INFO] [paperless.consumer] Consuming scan.jpg [2021-08-19 11:37:20,145] [DEBUG] [paperless.consumer] Detected mime type: image/jpeg [2021-08-19 11:37:20,162] [DEBUG] [paperless.consumer] Parser: RasterisedDocumentParser [2021-08-19 11:37:20,170] [DEBUG] [paperless.consumer] Parsing scan.jpg... [2021-08-19 11:37:20,248] [WARNING] [paperless.parsing.tesseract] Error while getting text from PDF document with pdfminer.six Traceback (most recent call last): File "/usr/src/paperless/src/paperless_tesseract/parsers.py", line 120, in extract_text stripped = post_process_text(pdfminer_extract_text(pdf_file)) File "/usr/local/lib/python3.7/site-packages/pdfminer/high_level.py", line 119, in extract_text caching=caching, File "/usr/local/lib/python3.7/site-packages/pdfminer/pdfpage.py", line 128, in get_pages doc = PDFDocument(parser, password=password, caching=caching) File "/usr/local/lib/python3.7/site-packages/pdfminer/pdfdocument.py", line 572, in __init__ self.read_xref_from(parser, pos, self.xrefs) File "/usr/local/lib/python3.7/site-packages/pdfminer/pdfdocument.py", line 806, in read_xref_from (pos, token) = parser.nexttoken() File "/usr/local/lib/python3.7/site-packages/pdfminer/psparser.py", line 493, in nexttoken self.fillbuf() File "/usr/local/lib/python3.7/site-packages/pdfminer/psparser.py", line 219, in fillbuf self.buf = self.fp.read(self.BUFSIZ) PermissionError: [Errno 13] Permission denied [2021-08-19 11:37:20,763] [DEBUG] [paperless.parsing.tesseract] Calling OCRmyPDF with args: {'input_file': '/usr/src/paperless/src/../consume/scan.pdf', 'output_file': '/tmp/paperless/paperless-rhgt24hs/archive.pdf', 'use_threads': True, 'jobs': 3, 'language': 'spa+eng', 'output_type': 'pdfa', 'progress_bar': False, 'skip_text': True, 'clean': True, 'deskew': True, 'rotate_pages': True, 'rotate_pages_threshold': 12.0, 'sidecar': '/tmp/paperless/paperless-rhgt24hs/sidecar.txt'} Thank you @T0a! Forgot to say I'm using unassigned devices plugin to mount SMB folder Do you get this error for all PDF's you tested? Can you try to manually upload another document via the web interface from your host? In the best case please use something you just created via MS Word using the export to PDF function. Nothing fancy! Does this work? Then try to upload your document from the share via the web upload. Does that work then? Maybe the permissions of your consume folder are causing that issue. Trying to rule that out with the tests mentioned before. Please also check: https://paperless-ng.readthedocs.io/en/latest/troubleshooting.html#permission-denied-errors-in-the-consumption-directory On 8/23/2021 at 4:48 PM, Pf4rR3R said: Hello, I am currently trying to set up this service but with my own PostgreSQL database, where I feel like I have a better overview. However, the service does not start when I follow the PostgreSQL setup instructions, or to be precise the container starts and then when I enter into the console to create a superuser I get a disconnect because the container has stopped. If I delete all the variables for the PostgreSQL setup, the services does start up normally and I can create a superuser. Can anybody help me out here? Thank you! Do you receive the disconnect after issuing the superuser command or is it unrelated to that command? Have you checked the docker log files? Edited August 27, 2021 by T0a Quote Link to comment
Lanic0r Posted August 25, 2021 Share Posted August 25, 2021 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: [email protected]:/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.. 😞 Quote Link to comment
T0a Posted August 27, 2021 Author Share Posted August 27, 2021 (edited) On 8/25/2021 at 9:35 PM, Lanic0r said: 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: [email protected]:/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.. 😞 Seems like newer versions of paperless-ng rely on python3.9 now. Please try 'python manage.py createsuperuser'. I will adapt the first post accordingly. On 8/24/2021 at 5:04 PM, jseeman said: Looks like something is broken in gotenberg 7. Found this issue that was opened yesterday - https://github.com/jonaswinkler/paperless-ng/issues/1250 Downgraded my gotenberg to gotenberg/gotenberg:6 and its working. @jseeman Seems like. I already created a pull request to make paperless-ng work with the new Gotenberg 7 API. Waiting for the maintainers to review and merge. Will let you know, once it is available. Edited August 27, 2021 by T0a Quote Link to comment
Lanic0r Posted August 28, 2021 Share Posted August 28, 2021 On 8/27/2021 at 8:53 AM, T0a said: Seems like newer versions of paperless-ng rely on python3.9 now. Please try 'python manage.py createsuperuser'. I will adapt the first post accordingly. Thank you 🙂 works fine now ! 1 Quote Link to comment
btagomes Posted September 1, 2021 Share Posted September 1, 2021 On 8/24/2021 at 3:10 PM, jseeman said: I'm working through this setup as well and would appreciate any help. I have paperless-ng setup and working. Following the steps to enable this functionality I have done the following: Added tika server using docker container "apache/tika" Using default container port 9998 Added gotenberg using docker container "gotenberg/gotenberg" Using default container port 3000 Added the following variables to my paperless-ng docker: PAPERLESS_TIKA_ENABLED: 1 PAPERLESS_TIKA_ENDPOINT: http://tika:9998 PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://gotenberg:3000 When I try to add a word document to paperless-ng I get the following error: Error while converting document to PDF: 404 Client Error: Not Found for url: http://gotenberg:3000/convert/office The paperless-ng log shows: 09:06:18 [Q] INFO Process-1:2 processing [unraid.docx] [2021-08-24 09:06:19,525] [INFO] [paperless.consumer] Consuming unraid.docx [2021-08-24 09:06:19,540] [INFO] [paperless.parsing.tika] Sending /tmp/paperless/paperless-upload-_0wpk51m to Tika server [2021-08-24 09:06:20,368] [INFO] [paperless.parsing.tika] Converting /tmp/paperless/paperless-upload-_0wpk51m to PDF as /tmp/paperless/paperless-cd7vp84i/convert.pdf [2021-08-24 09:06:20,879] [ERROR] [paperless.consumer] Error while consuming document unraid.docx: Error while converting document to PDF: 404 Client Error: Not Found for url: http://gotenberg:3000/convert/office Traceback (most recent call last): File "/usr/src/paperless/src/paperless_tika/parsers.py", line 79, in convert_to_pdf response.raise_for_status() # ensure we notice bad responses File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 953, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://gotenberg:3000/convert/office And I see the following in the gotenberg log: A Docker-powered stateless API for PDF files. Version: 7.0.2 ------------------------------------------------------- [SYSTEM] modules: api chromium gc libreoffice logging pdfcpu pdfengines pdftk unoconv unoconv-pdfengine [SYSTEM] gc: application started [SYSTEM] api: server listening on port 3000 {"level":"error","ts":1629813980.3731606,"logger":"api","msg":"code=404, message=Not Found","trace":"463a6609-9a4a-46ca-add3-4dad45b98694","remote_ip":"172.18.0.23","host":"gotenberg:3000","uri":"/convert/office","method":"POST","path":"/convert/office","referer":"","user_agent":"python-requests/2.26.0","status":404,"latency":46414,"latency_human":"46.414µs","bytes_in":1081155,"bytes_out":9} Am I missing a configuration step? I faced the same problem... i cracked my brane trying to understand what was wrong and all the information avaliable online was too generic for this unraid instalation. Finaly today i got it, look here: https://github.com/Tooa/paperless-ng/commit/2dcacaee147abfdccdca4e20262bae749c60be97 With this changes i have my paperless-ng processing office documents! Quote Link to comment
Lohita Posted September 9, 2021 Share Posted September 9, 2021 Hi everyone, is there anyway for me to reset the password to login to the paperless Web UI? Quote Link to comment
mattie112 Posted September 9, 2021 Share Posted September 9, 2021 Does running 'createsuperuser' again perhaps work? (https://github.com/the-paperless-project/paperless/blob/master/docs/setup.rst) Quote Link to comment
alex123542 Posted September 9, 2021 Share Posted September 9, 2021 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: Quote Link to comment
Flubster Posted September 9, 2021 Share Posted September 9, 2021 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 Quote Link to comment
alex123542 Posted September 9, 2021 Share Posted September 9, 2021 @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) Quote Link to comment
reporrted Posted September 9, 2021 Share Posted September 9, 2021 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__' Quote Link to comment
mattie112 Posted September 10, 2021 Share Posted September 10, 2021 Did you mount the correct folders (please share a screenshot of your container config). Perhaps you are filling-up your docker image? Quote Link to comment
binoo Posted September 10, 2021 Share Posted September 10, 2021 Hy everyone, I am trying to implement the pre and post script but it always end with weird error message [2021-09-10 22:36:02,561] [ERROR] [paperless.consumer] Configured post-consume script "/usr/local/bin/script/post/PAPERLESS_POST_CONSUME_SCRIPT" does not exist. I try to navigate to the folder in docker and I can find the scripts in the expected destination. Is someone face this situation and manage to solve it? Quote Link to comment
reporrted Posted September 11, 2021 Share Posted September 11, 2021 (edited) Ah! My consume directory was on a drive with VERY little space left. Moved the files and all is well again. explanation: /consume was specifically on a disk with low space, even though the rest of the /mnt/user/../consume was not full. I moved the consume folder specifically to a non-full drive with unbalance and everything works. Edited September 13, 2021 by reporrted added a better explanation Quote Link to comment
mattie112 Posted September 11, 2021 Share Posted September 11, 2021 9 hours ago, binoo said: Hy everyone, I am trying to implement the pre and post script but it always end with weird error message [2021-09-10 22:36:02,561] [ERROR] [paperless.consumer] Configured post-consume script "/usr/local/bin/script/post/PAPERLESS_POST_CONSUME_SCRIPT" does not exist. I try to navigate to the folder in docker and I can find the scripts in the expected destination. Is someone face this situation and manage to solve it? And what if you create a script? Does it execute in that case? Perhaps https://github.com/the-paperless-project/paperless/issues/637 helps? Quote Link to comment
Lohita Posted September 20, 2021 Share Posted September 20, 2021 On 9/9/2021 at 5:08 PM, mattie112 said: Does running 'createsuperuser' again perhaps work? (https://github.com/the-paperless-project/paperless/blob/master/docs/setup.rst) Sorry for the late reply - I tried that and it worked. Thanks again! Quote Link to comment
Greygoose Posted October 16, 2021 Share Posted October 16, 2021 (edited) Just setup both redis and paperless-ng. Seems to be working fine except redis shows this error? Is this normal? Edited October 16, 2021 by Greygoose Quote Link to comment
epp Posted November 10, 2021 Share Posted November 10, 2021 (edited) Hey there, not sure if this is an acutal issue or paperless-ng was never intended to do such things... My HP LaserJet Pro MFP M428fdw doesn't seem to be able to remove blank pages when scanning to a network drive. Since I'm always scanning both sides of a document and my wife tends to put the docs in the wrong way, all paperless-ng previews show a blank page. Is there a way to make paperless remove any black pages? If not, have you encountered the same issue and how have you fixed it? Maybe there's a way to add some pre processing of the input PDFs... Just an idea. Best regards, epp Edited November 10, 2021 by epp Quote Link to comment
randalotto Posted November 10, 2021 Share Posted November 10, 2021 On 4/1/2021 at 1:12 PM, randalotto said: I'm having the exact same issue. Here are the log entries from today: [2021-04-01 11:22:35,086] [INFO] [paperless.management.consumer] Adding /usr/src/paperless/src/../consume/scan04012021.pdf to the task queue. 11:22:35 [Q] INFO Enqueued 1 Then nothing happens. So I'm still having this issue. When I scan a document, paperless sees the document and adds it to the queue, and then ... nothing happens. Once I restart the docker, it correctly consumes the document with no additional intervention. Quote Link to comment
leoklaus Posted November 10, 2021 Share Posted November 10, 2021 (edited) Hi, I've been using Paperless-ng for a while now and want to set up an email-address for consumption now. I'm using my own domain and have the separate address "[email protected]". I'm using the iCloud mailserver for my domain, but this will apply to all mail servers with a similar configuration. When setting up my mail account, I use my Apple ID for authentication with the mailserver, not the username or mail address of the address I want to set up. As far as I can tell, there's no way in Paperless-ng to configure a mailbox with a different username, is that correct or am I just blind? Edited November 10, 2021 by leoklaus Quote Link to comment
Greygoose Posted November 18, 2021 Share Posted November 18, 2021 Is it possible to reset the password for login? Quote Link to comment
Greygoose Posted November 18, 2021 Share Posted November 18, 2021 I found the answer to my question above Open console in docker and use the following command python3 manage.py createsuperuser I used this to change my admin password (useful if lost) Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.