Errors on Ubuntu Desktop LTR



  • He there, I've just installed jsreport on the latest Ubuntu desktop LTR. No, VM, docker, etc. Straight installation. Whenever I try to run one of the samples (I'm just trying to get it working), I get the following error and I'm not sure what to do at all. Can someone help?

    Report "invoice-main" render failed.
    
    Failed to launch the browser process:  Code: null
    
    stderr:
    chrome_crashpad_handler: --database is required
    Try 'chrome_crashpad_handler --help' for more information.
    [76261:76261:1128/090758.082194:ERROR:third_party/crashpad/crashpad/util/linux/socket.cc:120] recvmsg: Connection reset by peer (104)
    
    TROUBLESHOOTING: https://pptr.dev/troubleshooting
    

    my config looks like:

    {
      "httpPort": 5488,
      "trustUserCode": true,
      "store": {
        "provider": "fs"
      },
      "blobStorage": {
        "provider": "fs"
      },
      "logger": {
        "console": {
          "transport": "console",
          "level": "debug"
        },
        "file": {
          "transport": "file",
          "level": "info",
          "filename": "logs/reporter.log"
        },
        "error": {
          "transport": "file",
          "level": "error",
          "filename": "logs/error.log"
        }
      },
      "trustUserCode": false,
      "reportTimeout": 60000,
      "workers": {
        "numberOfWorkers": 2
      },
      "extensions": {
        "chrome-pdf":{
          "launchOptions":{
            "args":[
              "--no-sandbox","--disable-setuid-sandbox","--disable-crash-handler"
            ]
          }
        },
        "authentication": {
          "cookieSession": {},
          "admin": {
            "username": "admin",
            "password": "password"
          },
          "enabled": false
        },
        "sample-template": {
          "createSamples": true
        }
      }
    }
    


  • FYI, this is running as a service. the service file looks like:

    [Unit]
    Description=jsreport
    After=network.target
    
    [Service]
    Type=simple
    User=www-data
    Group=www-data
    WorkingDirectory=/opt/jsreport
    ExecStart=/usr/bin/jsreport start
    Restart=on-failure
    Environment="NODE_ENV=production"
    
    [Install]
    WantedBy=multi-user.target
    

Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.