[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!
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 Kazi,
As a follow up to our discussion here:
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