#client password must be a string
39 messages · Page 1 of 1 (latest)
Does your db password contains special chars such as @#\ etc or is empty?
I think yes
Yes
It shouldn't
Should I change my .env.template filename?
Yes definitely
okay let me try
And remove special chars from your pass as well
Okay this is my password rn. And it's not working
But the .env is in the storefront, I dont understand that
We are talking about your server
Yeah, but I dont have .env in backend
Okay, what template I need?
You can look at your medusa config and populate you .env file
In your medusa config you will find the postgres url and the env it is coming from. You can also look the getting started in the doc
I cant find the docs for this...
It's not related specifically to admin. I would back up and go over this guide: https://docs.medusajs.com/development/backend/install
The 3rd part, Configurations, talks about environment variables
Please read through the full guide.
But this it whas happened
Sorry, I installed medusajs trought nextjs templates
That documentation is frequently and painstakingly updated with answers to all of the most common onboarding questions.
I would strongly suggest using the guide to install to a local development environment first. When you are ready to deploy to prod, you can use one of those other services.
Okay thank you
But I have a problem now!
When i run the dev server, it's return me to login, not to register 😬
Should I run this before dev then?
You run it once after your migrations and thats it