Cloudron update vs. installation - custom app
-
I am running a custom applicaton.
I have just had a case where cloudron update did not update all the code, but a re-installation worked.
Can we perhaps clarify what cloudron update does (and does not)? This would help understanding when to use what.
My issue was specifically related to API keys in an .env file, which I needed to update, but it didn't work out.
-
To answer your question truly I would need to see the code of the custom Cloudron app, how it is packaged.
If you update an app withcloudron update
the Dockerimage on the system and/app/code
and all read only parts get updated.
If your.env
file is in a location where it is read write e.g./app/data
this will not be deleted on app update, thankfully! -
-