From ed857db3c1b914f711044ff2121f38fbb63cf2af Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Wed, 4 Sep 2024 17:23:49 +0200 Subject: [PATCH 1/2] aio-interface: allow to install nc 30 directly Signed-off-by: Simon L. --- php/src/Controller/DockerController.php | 2 +- php/templates/containers.twig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/php/src/Controller/DockerController.php b/php/src/Controller/DockerController.php index 6d55bc94..2d536738 100644 --- a/php/src/Controller/DockerController.php +++ b/php/src/Controller/DockerController.php @@ -173,7 +173,7 @@ class DockerController } if (isset($request->getParsedBody()['install_latest_major'])) { - $installLatestMajor = 29; + $installLatestMajor = 30; } else { $installLatestMajor = ""; } diff --git a/php/templates/containers.twig b/php/templates/containers.twig index a95106da..2d630bb4 100644 --- a/php/templates/containers.twig +++ b/php/templates/containers.twig @@ -31,7 +31,7 @@ {% set isBackupOrRestoreRunning = false %} {% set isApacheStarting = false %} {# Setting newMajorVersion to '' will hide corresponding options/elements, can be set to an integer like 26 in order to show corresponding elements. If set, also increase installLatestMajor in https://github.com/nextcloud/all-in-one/blob/main/php/src/Controller/DockerController.php #} - {% set newMajorVersion = '' %} + {% set newMajorVersion = 30 %} {% if is_backup_container_running == true %} {% if borg_backup_mode == 'backup' or borg_backup_mode == 'restore' %} From 473007f4cdc7cd5585c1fe3258c631f00fc1550f Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Tue, 10 Sep 2024 10:24:09 +0200 Subject: [PATCH 2/2] update link to update docs Signed-off-by: Simon L. --- php/templates/containers.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/templates/containers.twig b/php/templates/containers.twig index 2d630bb4..638b629b 100644 --- a/php/templates/containers.twig +++ b/php/templates/containers.twig @@ -298,7 +298,7 @@ {% if newMajorVersion != '' and isAnyRunning == true and isApacheStarting != true %}
Note about Nextcloud {{ newMajorVersion }} -

If you haven't upgraded to Nextcloud {{ newMajorVersion }} yet and want to do that now, feel free to follow this documentation

+

If you haven't upgraded to Nextcloud {{ newMajorVersion }} yet and want to do that now, feel free to follow this documentation

{% endif %} {% endif %}