codico
codico
RRailway
Created by codico on 3/6/2024 in #✋|help
I have not touched my project in several weeks but at midnight railway reverted to a very old versio
I'm very confused it looks like my project was deployed last night, although I have not touched it in 3 weeks. What is much worse is that it reverted to a months old version of my code.
21 replies
RRailway
Created by codico on 2/10/2024 in #✋|help
Can not connect to DATABASE_PRIVATE_URL during build time
It doesn't seem like it's working, I run prisma migrate and prisma generate during buildtime, but it crashes when using ${{Postgres.DATABASE_PRIVATE_URL}} and works when using ${{Postgres.DATABASE_URL}} I get:
2.637 Error: P1001: Can't reach database server at `postgres.railway.internal`:`5432`
2.637 Error: P1001: Can't reach database server at `postgres.railway.internal`:`5432`
8 replies
RRailway
Created by codico on 10/6/2023 in #✋|help
Always restart crashes after 10 restarts
I configured my Railway application to always restart on error, however it will still permanently crash after 10 errors and requires a manual restart. Does this feature not work? For now i changed to Restart X times and set the count to 100.
19 replies
RRailway
Created by codico on 6/4/2023 in #✋|help
Postgres connection issue and sudden outage
ProjectID: 09bf07b8-3bc8-438d-8d8e-8e3b6d26d05a Service has been down for the last 2 days, have not seen any changes in usage. Looks like a database connection issue. And the database is extremely slow/spotty on the dashboard as well. Receiving the following error:
Can't reach database server at ...

Please make sure your database server is running at ...
Can't reach database server at ...

Please make sure your database server is running at ...
Have tried restarting the database, rotating db credentials and restarting the service - no luck. There is a sharp decrease in performance last couple of days from the DB. Since I have not made any changes or seen any increases in load, I'm assuming it's something on the railway end. Could you please take a look?
28 replies
RRailway
Created by codico on 2/13/2023 in #✋|help
Cant see current deploy in a monorepo with app deployed 3 months ago
7 replies
RRailway
Created by codico on 9/26/2022 in #✋|help
Railway stopped picking up Dockerfile during build
I am using a monorepo where the server is deployed to Railway using a Dockerfile. It has been working, but all my deploys since the last 4 days have said: Using Nixpacks instead of Using Detected Dockerfile , which it used to say. This has lead to the build starting to fail. This is the relevant Dockerfile that is no longer picked up: https://github.com/codicocodes/speedtyper.dev/blob/main/packages/backend/Dockerfile The root directory of the app is configured to be: /packages/backend What do I need to do to get Railway to start picking up the Dockerfile again?
7 replies