Cloudron update didn't update
-
I had an odd case just now with a custom python app.
cloudron update
ran successfully, but it did not update my application, the cold stayed the previous one. Reinstalling the app solved the problem.
Here is what I did:- I used docker build with the no-cache option
- I was definitely in the right folder
- I pushed it to docker.io and confirmed in the dashboard that the push happened
- I then used cloudron update to update the application
The command ran successfully, but i could identify a typo in the code which I fixed locally but it wasn't fixed on the server. But it was after uninstalling and re-installing the app.
Any ideas why that might be the case?
-
-
Just to check, this is how I used cloudron update:
cloudron update --app PATH --image docker.io/DETAILS (tag not specified)Since I specified the app path, how can it have updated another instance?
When I run cloudron status after updating, it shows this: Could not determine app. Use --app to specify the app
I just tried it again and didn't get any update either, but everything ran without any error message.
-
@ekevu123 then, there is something wrong with the packaging. I am not sure how your Dockerfile looks like but maybe you copy over the code in a start up script or something ? Test the docker image locally using
docker run -ti <docker_image> /bin/bash
. Is it having the fixed code?