#help me reset admin email and password

16 messages · Page 1 of 1 (latest)

royal lark
#

i created the medusa app localy and build my own storefront but when i deployed medusa backend to render platform and add new postgress db igot issue the These credentials do not match our records. because there is no admin user in new db

slim crescent
#

You can create a new admin user with the medusa cli

royal lark
#

@slim crescent how

slim crescent
royal lark
#

its doing nothing

#

@slim crescent i did install medusa cli and did run the Creates a new admin user and window show up and dispear but the and push to github and redeploy but didnt work

slim crescent
#

Interesting for me it worked last time when I had this problem to login afterwards with the new user

#

Then there is something else wrong

royal lark
#

@slim crescent can you tell me what you did step by step and where you are hosting you medusa backend

slim crescent
#

I just did everthing thats in the docs and that should work normally. Currently I am running medusa only in dev mode on my pc

royal lark
#

in dev mode make sense but on hosted idonk thing this is how to do it

slim crescent
#

Yeah for production I used docker so I can't say anything about how it works with idonk. But if you use the same databse as in dev mode it should work normally

royal lark
#

im using Postgress db on render platform

slim crescent
#

Yeah but there is surely an option to get a dump from your dev machine and copy it to the server or not?

royal lark
#

idk im waiting for them to respond

royal lark
#

ineed sql query to create admin user i mean wich table and the daat