a year ago
Creating a new database in a new project fails (sometimes):
railway initrailway add -d postgres
The database won't load in the UI and when looking in the Network tab a request for getSQLTableNames fails with:
{"errors":[{"message":"password authentication failed for user \"postgres\"","locations":[{"line":2,"column":3}],"path":["sqlTableNames"],"extensions":{"code":"INTERNAL_SERVER_ERROR"},"traceId":"2781046235541994915"}],"data":null}Service ID: e587dbee-f453-43aa-9aaa-56de6a09d520
4 Replies
a year ago
that project was deleted, but what happened was you deployed the database, and then clicked the deploy button again, creating two database deployments and thus the password was set incorrectly, i have a ticket for this
Thanks for the reply! I'll leave the project running next time when I hit this if it'll help with debugging. This happened to me when I deployed the db with the CLI. I'm 99% certain I didn't touch the deploy button 🙂
a year ago
oh interesting
a year ago
so this postgres database was deployed with the cli, and if i clicked that deploy button, it would mess up the password, are you 100% sure didnt press it?
