Nextcloud AIO v9.9.0
+Nextcloud AIO v10.0.0
{# Add 2nd tab warning #} @@ -25,6 +25,7 @@ {# timezone-prefill #} + {% set hasBackupLocation = borg_backup_host_location or borg_remote_repo %} {% set isAnyRunning = false %} {% set isAnyRestarting = false %} {% set isWatchtowerRunning = false %} @@ -32,7 +33,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 = 30 %} + {% set newMajorVersion = '' %} {% if is_backup_container_running == true %} {% if borg_backup_mode == 'backup' or borg_backup_mode == 'restore' %} @@ -90,7 +91,7 @@ {% else %} - {% if borg_backup_host_location == '' and borg_restore_password == '' %} + {% if not hasBackupLocation %}The official Nextcloud installation method. Nextcloud All-in-One provides easy deployment and maintenance with most features included in this one Nextcloud instance.
You can either create a new AIO instance or restore a former AIO instance from backup. See the two sections below.
{{ include('includes/aio-config.twig') }} @@ -130,7 +131,7 @@ {% endif %} {% if is_instance_restore_attempt == false %} - {% if borg_backup_host_location != '' and borg_restore_password != '' %} + {% if hasBackupLocation %} {% if borg_backup_mode in ['test', 'check'] %} {% if backup_exit_code > 0 %}Last {{ borg_backup_mode }} failed! (Logs)
@@ -179,11 +180,23 @@ {% endif %} {% endif %} - {% if borg_backup_host_location == '' or borg_restore_password == '' or borg_backup_mode not in ['test', 'check', ''] or backup_exit_code > 0 %} -Please enter the location of the backup archive on your host and the encryption password of the backup archive below:
+ {% if not hasBackupLocation or borg_backup_mode not in ['test', 'check', ''] or backup_exit_code > 0 %} + {% if borg_remote_repo and backup_exit_code > 0 %} +
+ You may still need to authorize this pubkey on your borg remote:
{{ borg_public_key }}
+ To try again, resubmit your location and rerun the test.
+
+ Please enter the location of the backup archive on your host or a + remote borg repo url + if stored remotely; and the encryption password of the backup archive below: +
{% if has_backup_run_once == false %} -Reset backup host location
-If the configured backup host location {{ borg_backup_host_location }} is wrong, you can reset it by clicking on the button below.
+Reset backup location
++ If the configured backup host location {{ borg_backup_host_location }} + {% if borg_remote_repo %}or the remote repo {{ borg_remote_repo }} is wrong{% endif %}, + you can reset it by clicking on the button below. +