bc 🐧🪺
bc 🐧🪺
Explore posts from servers
RRailway
Created by bc 🐧🪺 on 10/17/2024 in #✋|help
PR Environment Selective Services
In a Railway project, is there a way to choose which services are and are not duplicated in PR environments? For example, I have prod data backup job services that only should run on prod and don't need to run in any PR envs, but they get installed in all PR envs because the base env is prod If not, consider this a feature request (I can send in #🤗|feedback )! My other idea was to make a separate project with services I don't want duplicated in PR envs.
7 replies
RRailway
Created by bc 🐧🪺 on 9/23/2024 in #✋|help
Postgres Backup Retention Policy
I am planning on backing up a postgres server (running in container on Railway) to MinIO (running in container on Railway as well) with cron as the execution layer to initiate backups. Any suggestions for setting up backup retention policies so I don't fill MinIO with an unnecessary number of backup files? Hosted/managed providers like AWS RDS and Azure Database offer built-in retention control, but im not sure how to do this with self-hosted postgres & minio on railway
10 replies
RRailway
Created by bc 🐧🪺 on 7/22/2024 in #✋|help
S3 database backup upload failure
Project ID: 23ed6b6a-6136-418a-97cc-5a45a9a559ba Using the template here (https://github.com/railwayapp-templates/postgres-s3-backups), I suppose I have the environment variables messed up. The job works great until the upload. I get the following error:
postgres.railway.internal:5432 - accepting connections
pg_dump (PostgreSQL) 16.3
NodeJS Version: v20.11.1
Backup cron scheduled...
Initiating DB backup...
Dumping DB to file...
container event container died
Backup archive file is valid
Backup filesize: 62.84 MB
DB dumped to file...
Uploading backup to S3...
Using custom endpoint: https://[REDACTED].up.railway.app:443

Error while running backup: Error [ERR_TLS_CERT_ALTNAME_INVALID]: Hostname/IP does not match certificate's altnames: Host: [REDACTED].up.railway.app. is not in the cert's altnames: DNS:*.up.railway.app
postgres.railway.internal:5432 - accepting connections
pg_dump (PostgreSQL) 16.3
NodeJS Version: v20.11.1
Backup cron scheduled...
Initiating DB backup...
Dumping DB to file...
container event container died
Backup archive file is valid
Backup filesize: 62.84 MB
DB dumped to file...
Uploading backup to S3...
Using custom endpoint: https://[REDACTED].up.railway.app:443

Error while running backup: Error [ERR_TLS_CERT_ALTNAME_INVALID]: Hostname/IP does not match certificate's altnames: Host: [REDACTED].up.railway.app. is not in the cert's altnames: DNS:*.up.railway.app
Any ideas? I can share env vars if needed. I am uploading over S3 protocol to a MinIO bucket hosted in the same Railway project
6 replies
RRailway
Created by bc 🐧🪺 on 5/22/2024 in #✋|help
Cross-organization service transfer
Is it possible to transfer a service between two organizations (admin on both), or do I have to remake the service in the other organization? I would like to keep the same generated Railway URL if possible so would rather transfer it. Only see the ability to transfer from personal services
10 replies
RRailway
Created by bc 🐧🪺 on 5/21/2024 in #✋|help
Service deletion is disabled
No description
7 replies
RRailway
Created by bc 🐧🪺 on 5/10/2024 in #✋|help
NPM CLI Releases out of sync
@Sang Dang reported this in a message (https://discord.com/channels/713503345364697088/943650028696768532/1231968721191309312), and I noticed based on this that the NPM releases (https://www.npmjs.com/package/@railway/cli?activeTab=versions) are out of sync with the GitHub CLI releases (https://github.com/railwayapp/cli/releases/tag/v3.7.0) . GitHub latest is v3.7.0, but NPM goes up to 3.5.2 Moved to https://discord.com/channels/713503345364697088/1238316130653700156/1238316130653700156
5 replies
RRailway
Created by bc 🐧🪺 on 3/14/2024 in #✋|help
GitHub Actions deploy failure
Using the GH Actions demo here: https://blog.railway.app/p/github-actions#lights,-camera,-action, I get
Run railway up
/home/runner/work/_temp/e3d563cb-b24e-404b-9356-546af609cf1b.sh: line 1: railway: command not found
Error: Process completed with exit code 127.
Run railway up
/home/runner/work/_temp/e3d563cb-b24e-404b-9356-546af609cf1b.sh: line 1: railway: command not found
Error: Process completed with exit code 127.
on the deploy step. railway bin is installed in the previous step so not sure what the issue is. Does anyone have an alternative GH Action manifest they use, or has had success with https://github.com/marketplace/actions/railway-deploy or similar?
9 replies
RRailway
Created by bc 🐧🪺 on 12/7/2023 in #✋|help
Containerfile support
I understand Railway automatically detects and use Dockerfiles in service roots (https://docs.railway.app/guides/dockerfiles). Does it also automatically detect and use Containerfiles?
6 replies
RRailway
Created by bc 🐧🪺 on 12/1/2023 in #✋|help
Compose Alternatives
I understand Railway does not currently support Docker Compose files directly. Are there alternatives to hosting a complex Compose stack on Railway using e.g. Railway config (https://docs.railway.app/deploy/config-as-code) or similar, or is it best to look for another cloud provider for a Compose stack? Basically, curious about alternatives that don't involve manually creating a lot of Railway services based on individual docker images 1 by 1
10 replies
RRailway
Created by bc 🐧🪺 on 11/21/2023 in #✋|help
Bun
Hey, I am running a service on Bun on Railway. The deployment is crashing after a successful build. I am using the Node.js nixpacks builder (v1.17.0), Node.js 18.17.1. Head of the logs:
/app/node_modules/yoga-layout-prebuilt/yoga-layout/build/Release/nbind.js:53
throw ex;
^
Error: Could not locate the bindings file. Tried:
→ /app/node_modules/@ponder/core/node_modules/better-sqlite3/build/better_sqlite3.node
→ /app/node_modules/@ponder/core/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
[...]
/app/node_modules/yoga-layout-prebuilt/yoga-layout/build/Release/nbind.js:53
throw ex;
^
Error: Could not locate the bindings file. Tried:
→ /app/node_modules/@ponder/core/node_modules/better-sqlite3/build/better_sqlite3.node
→ /app/node_modules/@ponder/core/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
[...]
Everything works locally with the same environment. I did have to add "better-sqlite3" to trustedDependencies due to Bun security (https://bun.sh/guides/install/trusted)
13 replies
RRailway
Created by bc 🐧🪺 on 10/26/2023 in #✋|help
Pro plan prepay
Is there a way to prepay for usage on the Pro plan, similar to the credits option (https://docs.railway.app/reference/pricing#credits) for the Hobby plan?
23 replies
RRailway
Created by bc 🐧🪺 on 4/24/2023 in #✋|help
Can't invite user to team
Hey, I sent an email about this last week, I tried inviting a user to a Railway team I created, and a Railway account was created for their email address, however they have no option to connect to nor visibility of the team. Could you please connect that account to the team as an admin? Thank you! (email address & team name redacted for privacy)
8 replies
RRailway
Created by bc 🐧🪺 on 4/17/2023 in #✋|help
[Bug] Changing email during Magic link sign up flow
8 replies
RRailway
Created by bc 🐧🪺 on 4/11/2023 in #✋|help
Prepaid team plan
Is there any way to prepay for the team plan, or is usage-based the only option? Also, to clarify, the team plan does not offer a $5 credit, correct?
10 replies
RRailway
Created by bc 🐧🪺 on 4/5/2023 in #✋|help
Data security
Hey, I am proposing moving a client from AWS to Railway and they are mostly on board, however they are concerned about data security. The persistent data involves patient/medical data Does Railway have something similar to https://aws.amazon.com/security that outlines security railguards, audits, etc. that I can show the client?
11 replies