Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    How to use Syncthing with Paperless

    Syncthing
    1
    1
    175
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      manngobaum last edited by manngobaum

      Hi,

      I am new to Syncthing. With this post I want to describe how to use Syncthing with Paperless-ngx, a Mac and an iPhone.

      First of all:

      Install paperless-ngx, Syncthing and Nextcloud via Cloudron.
      After installation you have to add a local volume mount which can be shared between paperless, Syncthing and Nextcloud. Therefore go to the local e.g. media folder

      cd media
      

      and create a folder:

      mkdir paperless-share
      

      set permissions to 777 so every connected app can work with it properly:

      chmod 777 -R paperless-share
      

      Afterwards go to:
      https://my.yourcloudron.xx/#/volumes and a new volume with "Add Volume":
      Name: e.g. "Paperless-Share"
      Mount Type: File System
      Local directory: /media/paperless-share

      Go to your Paperless settings under storage and change the Data directory to "Paperless-Share". Save and the app will restart automatically.

      Bildschirmfoto 2022-08-22 um 16.20.41.png

      Afterwards go to Sync and Nextcloud and add your new Volume under storage settings under Mounts and tick off Read Only:
      Bildschirmfoto 2022-08-22 um 16.20.28.png

      Configure Syncting by adding a new folder and point it to the correct Paperless directory in your new local volume:
      Bildschirmfoto 2022-08-22 um 16.23.12.png

      By adding this share to your local Mac Syncthing you should be able to drop files to this local directory which will be synced to the consume folder of Paperless and processed in Paperless.

      On my iPhone I am using Genius Scan. They only support exports by FTP (and not SFTP) and WebDav. That's why I had to use my Nextcloud as WebDav Server which uses my local volume as external storage. Therefor just install the App "External storage support". Afterwards you can add your Cloudron Volume via the Nextcloud Admin app settings:
      Name: Paperless Share
      external storage: local
      configuration: /media/Paperless-share/
      activate sharing
      activate preview

      Now go to your Genius Scan App settings and add your Nextcloud WebDav credentials

      cfe4ba46-0141-46ce-b891-a9ab449d38a3-image.png

      And that's it. You are now able to send documents to your Paperless from your iPhone and Mac.

      Looking forward to your feedback and possible other (more secure) solutions.

      BTW I am using a ScanSnap ix1500 at home to scan to my local Mac folder.

      Best,
      Sven

      1 Reply Last reply Reply Quote 3
      • First post
        Last post
      Powered by NodeBB