guess_wh0
guess_wh0
RRailway
Created by guess_wh0 on 1/25/2024 in #✋|help
Issues connecting to Postgres Database after redeploying service
Hi, as part of performing the required database-migration, I've redeployed my service for the first time in ~8 months. Building the project still seemed to work just fine, but suddenly there's errors connecting to the database (even before migrating). The strange thing is that (if I remember correctly) originally I was still able to interact with the (old) database before migrating, but after migrating, the server just crashes. This means the timeline is something like this: 1. For 8 months, the service worked well 2. Redeploying the service lead to database-connection-errors, but it was still possible to write/read the database 3. Migrating the databese results in BOTH database-connection-errors as well as crashes and the server becoming inoperable What could be causing these issues? I'm thinking that maybe port/environment-variables changed after the 8 months without my knowledge? If I can provide any logs, I'd be happy to do so. 🙂
126 replies
RRailway
Created by guess_wh0 on 9/6/2022 in #✋|help
GitLab CICD-pipeline crashes due to timeout even though it succeeded on Railway
I have a GitLab-project where I use CI/CD to automatically publish on Railway. The strange thing is: Even though the builds succeed on Railway (https://railway.app/project/626fb4c9-9809-46bf-93fc-20ad46e06119/service/e726226c-2658-48d4-8d2e-5c8fbf4477dc?id=66552804-4b4a-4421-9c73-9594c0bd12ad), they fail due to timeout on GitLab (https://gitlab.com/Glitchy-Tozier/voteon.date/-/jobs/2985073689). Any idea what to do about this?
22 replies
RRailway
Created by guess_wh0 on 9/2/2022 in #✋|help
Rust Project fails building-stage
See attached textfiles. I have no Idea what to do about this.
60 replies
RRailway
Created by guess_wh0 on 9/2/2022 in #✋|help
How to `build` using multiple languages to deploy?
Hi, I have a project which – to deploy – needs to run 1. cd frontend && npm install && npm build (npm) 2. cd backend && cargo run --release (Rust) How can I manage to do both those things in my single project?
4 replies
RRailway
Created by guess_wh0 on 9/2/2022 in #✋|help
How to add Rust-project when using GitLab?
I use GitLab and thus can't log into my GitHub-account from Railway when using the "Rust Rocket"-template. To work around this issue, I added an empty service. Now on this empty service, I can't build my server because cargo isn't available. What can I do to fix this issue?
21 replies
RRailway
Created by guess_wh0 on 9/2/2022 in #✋|help
How to use a custom domain
I know of those docs (https://docs.railway.app/deploy/exposing-your-app), but I've never done something like this before, so I'm not sure what to do. Am I required to host my domain somewhere else and then somehow link it to railway?
20 replies
RRailway
Created by guess_wh0 on 8/30/2022 in #✋|help
Hosting when using Gitlab?
Hi there, I'm working on a project using Rust (with the Rocket-framework) and PostgreSQL. How do I first get this Project up and running without needing to migrate to GitHub? A few starting-points I looked at, all of which confused me: 1. https://railway.app/starters lists Rust Rocket, but doesn't show up when going for PostgreSQL. Additionally, it seems to be discontinued soon. 2. https://railway.app/button seems to require a GitHub-repo. 3. https://railway.app/dashboard has a New Project-button, but the following menus & environments also confuse me. What's the recommended path in my situation?
6 replies
RRailway
Created by guess_wh0 on 8/15/2022 in #✋|help
Questions on Database-essentials
1. Are there automated database-backups? If yes, how do they work and how are they priced? I couldn't find much on the website / in the docs. 2. Some hosting-providers (such as fly.io, iirc) advertise local, cloned, readonly databases all over the world to allow for faster read-access. Does Railway.app offer something similar?
24 replies
RRailway
Created by guess_wh0 on 8/15/2022 in #✋|help
Questions regarding pricing with PostgreSQL-database
18 replies
RRailway
Created by guess_wh0 on 8/13/2022 in #✋|help
Using GitLab instead of GitHub?
Hi! 🙂 I currently use GitLab for Project-management. Does Railways also support GitLab or will I have to set up some kind of mirroring to always also have the project accessible via GitHub?
18 replies