maksym36ua
maksym36ua
WWasp-lang
Created by wacko on 3/2/2024 in #🙋questions
OpenSaas setup 'Role postgres does not exist'
Got it, will try to find the root cause after the prod release. Thanks! ❤️
61 replies
WWasp-lang
Created by wacko on 3/2/2024 in #🙋questions
OpenSaas setup 'Role postgres does not exist'
Wasp doesn't yet have proper "npm lock" / "dependency freeze" story in place
I've been under assumption that Wasp locks the deps, but if it's not the case - I'm 95% sure one of the deps (or multiple) got updated and causing this
61 replies
WWasp-lang
Created by wacko on 3/2/2024 in #🙋questions
OpenSaas setup 'Role postgres does not exist'
I can see a pattern here when Wasp requires more RAM over time to build successfully, maybe it's worth to look into that or at least make the issue more descriptive than code -9 😄
61 replies
WWasp-lang
Created by wacko on 3/2/2024 in #🙋questions
OpenSaas setup 'Role postgres does not exist'
The good news -- the issue is gone. The bad news -- build from the same commit that succeeded a week ago with 2GB ram using the same wasp CLI version now requires twice as many RAM for some reason
61 replies
WWasp-lang
Created by wacko on 3/2/2024 in #🙋questions
OpenSaas setup 'Role postgres does not exist'
@Wasp Team FYI resizing the VPS from 512 -> 1GB RAM as @wacko did was not enough. I've had to go from 2GB to 4GB for build to work
61 replies
WWasp-lang
Created by wacko on 3/2/2024 in #🙋questions
OpenSaas setup 'Role postgres does not exist'
@miho @martinsos is there a verbose or debug flag for wasp build so that I can see more details on what's going on?
61 replies
WWasp-lang
Created by wacko on 3/2/2024 in #🙋questions
OpenSaas setup 'Role postgres does not exist'
This is literally the last issue that's stopping us from prod release
61 replies
WWasp-lang
Created by wacko on 3/2/2024 in #🙋questions
OpenSaas setup 'Role postgres does not exist'
Later versions would have any optimizations?
61 replies
WWasp-lang
Created by wacko on 3/2/2024 in #🙋questions
OpenSaas setup 'Role postgres does not exist'
0.11.5 to be more precise 😄
61 replies
WWasp-lang
Created by wacko on 3/2/2024 in #🙋questions
OpenSaas setup 'Role postgres does not exist'
Not at all, that's the problem 🙂 And the same commit that I've built successfully from 6 days ago is now failing
61 replies
WWasp-lang
Created by wacko on 3/2/2024 in #🙋questions
OpenSaas setup 'Role postgres does not exist'
Here's what it looks like. Then the pod gets killed with OOMKilled error message
61 replies
WWasp-lang
Created by wacko on 3/2/2024 in #🙋questions
OpenSaas setup 'Role postgres does not exist'
Any hints what -9 exit code means?
61 replies
WWasp-lang
Created by wacko on 3/2/2024 in #🙋questions
OpenSaas setup 'Role postgres does not exist'
@Wasp Team FYI this npm install failed: Setup failed! Web app setup failed with exit code -9. issue started to appear over the last 5 days on our side as well and blocked the ci/cd pipeline entirely. We've got 2GB RAM, unlim hard drive and it still occurs
61 replies
WWasp-lang
Created by maksym36ua on 2/7/2024 in #🙋questions
OpenSaas Blog deployment
@Vinny (@Wasp) here's the full head section
head: [
{
tag: 'script',
attrs: {
src: 'https://www.googletagmanager.com/gtag/js?id=G-X5S94CTXLK',
},
},
{
tag: 'script',
content: `
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-X5S94CTXLK');
`,
},
],
head: [
{
tag: 'script',
attrs: {
src: 'https://www.googletagmanager.com/gtag/js?id=G-X5S94CTXLK',
},
},
{
tag: 'script',
content: `
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-X5S94CTXLK');
`,
},
],
28 replies
WWasp-lang
Created by maksym36ua on 2/7/2024 in #🙋questions
OpenSaas Blog deployment
Hope my findings help!
28 replies
WWasp-lang
Created by maksym36ua on 2/7/2024 in #🙋questions
OpenSaas Blog deployment
The blog part should have analytics because it's the entry point for SEO and content marketing efforts. I'm building an app that will rely on SEO as the primary source of leads, so I'm more interested in the blog having analytics than the WASP app itself 😁 That would probably be the thought process for some of the other OpenSaas users. That's why I'm broadcasting my learning process (I assumed it might be helpful for you). Since I'm familiar with Wasp and it's described well in the docs - the blog part was the only issue. It would be nice to have at least some info on how/where it is preferable to deploy it and how to integrate analytics with it (since it's part of the OpenSaas package and there's no explicit info on that in Astro/Starlight docs). I might end up asking in the Discord, but since it's already working that's not the priority 😁 I've spent three hours researching from scratch how to deploy Astro + Google Analytics, imagine how much time can be saved for OpenSaas folks if that would be pointed out in your docs
28 replies
WWasp-lang
Created by maksym36ua on 2/7/2024 in #🙋questions
OpenSaas Blog deployment
No description
28 replies
WWasp-lang
Created by maksym36ua on 2/7/2024 in #🙋questions
OpenSaas Blog deployment
No description
28 replies
WWasp-lang
Created by maksym36ua on 2/7/2024 in #🙋questions
OpenSaas Blog deployment
@martinsos @Vinny (@Wasp) I've used this guide that depends on GoStatic. https://blog.codybrunner.com/2024/deploying-astro-to-fly/static-deployments/ The only thing - you need to remove [[services.concurrency]] section from the fly.toml. For some reason flyctl been unable to parse that section ✘Unknown type for service concurrency: []interface {} Error: App configuration is not valid
28 replies
WWasp-lang
Created by maksym36ua on 2/7/2024 in #🙋questions
OpenSaas Blog deployment
Yep, I updated my comment while you were typing 😁 I'm looking into Astro now. Anyway, I think it will be useful to figure out how to properly deploy the blog part (since it's half of the OpenSaas template) and update the OpenSaas deployment page (https://docs.opensaas.sh/guides/deploying/) as well. I'm pretty sure I won't be the last one who asks this hehe
28 replies