fred-123
WWasp
•Created by fred-123 on 2/25/2025 in #🙋questions
Can the wasp db studio command be altered to take the connection string directly?
Can the wasp db studio command be altered to take the connection string directly in CLI instead of pulling it from env.server?
Long story short, I have a hackintosh that is incapable of virtualization. Docker won't run on it. I am building everything on my laptop, but i would like to be able to at leats access the db in a easy way on the hackintosh.
is there a way to set the connection string explicitly in the wasp db studio command?
11 replies
WWasp
•Created by fred-123 on 2/17/2025 in #🙋questions
Is there a way to track if a user actually clicked the email verification link
Many of my users forget to click the link and it gets tideous asking them all if they did it or not.
Is there a way to track in the server console or somewhere else if they actuall clicked it so its easiert to check?
7 replies
WWasp
•Created by fred-123 on 2/17/2025 in #🙋questions
Migrate found failed migrations in the target database (Error: P3009)
I have a Wasp 0.15 web app deployed on Fly.io. After my latest deployment, the app crashed because some Prisma migrations couldn’t be applied. Now my Fly.io machine is in a stopped state, and I can’t access my app.
I get this in the server logs:
migrate found failed migrations in the target database, new migrations will not be applied. Read more about how to resolve migration issues in a production database: https://pris.ly/d/migrate-resolve
Can I safely follow the instructions from the prisma documentation or does this work differently in wasp?
I have deleted my local migrations file, ran wasp db migrate-dev and redeployed but it also didn't help.
I am not sure what the difference between staging and prod db schema is, I think it should be the same, though i changes some stuff 2 days ago for a test, but i thought i reversed that.
How can I now move on and recover from that without loosing user data?
I do have snapshots of the db.
11 replies
WWasp
•Created by fred-123 on 2/13/2025 in #🙋questions
Does datePaid in the DB get popuplated with the payment date OOTB with opensaas?
Is the functionality to update the datePaid in the DB already build into opensaas or does it need to be added?
If its already set up, what format is datePaid in?
7 replies
WWasp
•Created by fred-123 on 8/12/2024 in #🙋questions
Google auth not working in production
I had set up google auth in dev and it worked without problems but it cause a lot of problems in production.
I am using the opensaas template. The documentation doesn't really mention how to get it working for production.
I have set up the oauth app and credentials in google and passed the client id and secret to fly through cli.
It doesn't throw an error but also doesn't log the user in when atempting to log in with google.
I feel like there is no accurate documentation for this. The open saas documentation mentions that only the google auth part has to be uncommented and a google oauth app has to be created but that doesn't go further than dev stage.
Even when passing the client id and secret to fly it doesn't seem to work. Is there any better documentation about this somewhere?
71 replies
WWasp
•Created by fred-123 on 8/12/2024 in #🙋questions
WARNING The app is not listening on the expected address and will not be reachable by fly-proxy.You

