Fortunately my router is a FRITZ!Box and even more fortunately this Box offers a WireGuard connection. I connected my phone and now the paperless mobile app works fully well.
HA Companion also works better, only opening of documents gives an error ānot supportedā (so I think I still have some settings not accurate) but that is not important.
Iāve reached a brick wall with mounting the consume and media folders as a network share.
I have a samba share which has one authorised user. This share is mounted in Home Assistant as āpaperlessā.
The paperless-ngx add on goes through the startup and changed the ownership of a bunch of files:
changed ownership of '/share/paperless/media/documents/originals/2014/xxx' from root:root to paperless:paperless
changed ownership of '/share/paperless/media/documents/originals/2014/xxx' from root:root to paperless:paperless
changed ownership of '/share/paperless/media/documents/originals/2014/xxx' from root:root to paperless:paperless
changed ownership of '/share/paperless/media/media.lock' from root:root to paperless:paperless
changed ownership of '/share/paperless/consume' from root:root to paperless:paperless
changed ownership of '/tmp/paperless' from root:root to paperless:paperless
Then I get this:
[init-checks] Running Django checks
SystemCheckError: System check identified some issues:
ERRORS:
?: PAPERLESS_CONSUMPTION_DIR is not writeable
HINT: Set the permissions of drwxr-xr-x root root /share/paperless/consume to be writeable by the user running the Paperless services
?: PAPERLESS_MEDIA_ROOT is not writeable
HINT: Set the permissions of drwxr-xr-x root root /share/paperless/media to be writeable by the user running the Paperless services
The only user on the samba server is the paperless user, which is uid/gid 1000. The network share is only accessible by this user (and is successfully mounted by HA as can be seen in the first log snippet above). The mounted share in HAOS is setup with this username/password.
On the samba end, all the folders and files are owned by paperless and have the group paperless. I can view, edit and delete files in the consume and media folders using the samba paperless username/password (same as is used for mounting the share in HA).
What is the missing connection between the paperless-ngx addonās user and the samba user?
What am I missing in order to let the paperless-ngx add on have write access to the consume and media folders?
Iām totally flummoxed!
Paperless NGX was not assigned the default hostname on my Home Assistant; Tika Gotenberg also has a modified hostname, which is why Paperless NGX cannot find Tika Gotenberg. Paperless ngx searches for hostname ca5234a0-tika-gotenberg, but it does not find it. Reinstalling did not help. The hostnames on my homeassistant are 55eca821-paperless-ngx and 55eca821-tika-gotenberg. I donāt know, how to change them. Can someone help me?
Hi everyone, like some of you, Iād like to move my storage location to a Synology drive and access it with HomeAssistant/Paperless. Iāve already read a lot about adding network storage, etc., but does this really work or does it cause problems? Is there a defined way to do this correctly? Thanks in advance.
create a āPaperlessā folder on the NAS and share it via NFS, for example (Google for information on the specific NAS so you can add the network storage to HA)
HA stop the Paperless add-on
HA FileEditor/Samba save the share folder as a backup, then rename it (e.g., Paperless_save)
HA add the network storage as a āpaperlessā share
HA copy the two folders āconsume/mediaā from āpaperless_saveā to āpaperlessā in the share folder
HA once finished, delete paperless_save (a backup was saved in case of emergency )
After that, the add-on can be started.
When an error appears in the log during startup regarding permissions ā stop the add-on and set the UID and GID to ā0ā in the config. The add-on should then start without problems.
As an additional option, you can have the respective scanner scan the consume folder, but youād have to Google that anyway.
However, I would like to pass on two things:
correct permissions for the āconsumeā folder (Otherwise, the scanner cannot store anything)
Polling interval for the āconsumeā folder, in seconds! This interval is used to check for changes in this folder.
Have fun and I hope it works for you, too.
(Whoever finds these āinstructions/guideā)
Yeah if you follow my thread, you just need to manually add all the permissions for your HA user that will be using ingress. (Sorry for delay, I only log in here when I am researching an issue)
The Recusive consuming setting does not seem to work.
My external sysnology paperless consume directory only gets scant on restart add-on.
I also have tried to add the configuration to the config file. and also not seems to work.