Comments (12)
You can add your domain to the CSRF allowed list manually or put it as your PAPERLESS_URL, maybe the domains aren't reported correctly (you can check that through logs)
from paperless-home-assistant-addon.
Sorry for asking questions that may sound stupid but where / how can I do that?
from paperless-home-assistant-addon.
There is no such option in the configuration of the addon.
I guess I have to edit a config file somewhere but looking through the files in the studio code server I can't find any files that seem to have anything to do with the paperless installation.
Which file do I need to edit and where can I find it?
from paperless-home-assistant-addon.
OK I found out how to set the paperless options now. By selecting File -> Open in the Studio code server I could navigate to the addon_config folder where I finally found the paperless files and an example for the paperless.conf.
There I have made a copy of the example file, renamed it to paperless.conf, and set the parameter:
PAPERLESS_URL=https://mydomain,http://homeassistant.local:8123
Then I have restarted the paperless addon.
That has improved the situation in that both the internal and external now behave the same:
I can now login to paperless with both URLs but I still can't preview any documents
from paperless-home-assistant-addon.
Following are all log entries between then end of starting the addon and trying to view / open a document:
[2024-03-26 16:12:18,385] [INFO] [celery.worker.consumer.connection] Connected to redis://localhost:6379//
[2024-03-26 16:12:18,477] [INFO] [celery.apps.worker] celery@ca5234a0-paperless-ngx ready.
/usr/local/lib/python3.11/dist-packages/django/http/response.py:517: Warning: StreamingHttpResponse must consume synchronous iterators in order to serve them asynchronously. Use an asynchronous iterator instead.
warnings.warn(
/usr/local/lib/python3.11/dist-packages/django/http/response.py:517: Warning: StreamingHttpResponse must consume synchronous iterators in order to serve them asynchronously. Use an asynchronous iterator instead.
warnings.warn(
/usr/local/lib/python3.11/dist-packages/django/http/response.py:517: Warning: StreamingHttpResponse must consume synchronous iterators in order to serve them asynchronously. Use an asynchronous iterator instead.
warnings.warn(
[2024-03-26 16:20:00,002] [INFO] [celery.beat] Scheduler: Sending due task Check all e-mail accounts (paperless_mail.tasks.process_mail_accounts)
[2024-03-26 16:20:00,017] [INFO] [celery.worker.strategy] Task paperless_mail.tasks.process_mail_accounts[70f874d5-e0f6-4378-a3ab-eda460ff2fe0] received
[2024-03-26 16:20:00,210] [INFO] [celery.app.trace] Task paperless_mail.tasks.process_mail_accounts[70f874d5-e0f6-4378-a3ab-eda460ff2fe0] succeeded in 0.18919590299992706s: 'No new documents were added.'
from paperless-home-assistant-addon.
In fact the preview in the documents - tab is showing but if I edit the document the document doesn't appear on the right side. See attached screenshots.
from paperless-home-assistant-addon.
For the document display it's a browser issue
For others options it was on add-on configuration tab after checking "display unused options"
from paperless-home-assistant-addon.
This is not the cause. I had seen this option before and had set it as you pointed out:
Any other ideas?
from paperless-home-assistant-addon.
Your PDF are correctly embeded by Paperless, but your browser doens't load them, its maybe to save resources, I can't help since it's not an issue of Paperless and its addon
from paperless-home-assistant-addon.
OK then I will have to find the solution myself. Thank you for your help so far.
However, it is incorrect that it is not a problem with the installation.
I have another instance of paperless installed in its own docker environment and with this instance, everything is working although I use the same browser on the same Macbook to access the 2 instances.
It definitely has something to do with the way the paperless instance is installed.
from paperless-home-assistant-addon.
Everything load well on my side, do you use HTTPS scheme?
I see that the PDF is embedded but the browser displays a button, I don't know the reason, you can go in thr inspector to see if there's any error or warning
from paperless-home-assistant-addon.
stale
from paperless-home-assistant-addon.
Related Issues (20)
- Synology NFS Mount Fails HOT 5
- Tika Gotenberg HOT 13
- Migrating to your addon from a different addon on HAOS HOT 21
- Backup recommendation HOT 7
- Not able to log in if default admin password wasn't changed HOT 3
- Storing files in external drive `media` folder HOT 2
- Paperless mobile HOT 1
- Acces denied error #13 when using subdirs in consume folder (/usr/share/hassio/share/paperless/consume) HOT 4
- How to use the importer HOT 1
- Constant "cannot add item to database" and high CPU Usage HOT 6
- Error when creating Home Assistant sensor HOT 14
- document_exporter fails with error message 'no such table: documents_correspondent' HOT 5
- Can't change PAPERLESS_MEDIA_ROOT with paperless.conf HOT 2
- paperless ngx add-on Home Assistant / Support for Tika and Gotenberg HOT 1
- Access to paperless ngx denied since Home Assistant update to 2024-05 HOT 8
- Origin checking failed - null does not match any trusted origins. HOT 1
- After plain installation no login on homeassistant HOT 2
- add support for odt documents? HOT 1
- User and password cannot be changed HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paperless-home-assistant-addon.