[Support] Linuxserver.io - Papermerge


104 posts in this topic Last Reply

Recommended Posts

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!

Link to post
  • 2 weeks later...
  • Replies 103
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

to get german the interface in german language add the following to papermerge.conf.py in appdata folder LANGUAGE_CODE = "de-DE" to get german language for OCR go to docker shell and type a

Hey i use this also use this tool in german and for all the not english users check out the mod.   https://github.com/linuxserver/docker-mods/tree/papermerge-multilangocr   With th

Added these two lines to this file in appdata.

Posted Images

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 ?

Link to post
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.

Link to post
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 👍

Link to post
  • 2 weeks later...
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 by dcoens
Link to post
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.

Link to post
  • 3 weeks later...

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 = "---@gmail.com"
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
 

Link to post
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 = "---@gmail.com"
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?

 

Link to post
  • 2 weeks later...
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.

Link to post

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 = "xxxxx@gmail.com"
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 by technologiq
Link to post
  • 2 weeks later...
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 :/

Link to post

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!

Link to post

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.

Link to post
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.

Link to post
  • 2 weeks later...

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?

Link to post
  • 2 weeks later...

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

Link to post

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 :)

 

 

Link to post
  • 1 month later...
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 :)

Link to post
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 by hundsboog
Update
Link to post
  • 3 weeks later...

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.

Link to post

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.