I have a suggestion:
Currently, when I run tutor local reboot -d
, the following happens (maybe more, but at least this happens):
- The currently running containers are stopped
- Images are pulled
-
openedx
andmfe
Images are rebuilt - Containers are started with the new/rebuilt images
Step 3. usually takes at least half an hour on my pretty decent VPS, so this means that the platform is completely unreachable and unusable for half an hour. That’s not optimal.
I think there wouldn’t be a problem in switching the steps around:
- Pull new images
- Build images
- Stop currently running images
- Start new images
This would take the platform down for only a few seconds, or a few minutes tops.
I usually try to run tutor images build openedx mfe
before running the reboot command, but in this case I forgot to rebuild the mfe
container and now I’m still “sitting with the baked pears”, as we say in Dutch…