vmware-archive / postfacto

Self-hosted retro tool aimed at helping remote teams
GNU Affero General Public License v3.0
8 stars 22 forks source link

Deployment is successful but app is not running #418

Closed saurabh1969 closed 2 years ago

saurabh1969 commented 2 years ago

Followed the process for Heroku deployment : https://github.com/pivotal/postfacto/blob/master/deployment/README.md

  1. Downloaded code 4.3.11 version : https://github.com/pivotal/postfacto/releases
  2. Unzip and cd into package/heroku
  3. Deploy using deploy.sh my-postfacto (windows cmd)

No issues while deployment . But cannot see app running

image

Logs:

image

samanthamar commented 2 years ago

Same issue here.

saurabh1969 commented 2 years ago

On manually trying all steps,got this error:

image

textbook commented 2 years ago

I couldn't replicate this, I used the heroku/deploy.sh script following the instructions and it worked fine. From that last screenshot specifically you're trying to push from the wrong directory, heroku/ rather than assets/ (note the pushd), so aren't including the files that the Ruby buildpack is looking for (reference: https://devcenter.heroku.com/articles/ruby-support#general-support-activation).

saurabh1969 commented 2 years ago

@textbook Thanks for pointing out that. I was pushing from different folder while doing steps manually.I went to assets/ folder and i did all steps, it worked. One modification i did was not to use the buildpack which you guys have provided while creating the app.I used heroku default Ruby build back.

Old: heroku create APP_NAME --buildpack https://github.com/heroku/heroku-buildpack-ruby.git --region us

New: heroku create APP_NAME --region us

Any reasons you guys weren't using heroku ruby buildpack?

textbook commented 2 years ago

Any reasons you guys weren't using heroku ruby buildpack?

https://github.com/heroku/heroku-buildpack-ruby is the Heroku Ruby buildpack.

The deploy script uses --buildpack https://github.com/heroku/heroku-buildpack-ruby.git#v227 to pin a specific version of the buildpack, otherwise changes to the runtime or dependencies in new versions of the buildpack could mean the app fails to deploy at some point in the future.

saurabh1969 commented 2 years ago

@textbook Thanks for the help.