diff --git a/php/templates/containers.twig b/php/templates/containers.twig
index b1210948..f3130c49 100644
--- a/php/templates/containers.twig
+++ b/php/templates/containers.twig
@@ -48,19 +48,29 @@
{% endfor %}
{% if isWatchtowerRunning == true %}
- Mastercontainer updpate currently running. It will restart the mastercontainer soon which will make it unavailable for a moment. Please wait until thats done.
+ Mastercontainer update currently running. It will restart the mastercontainer soon which will make it unavailable for a moment. Please wait until that's done.
Reload ↻
{% else %}
{% if isBackupOrRestoreRunning == false and domain == "" %}
- Please type in the domain that will be used for Nextcloud:
-
- Make sure that this server is reachable on Port 443 and you've correctly set up the DNS config for the domain that you enter.
- If you have a dynamic IP-address, you can use e.g. DDclient with a compatible domain provider for DNS updates.
+ {% if is_mastercontainer_update_available == true %}
+ Mastercontainer update
+ ⚠ A mastercontainer update is available. Please click on the button below to update it. Afterwards, you will be able to proceed with the setup.
+
+ {% else %}
+ Please type in the domain that will be used for Nextcloud:
+
+ Make sure that this server is reachable on Port 443 and you've correctly set up the DNS config for the domain that you enter.
+ If you have a dynamic IP-address, you can use e.g. DDclient with a compatible domain provider for DNS updates.
+ {% endif %}
{% endif %}
{% if domain != "" %}
@@ -99,18 +109,21 @@
{% if has_update_available == true %}
- ⚠ Container updates are available. Click on `Stop Containers` and `Start Containers` to update them. You should consider creating a backup first. The mastercontainer gets updated with a different procedure though and has its own update button which is visible if an update is available.
+ {% if is_mastercontainer_update_available == false %}
+ ⚠ Container updates are available. Click on `Stop Containers` and `Start Containers` to update them. You should consider creating a backup first.
+ {% endif %}
{% else %}
{% if is_mastercontainer_update_available == false %}
Your containers are up-to-date.
- {% else %}
- Your containers are up-to-date. (Except the mastercontainer. See the section below.)
{% endif %}
{% endif %}
{% endif %}
{% if isAnyRunning == true %}
{% if isApacheStarting != true %}
+ {% if is_mastercontainer_update_available == true %}
+ ⚠ A mastercontainer update is available. Please click on the button below to stop your containers in order to be able to update the mastercontainer.
+ {% endif %}
+ {% if is_mastercontainer_update_available == true %}
+ ⚠ Please update your mastercontainer. Afterwards, you will be able to start your containers again.
{% else %}
-
+ {% if was_start_button_clicked == false or has_update_available == false %}
+
+ {% else %}
+
+ {% endif %}
{% endif %}
{% endif %}
{% endif %}
@@ -145,13 +162,16 @@
{% if is_mastercontainer_update_available == true %}
{% if isBackupOrRestoreRunning == false %}
Mastercontainer update
-
- ⚠ A mastercontainer update is available. Please click on the button below to update it. All other containers get updated independently from the mastercontainer by simply clicking on `Stop containers` and clicking on `Start containers` if a new update is available.
-
+ {% if isAnyRunning == false %}
+ ⚠ A mastercontainer update is available. Please click on the button below to update it.
+
+ {% else %}
+ ⚠ A mastercontainer update is available. Please stop your containers in order to be able to update the mastercontainer.
+ {% endif %}
{% endif %}
{% endif %}