I have been trying to deploy my app through Github with automatic update. I’ve run into a problem where if I try to use my app it will error out with FFmpegNotFound (One of the packages I’m using requires it). I have tried to add it to the environment variables as well as manually adding it both with ‘export’ on Bash and in ‘~/.bashrc’ but neither seem to work. Also anything I do is reset every time the system rebuilds so I’m wondering if there’s anything I can do that will fix this issue and be permanent.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi there,
Are you using the DigitalOcean App Platform in this case? As if so, note that the local storage is ephemeral storage, meaning that all changes will be lost after a redeployment.
What you could do in this case is to use a Dockerfile and build a custom image that includes the FFMpeg binary so that FFMpeg would always be present even after a redeploy:
https://docs.digitalocean.com/products/app-platform/reference/dockerfile/
For more information on the App Platform storage, I could suggest the following documentation:
https://docs.digitalocean.com/products/app-platform/how-to/store-data/
Best,
Bobby