croissant
croissant
RRailway
Created by croissant on 6/29/2024 in #✋|help
Volume permissions issue
I am using the grafana template in my project and adding a volume to it caused permissions issue with my grafana deployment
GF_PATHS_DATA='/var/lib/grafana' is not writable.

You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migrate-to-v51-or-later

mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
GF_PATHS_DATA='/var/lib/grafana' is not writable.

You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migrate-to-v51-or-later

mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
5 replies
RRailway
Created by croissant on 6/29/2024 in #✋|help
postgres DNS not resolving
Is this an internal DNS problem? Private url isn't resolving but works with DATABASE_URL
npm WARN config production Use `--omit=dev` instead.

> tasmota-mqtt-subscriber@1.0.0 start

> node dist/index.js

Failed to connect to PostgreSQL Error: getaddrinfo ENOTFOUND postgres.railway.internal

at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) {

errno: -3008,

code: 'ENOTFOUND',

syscall: 'getaddrinfo',

hostname: 'postgres.railway.internal'

}

npm WARN config production Use `--omit=dev` instead.

> tasmota-mqtt-subscriber@1.0.0 start

> node dist/index.js
npm WARN config production Use `--omit=dev` instead.

> tasmota-mqtt-subscriber@1.0.0 start

> node dist/index.js

Failed to connect to PostgreSQL Error: getaddrinfo ENOTFOUND postgres.railway.internal

at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) {

errno: -3008,

code: 'ENOTFOUND',

syscall: 'getaddrinfo',

hostname: 'postgres.railway.internal'

}

npm WARN config production Use `--omit=dev` instead.

> tasmota-mqtt-subscriber@1.0.0 start

> node dist/index.js
15 replies
RRailway
Created by croissant on 4/19/2024 in #✋|help
Does railway allow external UDP traffic?
^
6 replies
RRailway
Created by croissant on 3/28/2024 in #✋|help
How do ports work in private networking
I have a core-service hosting an API trying to access keymanager-service using http://keymanager-service. My core-service keeps crashing as it says connect ECONNREFUSED which probably means it's not on PORT 80 on internal networking. How do I get around this?
4 replies
RRailway
Created by croissant on 3/27/2024 in #✋|help
trouble working with npm workspaces
Hey I'm working in a new pattern than usual which is a monorepo using npm workspaces My build failed after i introduced a shared package and it says error TS2307: Cannot find module '@local/keylib' or its corresponding type declarations. I am using the root directory config in railway. Does that throw out the code outside from workspace? This could be why it can't reference code from other workspaces. Any help?
11 replies
RRailway
Created by croissant on 2/27/2024 in #✋|help
Running python scripts in cron?
how can i run a cron python script on railway? like just run once every minute. No active container? I have a script called simulate.py which i wanna run on a cron schedule. How do I set this up as my nixpack build fails.
21 replies
RRailway
Created by croissant on 2/23/2024 in #✋|help
Clarity on $5 monthly fee waived
Curious how the flat $5/month works. I've been on railway far before it switched pricing models and get it waived. I'm trying to get my professor in my lab to adopt railway and went through the docs and saw it's waived for "small set of active builders". Need some clarity there. Is it for waived people who have been on railway before the plans hit? Is it waived as you start to bill on railway?
8 replies
RRailway
Created by croissant on 12/23/2023 in #✋|help
sudden spike in egress usage
Hey, since I migrated my DB to v2, my egress has shot up. I want to know if these are related and also what is causing the crazy spike in egress. 26479513-66db-4cef-b0ea-47a942afad95
26 replies