CorneliousJD Posted December 18, 2020 Share Posted December 18, 2020 23 hours ago, saarg said: That doesn't make sense as your proxy is using the same address. Something locally on your computer blocking the page? Or any setting you have done in papermerge? I agree it doesn't make any sense, but thanks for making me look into it more - it ended up being a cookie issue, cleared all cookies for 10.0.0.10 and the login page shows up now Problem solved! 1 Quote Link to comment
guilhem31 Posted December 28, 2020 Share Posted December 28, 2020 Hi everyone, I am not able to make Paperless work with the LSIO container... I just want the french OCR to be working. The problem is : everytime I try to install it (with the LSIO multilanguageocr mod) french does not appear in the settings, and the last time I tried, I got an ERROR 500 message. Any hints for me to start from scratch and make it work ? Quote Link to comment
saarg Posted December 29, 2020 Share Posted December 29, 2020 20 hours ago, guilhem31 said: Hi everyone, I am not able to make Paperless work with the LSIO container... I just want the french OCR to be working. The problem is : everytime I try to install it (with the LSIO multilanguageocr mod) french does not appear in the settings, and the last time I tried, I got an ERROR 500 message. Any hints for me to start from scratch and make it work ? Not so easy to help when you do not post any logs or run command. Quote Link to comment
guilhem31 Posted December 29, 2020 Share Posted December 29, 2020 6 hours ago, saarg said: Not so easy to help when you do not post any logs or run command. You're right, in fact I just wanted to know if someone had already tried to add languages to Papermerge. I was able today to make it work ! I installed as prescribed, add the multilanguage mod variable, and most important, I had to edit the config file inside the container to add french language within the UI. Thanks for your reply 👍 Quote Link to comment
dcoens Posted January 9, 2021 Share Posted January 9, 2021 (edited) On 11/15/2020 at 2:19 PM, chrisgo said: I have found a solution for this problem: Set all volume mountings for this docker to the appdata share. Then just move the media folder to another share which has cache prefer and change it in the config. The docker needs this share also mapped. Now the media is on the array and the discs spin down correctly. I have done this for both my /media and /queue. It no longer spins up the drive even if I process files in via the /queue. I'm therefor assuming that the "papermerdge.db" that remains in the /mnt/cache/appdata/papermerge is what was keeping the drives spun up. Now, how do keep the database i.e. "papermerdge.db" file and the current /media files in sync. Do you depend on "CA Appdata Backup/Restore v2" plugin to keep this up to date? periodically? Edited January 9, 2021 by dcoens Quote Link to comment
atomicdecay Posted January 10, 2021 Share Posted January 10, 2021 On 1/8/2021 at 9:37 PM, dcoens said: I have done this for both my /media and /queue. It no longer spins up the drive even if I process files in via the /queue. I'm therefor assuming that the "papermerdge.db" that remains in the /mnt/cache/appdata/papermerge is what was keeping the drives spun up. Now, how do keep the database i.e. "papermerdge.db" file and the current /media files in sync. Do you depend on "CA Appdata Backup/Restore v2" plugin to keep this up to date? periodically? This was driving me crazy too and I came to the same conclusion regarding papermerge.db. What I did was create a new container path- /db:/mnt/user/appdata/papermerge/db and then edited the papermerge settings.py to point to the new db location ("NAME": "/db/papermerge.db" for me). Now the documents stay on the array and all the db shenanigans that were keeping the drives spun up are taking place on my cache drive. The only times I've noticed the drives spinning back up is when I actually add new documents to papermerge. That does mean I'm relying on CA Appdata Backup/Restore to keep the db backed up, but I can live with that...having all the documents on the actual array is the whole point of doing this on Unraid in the first place. 😀 *Note* In the Papermerge documentation it says you can set a DBDIR path in the papermerge.conf.py, but I didn't have any luck getting that to work, which is why I made the change in settings.py. 1 Quote Link to comment
PeterW Posted February 1, 2021 Share Posted February 1, 2021 Hi, I'm interested in setting up this docker to interact with my email inbox - currently use gmail, but i'm happy to setup locally hosted email for this instance and have gmail forward the emails based on rules to the new email setup for this purpose. My main question is how do i get it working? I added the following to my 'papermerge.conf.py' IMPORT_MAIL_HOST = "imap.gmail.com" IMPORT_MAIL_USER = "[email protected]" IMPORT_MAIL_PASS = "----" IMPORT_MAIL_INBOX = "papermerge" IMPORT_MAIL_BY_USER = "N" IMPORT_MAIL_BY_SECRET = "N" IMPORT_MAIL_DELETE = "N" this does not appear to complete any actions. does anyone have a sample papermerge.conf.py file i could base the section above? Thankyou in advance. - Peter Quote Link to comment
saarg Posted February 1, 2021 Share Posted February 1, 2021 4 hours ago, PeterW said: Hi, I'm interested in setting up this docker to interact with my email inbox - currently use gmail, but i'm happy to setup locally hosted email for this instance and have gmail forward the emails based on rules to the new email setup for this purpose. My main question is how do i get it working? I added the following to my 'papermerge.conf.py' IMPORT_MAIL_HOST = "imap.gmail.com" IMPORT_MAIL_USER = "[email protected]" IMPORT_MAIL_PASS = "----" IMPORT_MAIL_INBOX = "papermerge" IMPORT_MAIL_BY_USER = "N" IMPORT_MAIL_BY_SECRET = "N" IMPORT_MAIL_DELETE = "N" this does not appear to complete any actions. does anyone have a sample papermerge.conf.py file i could base the section above? Thankyou in advance. - Peter Have you checked the settings for gmail on this page? Quote Link to comment
PeterW Posted February 11, 2021 Share Posted February 11, 2021 On 2/1/2021 at 8:45 PM, saarg said: Have you checked the settings for gmail on this page? saarg, Yes I have, but i feel i need to invest a bit more time to ensure that I have it setup correctly (and come up with a way to test it). For the time being if i chose to use the container I will import via WebUI or watched folders. Quote Link to comment
technologiq Posted February 12, 2021 Share Posted February 12, 2021 (edited) I'm having the same issues as @PeterW My papermerge.conf.py has this in it: IMPORT_MAIL_HOST = "imap.gmail.com" IMPORT_MAIL_USER = "[email protected]" IMPORT_MAIL_PASSWORD = "google app password generated for just for papermerge" IMPORT_MAIL_INBOX = "INBOX" IMPORT_MAIL_BY_USER = "true" IMPORT_MAIL_DELETE = "true" I get nothing. The messages aren't marked as read or deleted and nothing is in the inbox. The address I'm sending from is the same as the account on papermerge. Since 2FA is enabled on this account I set up a specific app password for this. IMAP is enabled for this account in gmail settings. Edited February 12, 2021 by technologiq Quote Link to comment
sneuweger Posted February 25, 2021 Share Posted February 25, 2021 I just updated my papermerge container to the latest version of papermerge 2.0.0.rc35 - after restarting my container i only get error 500 when i try to call the WebUI. Any suggestions or hints for a newbie? Quote Link to comment
guilhem31 Posted February 25, 2021 Share Posted February 25, 2021 9 hours ago, sneuweger said: I just updated my papermerge container to the latest version of papermerge 2.0.0.rc35 - after restarting my container i only get error 500 when i try to call the WebUI. Any suggestions or hints for a newbie? Sorry I can' t help you ... as I' m facing the exact same error :/ Quote Link to comment
saarg Posted February 25, 2021 Share Posted February 25, 2021 9 minutes ago, guilhem31 said: Sorry I can' t help you ... as I' m facing the exact same error Try using a tag for the previous version. Quote Link to comment
guilhem31 Posted February 25, 2021 Share Posted February 25, 2021 1 minute ago, saarg said: Try using a tag for the previous version. As my goal was to try the new v2 version this is not an option right now thanks for the suggestion Quote Link to comment
Bob@unraid Posted February 25, 2021 Share Posted February 25, 2021 Hello everyone, I really like the idea of having an DMS right on my unraid server. I added the IMPORTER_DIR = "/mnt/user/papermerge/input" to the papermerge.conf.py file next to the german interface and ocr. After restarting the docker the language is working great but the import dir is causing an error: WARNING/MainProcess] Importer from local folder task not started.Reason: 2. importer dir does not exist I have no clue want could be the problem. I created the share and input folder especially for the papermerge docker Any suggestions? Thanks! Quote Link to comment
scwissel Posted February 25, 2021 Share Posted February 25, 2021 I am also having an issue with the latest version (v2). Reverting to linuxserver/papermerge:version-v1.5.5 has me back up and running on the older version, for now. Seems the v2 image may not be upgrading the appdata/configuration properly. Quote Link to comment
saarg Posted February 26, 2021 Share Posted February 26, 2021 7 hours ago, Bob@unraid said: Hello everyone, I really like the idea of having an DMS right on my unraid server. I added the IMPORTER_DIR = "/mnt/user/papermerge/input" to the papermerge.conf.py file next to the german interface and ocr. After restarting the docker the language is working great but the import dir is causing an error: WARNING/MainProcess] Importer from local folder task not started.Reason: 2. importer dir does not exist I have no clue want could be the problem. I created the share and input folder especially for the papermerge docker Any suggestions? Thanks! You should have a read in the docker faq to get some basic understanding of how docker works. You need to volume bind that path to the container to use it. Quote Link to comment
Manchineel Posted March 8, 2021 Share Posted March 8, 2021 Just installed it, and unfortunately it doesn't work. When I try to connect to the WebUI, I keep getting [WARNING] unable to add HTTP_UPGRADE_INSECURE_REQUESTS=1 to uwsgi packet, consider increasing buffer size spammed in the Docker logs, and the page doesn't load ("The connection to the server was reset while the page was loading."). Any solution? Quote Link to comment
Dovy6 Posted March 18, 2021 Share Posted March 18, 2021 Just installed this, fresh, and it doesn't work - ```[uwsgi-daemons] throttling "/usr/bin/python3 ./manage.py worker" for 32 seconds``` seems to be the main error. I'll try a previous tag version. But it seems like there's a problem with the default linuxserver/papermerge Quote Link to comment
Dovy6 Posted March 18, 2021 Share Posted March 18, 2021 pulled linuxserver/papermerge:v1.5.5-ls26 and that starts right up with no problem. It seems there may be an issue with v2. Quote Link to comment
dcoens Posted March 21, 2021 Share Posted March 21, 2021 The latest pull where I can get the version papermerge 2 with the GUI to work is linuxserver/papermerge:v2.0.0rc45-ls29. I just started with the latest and work backwards to one that worked. linuxserver has a comment after this release that may be causing our issue with latest, but I don't know. As I will hit "publish release" button, an automatic github action will be triggered to build and publish docker image for this release 🎉 Besides, I also changed little bit docker image, so that papermerge.conf.py and production.py (i.e. settings) are symlinks to /opt/etc/papermerge.conf.py and /opt/etc/production.py which will make easier to map those files from your local filesystem. More on this in following screencasts :) Quote Link to comment
hundsboog Posted April 22, 2021 Share Posted April 22, 2021 No updates yet? Its not working anymore... Did a complete reinstall, but unfortunately when it starts OCR'ing, nothing further happens. 😕 I really liked it Quote Link to comment
j0nnymoe Posted April 22, 2021 Share Posted April 22, 2021 3 hours ago, hundsboog said: No updates yet? Its not working anymore... Did a complete reinstall, but unfortunately when it starts OCR'ing, nothing further happens. 😕 I really liked it Some more info on what you've done might help Quote Link to comment
hundsboog Posted April 23, 2021 Share Posted April 23, 2021 (edited) On 4/22/2021 at 11:50 PM, j0nnymoe said: Some more info on what you've done might help Sure! I only thought, it common sense, that only some dedicated versions work. I did a fresh re-install, also with prior deleting the docker template and pulled a complete new one. This is what the docker log shows: [2021-04-23 08:29:48,113: DEBUG/ForkPoolWorker-2] document_log username=admin doc_id=694 page_num=18 text_len=351 [2021-04-23 08:29:48,114: DEBUG/ForkPoolWorker-2] document_log username=admin doc_id=694 page_num=19 text_len=130 [2021-04-23 08:29:48,115: DEBUG/ForkPoolWorker-2] document_log username=admin doc_id=694 page_num=20 text_len=239 [2021-04-23 08:29:48,118: DEBUG/ForkPoolWorker-2] Missing page txt /data/media/results/user_1/document_756/v2/pages/page_1.txt. [2021-04-23 08:29:48,120: DEBUG/ForkPoolWorker-2] Missing page txt /data/media/results/user_1/document_757/pages/page_1.txt. [2021-04-23 08:29:48,123: INFO/ForkPoolWorker-2] Task papermerge.core.management.commands.worker.txt2db[17445f37-9715-41ac-8f92-5b5bbe237bdc] succeeded in 1.6826063899789006s: None Basically it was the same with docker mods mentioned in the posts before, no effort in doing OCR'ring and use my automates like it did before. When you tell me what more details you need, let me know, I really appreciate your time and help! Update: New release update and it works like expected!!! Perfect and back in the Game! 😄 Edited May 2, 2021 by hundsboog Update Quote Link to comment
Deep Insights Posted May 10, 2021 Share Posted May 10, 2021 Getting following warnings: [2021-05-10 21:43:37,842: WARNING/MainProcess] Importer from imap account not started.Reason: PAPERMERGE_IMPORT_MAIL_USER not defined PAPERMERGE_IMPORT_MAIL_HOST not defined I have already added to papermerge.conf.py: PAPERMERGE_IMPORT_MAIL_USER = "testuser" PAPERMERGE_IMPORT_MAIL_HOST = "mail.mydomain.com" I'm still getting the above warning. 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.