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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Paperless-ngx
  3. Access consume folder from scanner/network

Access consume folder from scanner/network

Scheduled Pinned Locked Moved Paperless-ngx
4 Posts 3 Posters 64 Views 3 Watching
  • 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.
  • T Offline
    T Offline
    tsharky
    wrote last edited by
    #1

    Hey there,

    I'm using paperless-ngx and nextcloud on my cloudron and being happy with it. But there is one thing I can't get to work.

    My setup:

    WAN --- Unifi Gateway ___(port 80/443)___ Cloudron (172.16.101.1/23)
                          \__________________ scanner (172.16.10.10/23)
    

    What I would like to do:
    I would like to have my local Brother scanner to have access to the consume folder of my paperless-ngx app on the local network. I also want to share the consume folder (read/write) and archive folder (read only) of paperless-ngx with nextcloud.

    What I did already:
    First I tried to install a nfs server and followed this guide (https://docs.cloudron.io/guides/nfs-share/) and opened port 2049 in the cloudron firewall.

    ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:nfs
    ACCEPT     udp  --  anywhere             anywhere             udp dpt:nfs
    

    I created a folder /srv/nfs and exported (/etc/exports) it. I have granted access to the nfs folder to paperless-ngx and nextcloud by creating a volume and add it as storage in the app config.

    I can connect to the nfs share from localhost, but cannot access it from the local network. showmount -e 172.16.101.1 runs in a timeout. To me it looks like the cloudron firewall is blocking my traffic.

    I also thought about to use the integrated ftp server, but I can only access the ftp server if I open port 222 on the WAN side and forward it to cloudron (what I would not like to do).

    Do you have any ideas/tips how to solve this? I would appreciate your feedback.

    Kind regards!

    1 Reply Last reply
    0
    • J Offline
      J Offline
      joseph
      Staff
      wrote last edited by
      #2

      Does your hypervisor/vm runner block network traffic? Maybe port 2049 has to be opened up there? I think netstat -tulnp | grep :2049 will give you the IP nfs is binding to.

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tsharky
        wrote last edited by tsharky
        #3

        I had to set a static port for mountd in /etc/nfs.conf and also had to open port 111 (PortMapper) and the mountd port in the cloudron firewall. rpcinfo -p helped me with this. Now I can access my nfs server.

        btw: Your guide for the nfs share (https://docs.cloudron.io/guides/nfs-share/) is outdated. Since ubuntu 22.04 you have to deactivate NFSv3 in /etc/nfs.conf.
        https://lansible.com/2023/10/disable-nfsv3-on-ubuntu-22.04-and-newer/

        Thanks!

        1 Reply Last reply
        2
        • jamesJ Offline
          jamesJ Offline
          james
          Staff
          wrote last edited by
          #4

          Hello @tsharky
          Thanks for the information.
          I have updated the documentation.

          1 Reply Last reply
          1
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search