question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support heroku deploy

See original GitHub issue

I used the one click deploy to heroku button on the readme. Deploy succeeded but the gaia hub doesn’t seem to be running properly.

Logs are below:

2019-04-08T11:30:04.307951+00:00 app[web.1]: > gaia-hub@2.5.0 start /app/hub
2019-04-08T11:30:04.307953+00:00 app[web.1]: > npm run build && node lib/index.js
2019-04-08T11:30:04.307955+00:00 app[web.1]: 
2019-04-08T11:30:04.879370+00:00 app[web.1]: 
2019-04-08T11:30:04.879392+00:00 app[web.1]: > gaia-hub@2.5.0 build /app/hub
2019-04-08T11:30:04.879397+00:00 app[web.1]: > npm run lint && tsc && chmod +x lib/index.js
2019-04-08T11:30:04.879399+00:00 app[web.1]: 
2019-04-08T11:30:05.454617+00:00 app[web.1]: 
2019-04-08T11:30:05.454637+00:00 app[web.1]: > gaia-hub@2.5.0 lint /app/hub
2019-04-08T11:30:05.454639+00:00 app[web.1]: > eslint --ext .ts ./src
2019-04-08T11:30:05.454640+00:00 app[web.1]: 
2019-04-08T11:30:34.179737+00:00 app[web.1]: {"message":"The disk driver does not use the \"config.bucket\" variable. It is set to hub","level":"\u001b[33mwarn\u001b[39m","timestamp":"2019-04-08 11:30:34"}
2019-04-08T11:30:34.204623+00:00 app[web.1]: {"message":"Listening on port 3000 in production mode","level":"\u001b[33mwarn\u001b[39m","timestamp":"2019-04-08 11:30:34"}
2019-04-08T11:31:02.889848+00:00 heroku[web.1]: State changed from starting to crashed
2019-04-08T11:31:02.960825+00:00 heroku[web.1]: State changed from crashed to starting
2019-04-08T11:31:02.748377+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2019-04-08T11:31:02.748377+00:00 heroku[web.1]: Stopping process with SIGKILL
2019-04-08T11:31:02.866365+00:00 heroku[web.1]: Process exited with status 137
2019-04-08T11:31:13.552046+00:00 heroku[web.1]: Starting process with command `bash ./hub/scripts/run.sh`
2019-04-08T11:31:15.265430+00:00 app[web.1]: {
2019-04-08T11:31:15.265448+00:00 app[web.1]:   "servername": "hub",
2019-04-08T11:31:15.265449+00:00 app[web.1]:   "port": "3000",
2019-04-08T11:31:15.265450+00:00 app[web.1]:   "driver": "disk",
2019-04-08T11:31:15.265451+00:00 app[web.1]:   "bucket": "hub",
2019-04-08T11:31:15.265452+00:00 app[web.1]:   "readURL": "hub",
2019-04-08T11:31:15.265453+00:00 app[web.1]:   "cacheControl": "public, max-age=1",
2019-04-08T11:31:15.265454+00:00 app[web.1]:   "pageSize": 20,
2019-04-08T11:31:15.265455+00:00 app[web.1]:   "diskSettings": {
2019-04-08T11:31:15.265456+00:00 app[web.1]:     "storageRootDirectory": "/tmp/gaia-disk"
2019-04-08T11:31:15.265457+00:00 app[web.1]:   },
2019-04-08T11:31:15.265458+00:00 app[web.1]:   "awsCredentials": {
2019-04-08T11:31:15.265459+00:00 app[web.1]:     "accessKeyId": “123”,
2019-04-08T11:31:15.265461+00:00 app[web.1]:     "secretAccessKey": “123”
2019-04-08T11:31:15.265462+00:00 app[web.1]:   },
2019-04-08T11:31:15.265462+00:00 app[web.1]: 
2019-04-08T11:31:15.265463+00:00 app[web.1]:   "proofsConfig": {
2019-04-08T11:31:15.265464+00:00 app[web.1]:     "proofsRequired" : 0
2019-04-08T11:31:15.265465+00:00 app[web.1]:   },
2019-04-08T11:31:15.265466+00:00 app[web.1]: 
2019-04-08T11:31:15.265467+00:00 app[web.1]:   "azCredentials": {
2019-04-08T11:31:15.265468+00:00 app[web.1]:     "accountName": "",
2019-04-08T11:31:15.265469+00:00 app[web.1]:     "accountKey": ""
2019-04-08T11:31:15.265470+00:00 app[web.1]:   },
2019-04-08T11:31:15.265471+00:00 app[web.1]: 
2019-04-08T11:31:15.265472+00:00 app[web.1]:   "argsTransport": {
2019-04-08T11:31:15.265473+00:00 app[web.1]:     "level": "debug",
2019-04-08T11:31:15.265474+00:00 app[web.1]:     "handleExceptions": true,
2019-04-08T11:31:15.265475+00:00 app[web.1]:     "stringify": true,
2019-04-08T11:31:15.265476+00:00 app[web.1]:     "timestamp": true,
2019-04-08T11:31:15.265477+00:00 app[web.1]:     "colorize": true,
2019-04-08T11:31:15.265479+00:00 app[web.1]:     "json": true
2019-04-08T11:31:15.265480+00:00 app[web.1]:   }
2019-04-08T11:31:15.265481+00:00 app[web.1]: }
2019-04-08T11:31:16.336024+00:00 app[web.1]: 
2019-04-08T11:31:16.336078+00:00 app[web.1]: > gaia-hub@2.5.0 start /app/hub
2019-04-08T11:31:16.336081+00:00 app[web.1]: > npm run build && node lib/index.js
2019-04-08T11:31:16.336082+00:00 app[web.1]: 
2019-04-08T11:31:17.485737+00:00 app[web.1]: 
2019-04-08T11:31:17.485751+00:00 app[web.1]: > gaia-hub@2.5.0 build /app/hub
2019-04-08T11:31:17.485779+00:00 app[web.1]: > npm run lint && tsc && chmod +x lib/index.js
2019-04-08T11:31:17.485781+00:00 app[web.1]: 
2019-04-08T11:31:17.967652+00:00 app[web.1]: 
2019-04-08T11:31:17.967676+00:00 app[web.1]: > gaia-hub@2.5.0 lint /app/hub
2019-04-08T11:31:17.967678+00:00 app[web.1]: > eslint --ext .ts ./src
2019-04-08T11:31:17.967679+00:00 app[web.1]: 
2019-04-08T11:31:57.257247+00:00 app[web.1]: {"message":"The disk driver does not use the \"config.bucket\" variable. It is set to hub","level":"\u001b[33mwarn\u001b[39m","timestamp":"2019-04-08 11:31:57"}
2019-04-08T11:31:57.283516+00:00 app[web.1]: {"message":"Listening on port 3000 in production mode","level":"\u001b[33mwarn\u001b[39m","timestamp":"2019-04-08 11:31:57"}
2019-04-08T11:32:13.868364+00:00 heroku[web.1]: State changed from starting to crashed
2019-04-08T11:32:13.770362+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2019-04-08T11:32:13.770362+00:00 heroku[web.1]: Stopping process with SIGKILL
2019-04-08T11:32:13.844601+00:00 heroku[web.1]: Process exited with status 137
2019-04-08T11:34:58.854065+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/hub_info" host=gaia-review-hub.herokuapp.com request_id=6c158686-e77a-4d62-a491-86bf625cece2 fwd="88.0.17.0" dyno= connect= service= status=503 bytes= protocol=https

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
larrysalibracommented, Apr 8, 2019

