Frombricks Deplyment Failure
marcogll
HOBBYOP

9 months ago

The app was working after the las fix made by Brody, it worked a few weeks ago when I added the Google variables on the system to connect the accounts and worked, suddenly this week we noticed it failed after a customer complaint that the Surveys can't be accessed:

this is the error logs at deployment:

Mounting volume on: /var/lib/containers/railwayapp/bind-mounts/689c5061-d770-41d2-941c-e4b886c4ceeb/vol_mixumcls8heuzelt

May 07 12:47:06

May 07 12:47:06

> @formbricks/database@0.1.0 db:migrate:deploy

May 07 12:47:06

> env DATABASE_URL="${MIGRATE_DATABASE_URL:-$DATABASE_URL}" prisma migrate deploy

May 07 12:47:06

May 07 12:47:07

Prisma schema loaded from schema.prisma

May 07 12:47:07

Datasource "db": PostgreSQL database "railway", schema "public" at "postgres.railway.internal:5432"

May 07 12:47:12

May 07 12:47:12

Error: P1001: Can't reach database server at postgres.railway.internal:5432

May 07 12:47:12

May 07 12:47:12

Please make sure your database server is running at postgres.railway.internal:5432.

May 07 12:47:12

npm error Lifecycle script db:migrate:deploy failed with error:

May 07 12:47:12

npm error Error: command failed

May 07 12:47:12

npm error in workspace: @formbricks/database@0.1.0

May 07 12:47:12

npm error at location: /home/nextjs/packages/database

May 07 12:51:32

Stopping Container

Solved

1 Replies

ray-chen
EMPLOYEE

9 months ago

Your database isn't running. Deploy it


Status changed to Awaiting User Response Railway 10 months ago


Railway
BOT

6 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 6 months ago


Loading...