R
Railway

✋|help

FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'

Rr_sk4/5/2023
Facing the following error: FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'
PPercy4/5/2023
Project ID: 50d71689-c9c5-4244-9bb5-f2d3e67da193
Rr_sk4/5/2023
50d71689-c9c5-4244-9bb5-f2d3e67da193
BBrody4/5/2023
[phases.setup]
aptPkgs = ['...', 'ffmpeg']
[phases.setup]
aptPkgs = ['...', 'ffmpeg']
add that to a nixpacks.toml file in your project
Rr_sk4/5/2023
Currently, I am not using any nixpacks.toml
BBrody4/5/2023
well now you're going to
Rr_sk4/5/2023
Yes, I am trying, Thank you for your prompt response Can you help with the content of the .toml file, I am completely new to this
BBrody4/5/2023
^
Rr_sk4/5/2023
It gives the following error: #8 [stage-0 4/9] RUN nix-env -if .nixpacks/nixpkgs-293a28df6d7ff3dec1e61e37cc4ee6e6c0fb0847.nix && nix-collect-garbage -d ERROR: failed to receive status: rpc error: code = Unavailable desc = error reading from server: EOF Error: Docker build failed
Rr_sk4/5/2023
Adding just [phases.setup] aptPkgs = ['...', 'ffmpeg'] gives the same error
BBrody4/5/2023
you are bad at following directions
Rr_sk4/5/2023
ok, my bad.
BBrody4/5/2023
show screenshot of error when using the nixpacks configs I provided
Rr_sk4/5/2023
Sure
Rr_sk4/5/2023
BBrody4/5/2023
railway problem but it's 6am so I'm gonna head to bed, in the mean time if you wanna look into using a dockerfile, be my guest
Rr_sk4/5/2023
Sure, Appreciate your inputs
BBrody4/5/2023
Dockerfile look into it
Rr_sk4/5/2023
Yes will do
BBrody4/5/2023
I expect you to have it solved by the time I wake up in the morning
Rr_sk4/5/2023
I did Thank you for the critical feedback 😊
BBrody4/5/2023
you got it!?
Rr_sk4/6/2023
Yes
BBrody4/6/2023
awsome!
Rr_sk4/6/2023
Thank u

Looking for more? Join the community!

Want results from more Discord servers?
Add your server
Recommended Posts
mysqldump?Is there a way to use railway cli to execute a mysql dump? I tried railway run with the appropriateLimit on post requests at one timeIs there a limit on post requests at one time? I try to upload more then 1 image at a time on CloudiEmpty vercel env varRailway's pushing an empty env var, `DATABASE_URL`, to vercel. The variable is set up in railway as CLI: railway logs shows logs from old deploymentI've linked the railway CLI to my project. When I execute `railway logs`, I get logs from an old deStrapi app deployHello guys, i did a website for someone with React and Strapi+GraphQL. Now i have to make it live buDeployment removal failsCall to `https://backboard.railway.app/graphql/internal?q=deploymentRemove` fails, it never returns Container Start Failure! "docker": executable file not found in $PATH: unknownTried to add Docker? but got error Here full log: ```fix Sticky cache enabled ======================Prod + Dev (PR) EnvironmentsHi there, I would like to understand how to achieve the following workflow. Production Env: OnlyIs SQL supposed to use this much memory?Hey I am using a mysql db and the memory usage is 500mb? I barely have this in my db.. Is it supposeLimit resources in developer planI created 2 services (postgres and api) when I was testing in the Trial Plan. Now I upgraded my accHow do I delete JUST the service, not my database?rust build faillingseems cant connect to crate.io and rust.lang.orgHelp running flask appThis is my first time using flask so bear with me... here is my app.py code ``` import mysql.connecrailway run 🚨 Not authorized! but can't login``` ❯ yarn dx yarn run v1.22.19 $ railway run --service=app --environment=dev-$(whoami) run-p dx:* -Get an error when uploading a large file through my app: rror: abortedat connResetException```Error: aborted at connResetException (node:internal/errors:711:14) at abortIncoming (node:_http_sHow to connect to another instance without link a public domainI Want to connect with the app "browserless" but I don't want to expose this app for internet. I onlhttpOnly cookies not being set in production using koaHi, I'm trying to set httponly cookies in my koajs app but to no avail I have a custom domain in raSetting up MinIO serviceI set up a docker-orchestrated MinIO service locally. Given there is no service template available fMultiple services on a single domainHi! I have 3 services: API (Backend), Landing that uses this API (Frontend) and a Documentation for Deploy from GitHub Repo exits without reasonThis is for a Flask app, but I could see how it could get confused. What/why?