Open ChintiminiFarm opened 3 years ago
Check this for now. I did manage to get a deployment. There's just a large gap in the documentation & guidance.
I've managed to thread the needle -- let me see if I can make that process reproducible.
Then I'll see what I can do in the way of documentation on my end.
Hey @ChintiminiFarm thanks for the update. If you find a solution and could improve the documentations please feel free to open a PR, that would help us a lot. https://github.com/strapi/documentation. Let me know if you are still running into problems and I will try to find some time to take a look.
Background:
As a side note, we've also done fairly complex deployments onto GCP (including PostgreSQL, Node.js, Loopback, Django, etc.). So we're fairly familiar with many of the typical issues which can crop up on GCP.
Deployment Failure on GCP:
We've tried to apply the techniques we've learned (from the previous successful deployments of Strapi onto GCP) to the Strapi Gatsby Catalog Starter project.
This is proving to be extremely problematic. Current instances fail with what looks to be (based on previous experience with both Strapi and Django deployments) a database connectivity type error (the error can be seen here... live).
But even prior to that, build cycles for the demo on GCP were running into very arcane errors, such as this:
We don't have enough experience with Strapi to understand all the issues (yet) but we believe these problems indicate some basic component and version incompatibilities with the Gatsby Catalog Starter project, which is (understandably) more complex (it looks like it pulls in a lot of UI elements from things like Tailwind, etc.?)
Support Request:
We managed to resolve the build errors with some (hopefully correct) guessing based on experience, but we can't say with confidence that our choices to resolve the build errors we ran into actually led to a correct, runnable build.
It would be good for someone with direct experience designing and building this app to weigh in on the arcane build errors.
And the post-build run-time errors look to be a data connectivity error, but we've had a lot of experience resolving those type of issues, and we think we've run through all "the usual suspects" and we... still... stuck. So it would be good to get some opinions on that as well.
Would it be possible for someone involved with this project to run through the standard deployment practices given by the Strapi guides and verify that this starter project can actually run on GCP?
Strapi is a really cool technology. In fact, it's more -- it's revolutionary. We'd really like to use it. But it needs to be deployable across real cloud services, otherwise it's just a cool thing on a developer's platform. Guidance to resolve this deployment issue would be most appreciated.