Closed ceefour closed 3 years ago
@ceefour was this an upgrade from some previous version of Webiny or a fresh project?
No it's a fresh project.
Now I'm trying:
yarn webiny destroy api --env=dev
# above was successful
# currently doing this, which will take a long time again esp. Elasticsearch ..........
yarn webiny deploy api --env=dev --debug
What's weird is that Form Builder seems to request an "upgrade" from 5.7.0 to 5.0.0 ?
I also want to report a UI bug because the "The requested upgrade version does not match the deployed version" message is only shown in the UI for like 1 second and disappears immediately, without any dialog box or OK button.
That's why I had to go to Network tab in order to see the real message.
Did you encounter this error on localhost:3001
or on a deployed admin app, with CDN URL ?
If it was on localhost
, have you ever had another Webiny project started locally before?
(no upgrade should ever be triggered on fresh projects, but there is a possibility that a previous project left the previous version stored in localStorage, which can cause confusion on localhost
)
No this is live on AWS.
I am not even aware that I can develop locally ;-)
@ceefour in that case it's very weird. If it's a deployed admin app, there's no chance there's a clash with localStorage (at least we eliminated that possibility).
Can't give you any answer at this point π€
And yes, you can develop React stuff locally. API has to be deployed, but React is your regular local app: https://www.webiny.com/docs/how-to-guides/webiny-cli/use-watch-command/
Here's my workaround to resolve it:
yarn webiny destroy api --env=dev --debug
yarn webiny deploy api --env=dev --debug
# Trying to access admin app will now cause error due to Cognito something, so I had to:
yarn webiny destroy apps/admin --env=dev --debug
yarn webiny deploy apps/admin --env=dev --debug
Then I opened the admin app URL, and clearing browser site data (not sure if this is necessary, because the admin URL is fresh from cloudfront).
Now it works again.
I may never know what exactly caused the first issue, but my hunches, a combination of one or more:
Definitely something to debug, and hopefully we manage to reproduce. I need to try to replicate the issue with broken installation.... I think it only happens if installation is broken due to a timeout, and some variables are not properly handled.
Anyhow, thanks for reporting. This is very unusual and we'll try to debug.
Thanks for trying to help. Feel free to close this issue if you want.
However, the discussion above may be useful for someone getting similar issue as mine, as when I searched for the error message keywords, there's no existing issue.
One more thing: You mentioned Lumigo in your application stack. I think you (as Webiny company) should partner or become affiliate of Lumigo. Because Webiny apps will likely need a monitoring solution as you already aware by mentioning Lumigo. If you can get commission by helping Lumigo sales, that will be good for both of your companies. Since both Webiny and Lumigo promote serverless infrastructure, and perfectly complement each other (not competitive).
Same goes with Pulumi.
We now use Pulumi in other non-Webiny project, because Webiny uses Pulumi. :-) Seriously: https://about.lovia.life/docs/infrastructure/pulumi/
I won't be closing this issue, as it is something to look into.
I'm glad you were not thrown off by Pulumi. We love it and we're glad you like it too π»
We're cooking some partnerships already ;) Announcements coming in the near future! :)
Oh and thank you creating and releasing high quality software like Webiny as open source. π₯
I hope you get sustained business model and help businesses to grow, so when we grow we can be your paying customers as well.
Thank you! Much appreciated π π
P.S. Join our slack community and don't hesitate to post questions there when you need help with Webiny. We're hanging out there throughout the day :)
Is there a page to post "documentation request" ? Or is it in this GitHub tracker too?
I'd like to request documentation on how to configure custom Elasticsearch to replace AWS's. So the developer has choice.
For example, Elastic Cloud Basic starts at $16/mo so it can be a more affordable option for startups. Or perhaps self-hosted Elasticsearch.
Update: I think it's because v5 is sooo new that you haven't had chance to put more docs?
Docs have a separate repo: https://github.com/webiny/docs.webiny.com/
Please do open an issue there. One other user already did have your requirement, and I know I tested it with Elastic Cloud, and it worked just fine. Just shoot us an issue and we'll try to get it sorted as soon as we can.
We're a very small team, and we just don't have enough hands to both cover everything with docs AND develop new features, improve the platform, etc. We're currently hiring new engineers π€
Btw. by the end of Summer, we plan to have a DynamoDB-only version of storage layer, to avoid using Elasticsearch for small projects and local development entirely.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.
Form Builder installation error: The requested upgrade version does not match the deployed version
This is:
Specifications
Expected Behavior
Installs successfully.
Actual Behavior
During "Form Builder", first it gets stuck for a long time. (see below for possible explanation)
Then after refreshing, it now shows:
but then shows error: "The requested upgrade version does not match the deployed version"
Repeating will have same result.
Steps to Reproduce the Problem
dev
environmentDetailed Description
I used Network tab to see the graphql:
Request:
Response:
And the initial "stuck installation of Form Builder" is likely caused by timed out invocation: (using Lumigo)
Possible Solution