[2024-03-03 20:41:48]
[2024-03-03 20:41:48] ╭──────────── buildpack detection ───────────╼
[2024-03-03 20:41:48] │ › using Ubuntu 22.04 stack
[2024-03-03 20:41:48] │ ✘ could not detect app files that match known buildpacks.
[2024-03-03 20:41:48] │ please ensure that the files required by the desired language's buildpack exist in the repo.
[2024-03-03 20:41:48] │ review the buildpack documentation for more info: https://do.co/apps-buildpacks
[]
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!
Hi there Kazi,
As a follow up to our discussion here:
https://www.digitalocean.com/community/questions/how-to-edit-apps-files
It seems there’s a bit of confusion regarding the environment you’re working in. Let’s clarify and address the issues you’re facing:
Editing Files on the App Platform: As I mentioned earlier, any direct modifications made to files within the App Platform console won’t persist across deployments because the filesystem is ephemeral. Your changes will be lost upon redeployment or if the app restarts for any reason.
Disconnected GitHub Repository: You’ve mentioned that your live site has a lot of content that isn’t present in your GitHub repository since you’ve disconnected it. This is a crucial point because any changes you wish to make should ideally be reflected in your source code repository to ensure consistency and ease of deployment.
Error with Buildpack Detection: The error message you’re now seeing suggests there’s an issue with the App Platform recognizing your Django project. This could be due to the structure of your project or missing files that are essential for the buildpack to identify and build your project.
To resolve these issues, here are some steps you can take:
Reconnecting Your Repository:
Addressing the Buildpack Error:
manage.py, requirements.txt, etc.) at the root of your repository.Editing Files:
By following these steps, you should be able to maintain your code changes across deployments and avoid issues with ephemeral storage on the App Platform.
Best,
Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.