reactioncommerce / reaction

Mailchimp Open Commerce is an API-first, headless commerce platform built using Node.js, React, GraphQL. Deployed via Docker and Kubernetes.
https://mailchimp.com/developer/open-commerce/
GNU General Public License v3.0
12.3k stars 2.17k forks source link

Heroku Deployment Issues #1613

Closed ch-lukas closed 6 years ago

ch-lukas commented 7 years ago

Background

Issues

brent-hoover commented 7 years ago

@chluke123 Which branch were you using? Could you retry this using the development branch?

ch-lukas commented 7 years ago

@zenweasel 0.17.1. Quickly also tried with 0.18.0 but the deploy process was throwing a ton of errors. Unfortunately due to lack of time I'm not able to do more checks.

ch-lukas commented 7 years ago

Referring back to 0.17.1. Another error - the Aldeed product / variant forms seem to be having lots of issues.

screen shot 2016-12-19 at 2 28 38 pm
ch-lukas commented 7 years ago

Been testing with the dev / 0.18 branch as well. Still getting the same issues. Also been running into this with some of my docker/digitalocean test deployments.

I don't know the root cause, but believe this is to do with mongo DB not properly being initialised on the first run.

If I restore a mongo DB from one that I know works (e.g. previously created local meteor DB) to Mlab; then both Heroku and Digitialocean deployments work fine. Can only assume the DB was incomplete or corrupt some how which was causing issues.

Is would be nice if were built-in data sanity checks to help with this sort of thing.

brent-hoover commented 6 years ago

We no longer support (and haven't for a while) deployment to Heroku. We just don't have the bandwidth to test/support it properly. If you have other issues not related to Heroku deployment please open them separately. Thanks!