jpillora / node-torrent-cloud

Torrent Cloud – A self-hosted Bittorrent client in the Cloud
183 stars 183 forks source link

Getting an error in backend.js while deploying it on heroku #13

Closed spydee007 closed 7 years ago

spydee007 commented 8 years ago

Below is the error observed in the logs

2016-10-01T09:38:24.791201+00:00 app[web.1]: at Module._compile (module.js:387:25)

2016-10-01T09:38:24.791208+00:00 app[web.1]: at Object.Module._extensions..js (module.js:422:10)

2016-10-01T09:38:24.791208+00:00 app[web.1]: at Module.load (module.js:357:32)

2016-10-01T09:38:24.791209+00:00 app[web.1]: at Function.Module._load (module.js:314:12)

2016-10-01T09:38:24.791209+00:00 app[web.1]: at Module.require (module.js:367:17)

2016-10-01T09:38:24.791210+00:00 app[web.1]: at require (internal/module.js:20:19)

2016-10-01T09:38:24.791210+00:00 app[web.1]: at /app/lib/backend.js:26:16

2016-10-01T09:38:24.791210+00:00 app[web.1]: at Array.forEach (native)

2016-10-01T09:38:24.791214+00:00 app[web.1]: at Object. (/app/lib/backend.js:21:10)

2016-10-01T09:38:32.818604+00:00 heroku[web.1]: State changed from crashed to down 1.txt

jpillora commented 8 years ago

@rakshans1 can you check if this is related to the previous change?

spydee007 commented 8 years ago

@jpillora i have attached the logs in 1.txt file

rakshans1 commented 8 years ago

@spydee007 did you add env variable....also heroku is suspending this app automatically if you deploy via heroku button

spydee007 commented 8 years ago

@rakshans1 yes i have added env var , also provided search var json file. i guess heroku is suspending the app coz now if i check the app setting it show that my app is suspended. so as a workaround should i try cloning to my repo and then connecting it via GitHub or is there something else?

spydee007 commented 7 years ago

Heroku will suspend the app with bit torrent source codes/torrent programs.