From 1e82bd757ae80b1d2cc43eca08ce2cf1878ebeba Mon Sep 17 00:00:00 2001 From: szaimen Date: Mon, 23 May 2022 19:19:06 +0200 Subject: [PATCH] use the correct warning sign Signed-off-by: szaimen --- php/templates/containers.twig | 10 +++++----- readme.md | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/php/templates/containers.twig b/php/templates/containers.twig index 9c38781d..74ade259 100644 --- a/php/templates/containers.twig +++ b/php/templates/containers.twig @@ -68,7 +68,7 @@ {% if is_backup_container_running == false and domain == "" %} {% 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.

+ ⚠️ A mastercontainer update is available. Please click on the button below to update it. Afterwards, you will be able to proceed with the setup.

@@ -145,7 +145,7 @@ An example for Linux is /mnt/backup.
For macOS it may be /var/backup.
On Windows it must be nextcloud_aio_backupdir. You need to create the 'nextcloud_aio_backupdir' volume beforehand by following this documentation: click here

- ⚠ Note that the backup archive must be located in a subfolder of the folder that you enter here and the subfolder which contains the archive must be named 'borg'. Otherwise will the backup container not find the backup archive!

+ ⚠️ Note that the backup archive must be located in a subfolder of the folder that you enter here and the subfolder which contains the archive must be named 'borg'. Otherwise will the backup container not find the backup archive!

{% endif %} {% else %} Everything set! Click on the button below to test the path and password:

@@ -223,7 +223,7 @@ {% if has_update_available == true %} {% 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.

+ ⚠️ 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 %} @@ -235,7 +235,7 @@ {% 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.

+ ⚠️ A mastercontainer update is available. Please click on the button below to stop your containers in order to be able to update the mastercontainer.

{% if current_channel starts with 'latest' %} You can find the changelog here

{% elseif current_channel starts with 'beta' %} @@ -260,7 +260,7 @@ Clicking on the button below will download all docker containers and start them. This can take a lot of time depending on your internect connection. Since the overall size is a few GB, this will take around 5-10 min or more. So be aware and patient!

{% endif %} {% if is_mastercontainer_update_available == true %} - ⚠ A mastercontainer update is available. Please click on the button below to update it.

+ ⚠️ A mastercontainer update is available. Please click on the button below to update it.

diff --git a/readme.md b/readme.md index 748cb235..73b20f90 100644 --- a/readme.md +++ b/readme.md @@ -102,7 +102,7 @@ docker volume create --driver local --name nextcloud_aio_backupdir ^ -o o="bind" ``` (This Windows example would be equivalent to `C:\your\backup\path` on the Windows host. So you need to translate the path that you want to use into the correct format.) -⚠️ **Attention**: Make sure that the path exists on the host before you create the volume! Otherwise everything will bug out! +⚠️️ **Attention**: Make sure that the path exists on the host before you create the volume! Otherwise everything will bug out! @@ -320,7 +320,7 @@ Afterwards apply the correct permissions with `sudo chown root:root /root/backup 1. Add the following new line to the crontab if not already present: `0 20 * * 7 /root/backup-script.sh` which will run the script at 20:00 on Sundays each week. 1. save and close the crontab (when using nano are the shortcuts for this `Ctrl + o` -> `Enter` and close the editor with `Ctrl + x`). -⚠ **Attention:** Make sure that the execution of the script does not collide with the daily backups from AIO (if configured) since the target backup repository might get into an inconsistent state. (There is no check in place that checks this.) +⚠️ **Attention:** Make sure that the execution of the script does not collide with the daily backups from AIO (if configured) since the target backup repository might get into an inconsistent state. (There is no check in place that checks this.) ### How to change the default location of Nextcloud's Datadir? You can configure the Nextcloud container to use a specific directory on your host as data directory. You can do so by adding the environmental variable `NEXTCLOUD_DATADIR` to the initial startup of the mastercontainer. Allowed values for that variable are strings that start with `/` and are not equal to `/`. @@ -336,16 +336,16 @@ You can configure the Nextcloud container to use a specific directory on your ho -o o="bind" ``` (This Windows example would be equivalent to `C:\your\data\path` on the Windows host. So you need to translate the path that you want to use into the correct format.) - ⚠️ **Attention**: Make sure that the path exists on the host before you create the volume! Otherwise everything will bug out! + ⚠️️ **Attention**: Make sure that the path exists on the host before you create the volume! Otherwise everything will bug out! -⚠ Please make sure to apply the correct permissions to the chosen directory before starting Nextcloud the first time (not needed on Windows). +⚠️ Please make sure to apply the correct permissions to the chosen directory before starting Nextcloud the first time (not needed on Windows). - In this example for Linux, the command for this would be `sudo chown -R 33:0 /mnt/ncdata` and `sudo chmod -R 750 /mnt/ncdata`. - On macOS, the command for this would be `sudo chown -R 33:0 /var/nextcloud-data` and `sudo chmod -R 750 /var/nextcloud-data`. - For Synology, the command for this example would be `sudo chown -R 33:0 /volume1/docker/nextcloud/data` and `sudo chmod -R 750 /volume1/docker/nextcloud/data` - On Windows, this command is not needed. -⚠ **Attention:** It is very important to change the datadir **before** Nextcloud is installed/started the first time and not to change it afterwards! +⚠️ **Attention:** It is very important to change the datadir **before** Nextcloud is installed/started the first time and not to change it afterwards! ### How to allow the Nextcloud container to access directories on the host? By default, the Nextcloud container is confined and cannot access directories on the host OS. You might want to change this when you are planning to use local external storage in Nextcloud to store some files outside the data directory and can do so by adding the environmental variable `NEXTCLOUD_MOUNT` to the initial startup of the mastercontainer. Allowed values for that variable are strings that start with `/` and are not equal to `/`.