a year ago
I have migrated my Medusa Server to Railway but cannot create an admin user. I used the code "railway run npx medusa user --email admin@medusa-test.com -password supersecret" to create an admin. I can see the details in my postgres database base but I am unable to log in with the credentials. What am I doing wrong?
4 Replies
a year ago
are you sure your backend is connecting to the correct database?
give this page a read https://docs.railway.app/guides/database-migration-guide#switching-over-connections
a year ago
Hi Brody, yes I have connected the backend to the database using the variable reference but it's not working
a year ago
Hi Brody, yes I have connected the backend to the database using the variable reference but it's not working
Hello, I have the same problem, I’m looking for a solution, did you manage to connect?
a year ago
Same issue !!