Great plugin! Thanks for all the effort you have put in!
I am running Home Assistant OS. When I am on my wifi, I am able to connect to Paperless via the browser, but when I do it via the HA iPhone app, I get a CSRF error.
I see some other replies about this error, but I think these are all about running your own docker container.
Is there a way to get access to the plugin from the HA app?
And another question, is it possible to connect from an iPhone app like Paperparrot or Swift Paperless?
I do not have this issue, but there’s one issue with core API when URLs are set to automatic, the current workaround is to manually add your domain to the allowed list.
You’ll need to use direct access, maybe my documentation is not enough
Ingress and API
For API you’ll need to enable direct access to the Add-on by setting up a port under network in configuration tab
at some point in the future I want to switch to a system, where some plugins are running „standalone“ outside of HA. Will it be possible to backup your Paperless installation including the „trained ai“ to another docker container running paperless ngx?
can’t figure it out how you did that.
Is this configuration necessary to get access to paperless-ngx from outside?
How can I get die ip adress of my ha instance?
[2024-03-08 08:53:22,150] [WARNING] [django.security.csrf] Forbidden (Origin checking failed - http://hass.domain.com:8123 does not match any trusted origins.): /api/hassio_ingress/LI2n4k9PHSfniOfKM38ppmyMWWvAeSe4KP-058drv78/accounts/login/
When URLs are set to automatic in Home Assistant OS, the domain isn’t reported to the addon, you have to add it manually to the CSRF allowed list in the addon configuration tab
Go to Settings / Add-ons / Paperless-ngx and in the configuration tab, paste the copied value in the CSRF Allowed domains. Be sure to remove the https:// part of the url! If you leave that in, it will not work.
I’m in the same boat. I just migrated from another instance of Paperless-ngx HA addon and this is missing the option to change paths. I’ve tried a couple different ways and can’t get it to read my external drive like the other instance did. Please help!