2 months ago
I am a user with limited knowledge.
I have an account and am working on a project at https://railway.com/dashboard
I need to log in to https://pocketbase-app-production-609c.up.railway.app/%5F/ to make some configurations, but my login and password are incorrect.
When I click on "forgot my password" and enter my email to change it, I don't receive any email to change the password.
Pinned Solution
2 months ago
Hey! You're not receiving emails because you're on the Hobby plan and you don't have access to SMTP features.
You have two ways of resetting your PocketBase password:
1. By ssh'ing into the service and running /pb/pocketbase admin update email@example.com mynewpassword (considering it's an admin account), related docs to ssh into a service: https://docs.railway.com/cli/ssh
2. Or going directly into the Postgres DB and editing the password value there (the final value needs to be hashed accordingly).
3 Replies
Status changed to Open Railway • about 2 months ago
2 months ago
Hi,
This is likely not a Railway platform issue but a PocketBase configuration limitation.
PocketBase does not send password reset emails unless SMTP is explicitly configured. If no mail server is set, the "forgot password" flow will silently fail (no email delivered).
You may want to verify:
- SMTP settings are configured in your PocketBase instance
- The admin/user email exists in the database
- Logs for any email delivery errors
If SMTP is not configured, the only way to regain access is by resetting the admin credentials directly (e.g., via CLI, database, or redeploying with a new admin setup).
2 months ago
Keep in mind that SMTP is only available for Pro users.
https://docs.railway.com/networking/outbound-networking
Alternatively, you can use REST compatible Email services such as Mailtrap or Resend.
I'm not too sure how your service is configured, but if it accepts an API key for HTTP Email services such as Resend, I would suggest you set that up.
2 months ago
Hey! You're not receiving emails because you're on the Hobby plan and you don't have access to SMTP features.
You have two ways of resetting your PocketBase password:
1. By ssh'ing into the service and running /pb/pocketbase admin update email@example.com mynewpassword (considering it's an admin account), related docs to ssh into a service: https://docs.railway.com/cli/ssh
2. Or going directly into the Postgres DB and editing the password value there (the final value needs to be hashed accordingly).
Status changed to Solved medim • about 1 month ago