Draak
Build error: "Unable to build profile"
Not sure what this build error means or what to do about it.
project id = 2090e121-cc62-4fbe-9114-5349121f7893
This project pulls data from APIs in sequence. It was just Rust, but after adding a Python data loader and using custom build/start commands, this error comes up. I specified both the Rust and Python Providers as well as my custom build and start commands.
From what I can find from searching myself, this looks like a nix problem with merging, but I'm not sure how to handle or prevent that in Railway.
relevant log output:
19 replies
Unchanged repo fails to deploy on env var change.
I had this exact setup running last night, and this morning when I changed an environment variable it failed.
For debugging I made my start command this:
Output from deploy logs:
Which seems a little contradictory.
My full nixpacks.toml:
Relevant Cargo.toml sections:
(I'm building several binaries with the default /bin module naming.)
9 replies
Deploying Rust tries to copy binaries that don't exist.
I'm not using my own nixpacks.toml, and railway is attempting to copy binaries that it doesn't need to run and don't exist. (I tried my own nixpacks.toml but I'd prefer to deploy this way. I'll open up a separate ticket for my problems with my own nixpacks.toml if I need to).
I would expect it to only copy
tklbot
.
Cargo.toml
from the railway build logs:
8 replies
Setting Another Env Var to Railway Port Value
project id: 2090e121-cc62-4fbe-9114-5349121f7893
I'm trying to deploy Metabase via their official docker image. It listens on whatever port is specified by
MB_JETTY_PORT
and I verified it works by setting my own. I want to pass it the railway port, but when I set MB_JETTY_PORT=${{PORT}}
it doesn't pick up any value which I validated with the railway cli.
How should I be passing the Railway port so it gets picked up by Metabase?8 replies