I’ve tried GetHomepage and while I’ve configured most of it I’ve had a few troubles due to the instructions being very incomplete and confusing.

The one problem that eluded me was setting paperlessngx widget. Worth nothing that, unlike the other services, paperlessngx is running on docker-compose on my server. While the widget detects the service, it never gets any information

Eventually it just gives an API error

# services.yaml (just the relevant part)
   
     - Paperless-ngx:
        href: http://<myserverhost:port>
        description: Document Management System
        icon: https://static-00.iconduck.com/assets.00/paperless-icon-426x512-eoik3emb.png
        server: paperless
        widget:
          type: paperlessngx
          url: http://<local-ip:port>
          token: <token-configured-inside-paperless>


    #docker.yaml

    paperless:
      host: <local-ip>
      port: <port>    

I’m out of ideas. Unfortunately the only instructions are on the site and they aren’t easy to follow if you’re not already familiarized with docker.

  • tofubl@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    I don’t think it’s you. The paperless widget stopped working for me recently after it had been fine before. Similar setup to yours.

    It bothered me a little but since the widget isn’t actually very useful to me I didn’t care to invest more time to get to the bottom of it.

    • swerler@lemm.ee
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      2 months ago

      Mine works but I’m not in a position to confirm what my yaml looks like, I’ll try to remember to check before work.

      • tofubl@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        0
        arrow-down
        1
        ·
        2 months ago

        Would love to see it.

        Here’s mine from the Paperless compose.yml (non functional):

          webserver:
            image: ghcr.io/paperless-ngx/paperless-ngx
            [...]
            labels:
              - homepage.group=Productivity
              - homepage.name=Paperless
              - homepage.icon=paperless.png
              - homepage.href=https://[LOCAL URL]
              - homepage.description=Document Management
              - homepage.widget.type=paperlessngx
              - homepage.widget.url=http://[PAPERLESS IP:PORT]
              - homepage.widget.key=[PAPERLESS API TOKEN]
        

        And here’s the error from Homepage frontend:

            API Error: Unknown error
            URL: http://[PAPERLESS IP:PORT]/api/statistics/?format=json
            Raw Error:
            {
                "errno": -110,
                "code": "ETIMEDOUT",
                "syscall": "connect",
                "address": "[PAPERLESS IP]",
                "port": [PAPERLESS PORT]
            }