Merge pull request #2685 from nextcloud/enh/noid/27

allow to install 27 on new install
This commit is contained in:
Simon L 2023-06-06 16:37:34 +02:00 committed by GitHub
commit f1c683a0db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -155,7 +155,7 @@ class DockerController
} }
if (isset($request->getParsedBody()['install_latest_major'])) { if (isset($request->getParsedBody()['install_latest_major'])) {
$installLatestMajor = 26; $installLatestMajor = 27;
} else { } else {
$installLatestMajor = ""; $installLatestMajor = "";
} }

View file

@ -27,7 +27,7 @@
{% set isBackupOrRestoreRunning = false %} {% set isBackupOrRestoreRunning = false %}
{% set isApacheStarting = 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 #} {# 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 is_backup_container_running == true %}
{% if borg_backup_mode == 'backup' or borg_backup_mode == 'restore' %} {% if borg_backup_mode == 'backup' or borg_backup_mode == 'restore' %}
@ -273,7 +273,7 @@
{% if newMajorVersion != '' and isAnyRunning == true and isApacheStarting != true %} {% if newMajorVersion != '' and isAnyRunning == true and isApacheStarting != true %}
<details> <details>
<summary>Note about <b>Nextcloud {{ newMajorVersion }}</b></summary><br> <summary>Note about <b>Nextcloud {{ newMajorVersion }}</b></summary><br>
If you haven't upgraded to Nextcloud {{ newMajorVersion }} yet and want to do that now, feel free to follow <b><a href="https://github.com/nextcloud/all-in-one/discussions/2208">this documentation</a></b><br/> If you haven't upgraded to Nextcloud {{ newMajorVersion }} yet and want to do that now, feel free to follow <b><a href="https://github.com/nextcloud/all-in-one/discussions/2692">this documentation</a></b><br/>
</details><br> </details><br>
{% endif %} {% endif %}
{% endif %} {% endif %}