From 5a842af0042ef34d8c77f39a43110726a2bdddc6 Mon Sep 17 00:00:00 2001 From: Simon L Date: Tue, 6 Jun 2023 13:56:37 +0200 Subject: [PATCH 1/2] allow to install 27 on new install 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 980e432b..60cf08e0 100644 --- a/php/src/Controller/DockerController.php +++ b/php/src/Controller/DockerController.php @@ -155,7 +155,7 @@ class DockerController } if (isset($request->getParsedBody()['install_latest_major'])) { - $installLatestMajor = 26; + $installLatestMajor = 27; } else { $installLatestMajor = ""; } diff --git a/php/templates/containers.twig b/php/templates/containers.twig index 855108ae..fac6b172 100644 --- a/php/templates/containers.twig +++ b/php/templates/containers.twig @@ -27,7 +27,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 = 27 %} {% if is_backup_container_running == true %} {% if borg_backup_mode == 'backup' or borg_backup_mode == 'restore' %} From 9c4116319d7f73e707121244b521d147d4edc7e9 Mon Sep 17 00:00:00 2001 From: Simon L Date: Tue, 6 Jun 2023 16:27:27 +0200 Subject: [PATCH 2/2] adjust update docs link 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 fac6b172..b95719d9 100644 --- a/php/templates/containers.twig +++ b/php/templates/containers.twig @@ -273,7 +273,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 %}