Thanks @GInxh - think that makes sense. Would be great to remove the heroku one click deploy from the readme.

I think a lot of devs looking to set up their own will want to use Digital Ocean + spaces. @hstove do you have instructions for those? Would also be cool to have an image.

0reactions
zone117xcommented, Feb 20, 2020

Closing this issue due to lack of activity. Please feel free to comment if this should be re-opened.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Heroku: Cloud Application Platform
Developers, teams, and businesses of all sizes use Heroku to deploy, manage, and scale apps. ... Whether you're building a simple prototype or...
Read more >
Support Channels - Heroku Dev Center
Heroku provides a number of support channels including http://help.heroku.com and the Dev Center.
Read more >
Deployment - Heroku Dev Center
Most Heroku deployments are performed with Git. Heroku also supports Docker-based deployments. Additionally, you can deploy to Heroku via any of the following ......
Read more >
Language Support | Heroku Dev Center
Reference documentation describing Heroku support for Ruby, Java, Python, Node.js, PHP, Go, ... Heroku Node.js Support · Deploying Node.js Apps on Heroku ......
Read more >
Troubleshooting & Support - Heroku Dev Center
Troubleshooting & Support · Heroku Status · Heroku Error Codes · Error Pages · Understanding Heroku Postgres Log Statements and Common Errors ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found