31 replies
WWasp
•Created by fred-123 on 8/11/2024 in #🙋questions
Cant find user table in production db after deploying to fly.io
In dev I could easily delete users using the Prisma GUI, anyhow after deploy I can't seem to find the table containing the users.
I am accessing postgers through the fly cli with flyctl postgres connect -a myapp-db
postgres=# \dt
Did not find any relations.
postgres=# \d
Did not find any relations.
postgres=# \d "User"
I have a feeling i messed something with the db up.
During dev i didn't have a databsase_url in the env file as i was using the docker db that works out of the box.
I have deployed in that state and got the db connection string in the cli during deployment. I have then entered the string like this for production:
fly secrets set DATABASE_URL='postgres://myapp_server:[email protected]:5432/myapp_server?sslmode=disable' -a myapp-server
10 replies
WWasp
•Created by fred-123 on 8/11/2024 in #🙋questions
Can't edit or delete users in admin panel
when loging in with an admin user and going to the default "users" pannel under menu there is an option to edit or delete each individual users. Anhow, these don't work for me yet. Is this expected or are they meant to work out of the box?
14 replies
WWasp
•Created by fred-123 on 7/21/2024 in #🙋questions
What are the password requirements for users?
I have noticed that non safe passwords can't be used. What are the specific requirements for the passwords?
5 replies
WWasp
•Created by fred-123 on 7/8/2024 in #🙋questions
Did anybody manage to get particles.js to work as a background by any chance?
I have been trying the entire day yesterday to make particles.js work but never got there.
What i tried was installing https://github.com/VincentGarreau/particles.js
Creating a component with it and then importing it inside the landing page.
Does anybody have an idea why this might not work with wasp or am I just doing it wrong?
6 replies
WWasp
•Created by fred-123 on 7/7/2024 in #🙋questions
SubscriptionStatus and subscriptoinTier not getting updated in stripe test mode.
The subscription status and tier are not getting updated on default in stripe test mode.
Is this expected behaviour?
Will it work in the live mode, or does it have to be set up first?
11 replies
WWasp
•Created by fred-123 on 7/5/2024 in #🙋questions
How can I put the production website behind a password like a staging area?
I have the site deployed on fly.io as i need it live for some testing.
How can I put it behind a password so its not publically available to anybode?
33 replies
WWasp
•Created by fred-123 on 7/4/2024 in #🙋questions
Getting stuck at Setting up database after configuring external postgresdb
I am in dev and have entered a postgresql hosted with supabase in .env.server. I have tested the connectoin through terminal and it works without problem.
I ran the following commands:
rm -r migrations/
wasp clean
wasp db migrate-dev
at the last command it always gets stuck at the step: 🐝 --- Setting up database... -----------------------------------------------------
What am i doing wrong?
I have the default lines in main.wasp:
db: {
system: PostgreSQL,
// Run
wasp db seed
to seed the database with the seed functions below:
seeds: [
// Populates the database with a bunch of fake users to work with during development.
import { devSeedUsers } from "@src/server/scripts/usersSeed.js",
]
},15 replies
WWasp
•Created by fred-123 on 7/2/2024 in #🙋questions
What value does subscriptionStatus contain if its not past_due?
What value does subscriptionStatus contain when a subscription was paid?
18 replies
WWasp
•Created by fred-123 on 7/1/2024 in #🙋questions
How to create a custom API Endpoint to check subscriptionStatus and subscriptionTier
I am building a browser extension that should only be accessible to the users that have an account with my webapp and are logged in with the same browser.
My wasp version seems to be 0.13.2 as it returns that when I run wasp version.
I have noticed that wasp documentation mentions this in the documentation for wasp 0.13:
https://wasp-lang.dev/docs/advanced/apis#api-reference
api fooBar { // APIs and their implementations don't need to (but can) have the same name.
fn: import { fooBar } from "@src/apis",
httpRoute: (GET, "/foo/bar")
}
and for queries:
query getAllTasks {
fn: import { getAllTasks } from "@src/queries.js"
}
query getFilteredTasks {
fn: import { getFilteredTasks } from "@src/queries.js"
}
Anyhow, I have noticed that my default set up queries use a different path:
query getDailyStats {
fn: import { getDailyStats } from "@src/server/queries.js",
entities: [User, DailyStats]
}
I can't make custom endpoints work and have been trying for an entire day now.
Calls like this one work without a problem though: http://localhost:3001/auth/email/login
My Questoins are the following:
Is it correct to have quereis.ts and actions.ts at these paths when on wasp 0.13?
app/src/server/queries.ts
app/src/server/actions.ts
Is there already a build in way to check if somebody is a subscribed user?
Am i missing something obvious here?
Thank you in advance for any help! This is doing my head in.
71 replies
WWasp
•Created by fred-123 on 6/29/2024 in #🙋questions
How to change the language of authentication forms?
I have noticed, that nowhere in the entire repository the lines like “Create a new account”, “Log in to your account”, “Forgot your password?” Show up.
Where are they set and how can they be altered to change them to another language?
13 replies