Automatic Updates - updated Cloudron but none of the apps
-
I encountered a strange behaviour, but this is likely a rare occurence so not a biggie, wanted to raise it none-the-less.
My Cloudron Auto Updates are set for Tuesday thru Thursday at 8 PM local time. During yesterday's Tuesday at 8 PM schedule, Cloudron itself was updated to v6.0.1. But I knew ahead of time there were a ton of WordPress updates to install (well, one update but across about 15 app instances), however none of those were installed. The new package for WordPress was 2.7.0 and noted here as being released 3 days ago, well before the Tuesday 8 PM schedule.
I suppose my questions here from experiencing that is the following:
-
When there is a Cloudron update, is that the ONLY update installed when app updates exist too, and app updates are shifted back to the next available scheduled time for automatic updates?
-
Shouldn't everything (Cloudron + apps) update during the scheduled window from the Settings page?
-
If it's not meant to behave the way I expected in #2 above... is it possible to make it behave that way?
-
-
I encountered a strange behaviour, but this is likely a rare occurence so not a biggie, wanted to raise it none-the-less.
My Cloudron Auto Updates are set for Tuesday thru Thursday at 8 PM local time. During yesterday's Tuesday at 8 PM schedule, Cloudron itself was updated to v6.0.1. But I knew ahead of time there were a ton of WordPress updates to install (well, one update but across about 15 app instances), however none of those were installed. The new package for WordPress was 2.7.0 and noted here as being released 3 days ago, well before the Tuesday 8 PM schedule.
I suppose my questions here from experiencing that is the following:
-
When there is a Cloudron update, is that the ONLY update installed when app updates exist too, and app updates are shifted back to the next available scheduled time for automatic updates?
-
Shouldn't everything (Cloudron + apps) update during the scheduled window from the Settings page?
-
If it's not meant to behave the way I expected in #2 above... is it possible to make it behave that way?
What you observed is correct.
-
Currently, only either box update or app updates are applied during the update time. Box update has higher priority than app update (https://git.cloudron.io/cloudron/box/-/blob/master/src/cron.js#L190, if you are curious. It just does box first before app update).
-
It probably should. From code point of view, it's hard because after a box update, the box code restarts. Then, when it starts up again, it needs to somehow know that it needs to do app updates also now. So it's like a cron job having some state across process restart.
-
Of course, anything is possible but box update only happens like once a month, so we have decided to ignore this
-
-
What you observed is correct.
-
Currently, only either box update or app updates are applied during the update time. Box update has higher priority than app update (https://git.cloudron.io/cloudron/box/-/blob/master/src/cron.js#L190, if you are curious. It just does box first before app update).
-
It probably should. From code point of view, it's hard because after a box update, the box code restarts. Then, when it starts up again, it needs to somehow know that it needs to do app updates also now. So it's like a cron job having some state across process restart.
-
Of course, anything is possible but box update only happens like once a month, so we have decided to ignore this
@girish said in Automatic Updates - updated Cloudron but none of the apps:
box update only happens like once a month, so we have decided to ignore this
Ahh, okay. Yeah I figured it was a rare occurrence so no biggie there. This situation though is what lead me to the feature request on bulk-updating the app updates on demand.
-