railway.toml not found
opensource007
TRIALOP

a year ago

hi support, after automated git pull, it say railway.toml not found cannot build, but the file is there, just wonder, anything wrongly configure?

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

Solved

6 Replies

brody
EMPLOYEE

a year ago

Hello,

Is there a railway.toml file in the /quotegen directory? given that's what you have set your root directory to.


opensource007
TRIALOP

a year ago

hi, yes, railway.toml already directly under /quotegen directory, directly pull from git.
i tried revert back to Procfile start to let it success build first, then change back to use railway.toml but still cannot detect
then i tried turn on wait for CI, still the build fail cant find railway.toml, wondering.


brody
EMPLOYEE

a year ago

Ah you are manually setting the location, try setting it to /quotegen/railway.toml


opensource007
TRIALOP

a year ago

cool, this works!

now having another issue, maybe something to do with nix os?

`GLIBC_2.38' not found (required by /nix/store/s94fwp43xhzkvw8l8nqslskib99yifzi-gcc-13.3.0-lib/lib/libstdc++.so.6)

this part in my railway.toml is
[env]

NIXPACKS_PKGS = "wget gnupg libglib2.0-0 libnss3 libnspr4 libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 libdbus-1-3 libxcb1 libxkbcommon0 libx11-6 libxcomposite1 libxdamage1 libxext6 libxfixes3 libxrandr2 libpango-1.0-0 libcairo2 libasound2 libgbm1 glibc libc6"

maybe you have idea what happening


brody
EMPLOYEE

a year ago

I would have to recommend switching to a Dockerfile build to install such libraries, they do no play well with the packages Nix installs.


opensource007
TRIALOP

a year ago

thank you


Status changed to Solved brody 11 months ago


Loading...