Hi everyone,
I am running a software built on DO App Platform. I have two private github repos that I am installing on the app platform manually. The problem is, app platform does not recognize the changes made on my github packages. When I make a change in my local and update the version of the package, then push it to GitHub, I can see the new files on Github.com. But when I try to pip install or pip upgrade the packages on DO App Platform, it does not pull the new files. It updates the version (for example increases from 0.2.4 to 0.2.5) but the new files are not there. This happens either I made changes in the existing files content (whether it is .py file or .xlsx) or even if I add new files that weren’t there before. I tried installing it with --no-cache-dir as well but still the same result. The only solution I found is deleting the private repo entirely, then forcing a redeploy then re-installing it but this is not ideal.
I want to simply update the package as this is the entire point of having a github package, being able to easily implement updates. It is really strange because I can see the changes I made on Github.com, but app platform does not work properly and does something completely different than what is available on Github.com. It only updates the version of the package and doesn’t recognize the changes made.
Does anyone have any idea how to solve this?
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,
Have you tried forcing a redeployment? This sometimes can be a useful when hitting unusual problems that the one that you’ve described. By triggering a redeployment, you’re essentially asking the platform to reevaluate your code, dependencies, and other configurations, and this can often clear up certain transient issues.
Here’s how you can force redeploy on DigitalOcean’s App Platform:
Also, just to be on the safe side, I could suggest double-checking that you are deploying from the correct branch.
Let me know how it goes!
Best,
Bobby