zgmg92
zgmg92
RRailway
Created by zgmg92 on 4/6/2024 in #✋|help
How to deploy geoipdate on Railway?
geoipupdate is a program that allows you to get a local copy of an IP database so you can inspect a IP address and get a rough idea of where your users are coming from. It's like a free version of the IP API services
95 replies
RRailway
Created by zgmg92 on 4/5/2024 in #✋|help
Cron job doesn't seem to start when you press Run Now
No description
14 replies
RRailway
Created by zgmg92 on 4/5/2024 in #✋|help
How do I make pg_dump available?
I am getting this error: exec: \"pg_dump\": executable file not found in $PATH" I setup my Railway TOML config like this
[build]
builder = "NIXPACKS"
buildCommand = "go build -o app cmd/iconflex-postgres-backup/*.go"

[build.nixpacksPlan.phases.setup]
nixPkgs = ["go", "postgresql"]

[deploy]
numReplicas = 1
startCommand = "./app"
# healthcheckPath = "/healthz"
sleepApplication = false
restartPolicyType = "ON_FAILURE"
restartPolicyMaxRetries = 1
[build]
builder = "NIXPACKS"
buildCommand = "go build -o app cmd/iconflex-postgres-backup/*.go"

[build.nixpacksPlan.phases.setup]
nixPkgs = ["go", "postgresql"]

[deploy]
numReplicas = 1
startCommand = "./app"
# healthcheckPath = "/healthz"
sleepApplication = false
restartPolicyType = "ON_FAILURE"
restartPolicyMaxRetries = 1
And I can confirm the service is reading the toml command. What am I doing wrong?
74 replies
RRailway
Created by zgmg92 on 3/12/2024 in #✋|help
How long are deploys supposed to take?
No description
61 replies
RRailway
Created by zgmg92 on 3/7/2024 in #✋|help
Is Go 1.22 supported yet?
I remember getting deployment issues when trying to support Go 1.22 in the past. I assume it's a matter of Nixpacks supporting Go 1.22. Anyone know if this works yet?
31 replies
RRailway
Created by zgmg92 on 3/7/2024 in #✋|help
Is Go 1.22 supported yet?
I remember getting deployment issues when trying to support Go 1.22 in the past. I assume it's a matter of Nixpacks supporting Go 1.22. Anyone know if this works yet?
3 replies
RRailway
Created by zgmg92 on 2/13/2024 in #✋|help
Does Railway have a max upload size limit?
I am trying to upload a 256 MB payload to my Go server deployed on Railway using Gin and I am receiving an EOF error. However when I try to upload a 52 MB payload it works just fine. Is there a limit for Railway and can I increase it? I have the Pro plan.
10 replies
RRailway
Created by zgmg92 on 2/1/2024 in #✋|help
User has issue connecting to Railway service from Dominican Republic
I have a user who is trying to connect from DR. No one else seems to be experiencing this issue and I am doing what I can to debug it remotely, but in short I see (failed) when he tries to connect to https://central-universal.up.railway.app/ for example, where I see "ok"
25 replies
RRailway
Created by zgmg92 on 1/16/2024 in #✋|help
Some logs never load
129 replies
RRailway
Created by zgmg92 on 1/16/2024 in #✋|help
Is it possible to increase Postgres instance memory or volume size?
No description
16 replies
RRailway
Created by zgmg92 on 1/9/2024 in #✋|help
Connection issues (fixed) and slow deploys (not fixed)
I've been having problems for the last 30 minutes, I tried to restart the DB and flush the data now I tried spinning up a new DB with de facto connection code I use in all my other projects with the new DB and I'm still having problems. Project: https://railway.app/project/bccd1ccf-de59-4a09-89aa-9e9a4f75a3cc/service/eb00af5c-4703-4644-a9e0-4bff24fa92d7?id=5ac95b9d-b0bc-48b8-bcd4-43820c1f236e
INFO[0000] Connecting to Redis...

panic: dial tcp: lookup monorail.proxy.rlwy.net: i/o timeout

goroutine 1 [running]:

main.main()

/app/main.go:275 +0x6dc
INFO[0000] Connecting to Redis...

panic: dial tcp: lookup monorail.proxy.rlwy.net: i/o timeout

goroutine 1 [running]:

main.main()

/app/main.go:275 +0x6dc
143 replies
RRailway
Created by zgmg92 on 9/5/2023 in #✋|help
I am having trouble connecting to Azure Data Studio (Postgres)
No description
11 replies
RRailway
Created by zgmg92 on 8/30/2023 in #✋|help
Ephemeral storage concern
Hi I want to do programmatic NPM publishes using a Railway service I will need to basically use shell commands to write files to disk, possibly pack them, and then programmatically publish using child processes I guess My question is in the context of a Railway service, during the lifecycle of the service, can I rely on writing to disk? I understand storage is generally ephemeral so it's all scoped to the deploy of a service, so my question specifically is -- during the lifecycle of a deploy can I rely on writing and reading from disk just like a VM? Any caveats or concerns or specific blog posts I should read? Thank you
47 replies
RRailway
Created by zgmg92 on 6/23/2023 in #✋|help
API intermittent today but no heads up from status site
My API keeps going down but I'm not getting any notifications and I'm not sure the best way to determine this without fing around and finding out? curl https://iconflex-api.up.railway.app/v1/ping
23 replies