Thank you for your answer.
When running the command (to retrain the Auto-classifier) it seems to error out.
Is this a problem with the addon or with paperless directly?
It might be a corrupted database or depreciated commands.
It looks like nothing related to the add-on
Thanks for the quick reply. I opened the port 8081. The app uses the API homeassistant.local:8081/api/documents/
I have tested the API on my local browser. Every time I use the ānext buttonā the address changes to http://ca5234a0-paperless-ngx/api/documents/?page=2
Is there any possible solution for that or? Havenāt found anything in the readme and I am not the ultra pro in programming.
Itās weird, django is using the hostname itās maybe an issue with the reverse proxy, Iāll investigate and follow up the issue to paperless-ngx devs if itās not addon related
I have set the the forwarded host and port in the nginx configuration but port is ignored.
Maybe I missed something, Iāll check that later
Hello Benoit,
Is it currently possible to access your Paperless-ngx from outside? Currently, access seems to be only through the Ingress, if I understand correctly. Hereās an example scenario:
Add-on Cloudflared: config:
- hostname: paperlessngx.custom.domain.com
service: http://177.168.0.75:8729
If I enter paperlessngx. custom. domain. com in the browser, I should arrive at the login screen without having to log in to a Home Assistant instance.
Youāll have to enable a port in the configuration tab or use nginx proxy manager with local docker network to http://ca5234a0-paperless-ngx
(check Hotname value of the add-on)
Thank you. My issue was actually with Cloudflare. It wasnāt recognizing the port when I linked it to a domain.
You may need to setup a reverse proxy to host all yours addons on 443 and 80 ports.
Dear Benoit,
I installed the plugin yesterday and set the internal and external IPs in the network setup to hxxp://192.168.10.16:8123 and the external one to hxxps://mynabucasa.ui.nabu.casa.
On my PC everything works fine, but when I access paperless from my Tablet (while connected to my WLAN), I get the CSRF error (403]. And the following appears in the log:
2024-02-27 05:53:38,583] [WARNING] [django.security.csrf] Forbidden (Origin checking failed - https://xxxxxxx.ui.nabu.casa does not match any trusted origins.): /api/hassio_ingress/WjsR0TurVQ4KQ7w0s6x75sbCgX6axpzzLUMcU-7ywgA/accounts/login/
Did I configure something wrong, or what is the problem here?
I xx-ed the tt in http, because I cannot post more than 2 links in one post.
Edit: It works from my smartphone, as long as I am connected to my WLAN. Using mobile internet brings the same error. But from my Tablet it does not work, even when connected to WLAN.
Hi,
thank you very much for this gread addon
I have newest version with Barcodes consuming: disabled and ASN Barcodes enabled.
Whenever I try to archive a document that includes some EAN barcode import crashes with
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/billiard/pool.py", line 1264, in mark_as_worker_lost
raise WorkerLostError(
billiard.exceptions.WorkerLostError: Worker exited prematurely: signal 6 (SIGABRT) Job: 179.
when I label barcode with blank paper import works correctly.
Any hints what to do?
Same with large PDF > 20 pages
I habe RaspberryPi 4 with 4 GB RAM
regards
Thomas
@Knife Itās because I append the port to the host, Iāll fix that
@Fantomas Itās an issue with Paperless-NGX Iāve seen things related to that error on theirs commits messages.
Iāll set Paperless-NGX to the last release to check if it does fix the barcode issue
Iāve fixed all currently known issues.
@Fantomas if your error persist please open a new issue on GitHub with more logs
v1.2.5
Bug fixes
- Django 26037 workaround @BenoitAnastay (#105)
Enhancements
- Allow CSRF domains without port @BenoitAnastay (#106)
Maintenance
- Update renovate @BenoitAnastay (#107)
Dependency updates
- Update paperless-ngx/paperless-ngx to v2.5.4 @renovate (#104)
External Nabu Casa URL now works perfect.
Thank you very much!
Whatās going wrong if paperless ngx donāt wont start?
Show Network Config of myHA > configuration was done
Error:
502 bad gateway
Log:
chown: cannot access '/share/paperless': No such file or directory
s6-rc: warning: unable to start service init-paperless: command exited 1
Ingress is enabled
Iāll fix that
It should be fixed with v1.2.7 update
How can I change the path of the folders (consume/media)? (eq to store the documents on an external drive)
Media folder isnāt mounted by the addon, you may try to edit your udev script to set the mount point to /share/paperless
If your Router have network share support it might be easier to plug the USB on your router and share it to HA OS via SMB or NFS
Did you solve the issue? Just in case if anyone has the error that the NAS Share is not writable
?: PAPERLESS_CONSUMPTION_DIR is not writeable
HINT: Set the permissions of
drwxr-xr-x root root /share/paperless/consume
Solution: switch from CIFS to NFS share network mount following this thread:
https://community.home-assistant.io/t/new-backup-to-nas-how-to/579606/5
I added a chown command but I cannot control ACL from the addon if itās managed by your external storage