title: Google Lighthouse CI - LHCI Server to work for multiple autorun(s)
body: <p>I'm trying to setup <a href="https://github.com/GoogleChrome/lighthouse-ci/blob/master/docs/getting-started.md#github-app-method-recommended" rel="nofollow noreferrer">Lighthouse CI</a> but having issues running <code>lhci autorun</code> multiple times. I went over the <a href="https://github.com/GoogleChrome/lighthouse-ci/blob/master/docs/getting-started.md" rel="nofollow noreferrer">Getting Started</a> instructions and reviewed <a href="https://github.com/GoogleChrome/lighthouse-ci/blob/master/docs/troubleshooting.md" rel="nofollow noreferrer">Troubleshooting</a> section but no luck. </p>
  
  <p>How can I modify the configuration of my LHCI project and docker LHCI Server (<a href="https://github.com/GoogleChrome/lighthouse-ci/blob/master/docs/recipes/docker-server/README.md" rel="nofollow noreferrer">Docker Server</a>) so that the <code>lhci autorun</code> runs against the latest Stash/Bitbucket and doesn't give me: </p>
  
  <pre><code>Error: Unexpected status code 422
    {"message":"Build already exists for hash \"18fcc3e730cc720756eba4b9a94a778b60d5e1e0\""}
      at ApiClient._convertFetchResponseToReturnValue (/usr/local/lib/node_modules/@lhci/cli/node_modules/@lhci/utils/src/api-client.js:54:21)
      at processTicksAndRejections (internal/process/task_queues.js:86:5)
  WARNING: upload command failed.
  assert command failed. Exiting with status code 1.
  </code></pre>
  
  <p>I get results only for the default commit show after my first run:</p>
  
  <p><strong>18fcc3e "tests(utils): support travis build context tests"</strong></p>
  
  <p>Using <code>lhci wizard</code> I tried configuring my project to point to my Stash repo but the token that got generated from the project wizard setup after adding it to my lighthouserc.json it doesn't work on <a href="http://localhost:9001/app" rel="nofollow noreferrer">http://localhost:9001/app</a>. What am I missing? </p>
  
  <p><strong>lighthouserc.json</strong></p>
  
  <pre><code>{
    "ci": { 
      "server": {
        "port": 9001,
        "storage": {
          "storageMethod": "sql",
          "sqlDialect": "sqlite",
          "sqlDatabasePath": "/data/lhci.db"
        }
      },
      "collect": {
        "numberOfRuns": 2,
        "url": [
          "https://wwww.mydomain.ca/",
          "https://www.mydomain.ca/page2", 
        ]
      }, 
      "upload": {
        "target": "lhci",
        "serverBaseUrl": "http://localhost:9001",
        "token": "38c17168748-c5f8-4744-b05d-3fdc97806adfabf" 
      }
    }
  }
  </code></pre>