diff --git a/Containers/nextcloud/entrypoint.sh b/Containers/nextcloud/entrypoint.sh index 7abf439a..d6a0ea58 100644 --- a/Containers/nextcloud/entrypoint.sh +++ b/Containers/nextcloud/entrypoint.sh @@ -245,8 +245,8 @@ if ! [ -f "/mnt/ncdata/skip.update" ]; then fi fi - # Performing update of all apps if daily backups are enabled, running and successful - if [ "$DAILY_BACKUP_RUNNING" = 'yes' ]; then + # Performing update of all apps if daily backups are enabled, running and successful and if it is saturday + if [ "$DAILY_BACKUP_RUNNING" = 'yes' ] && [ "$(date +%u)" = 6 ]; then UPDATED_APPS="$(php /var/www/html/occ app:update --all)" if [ -n "$UPDATED_APPS" ]; then bash /notify.sh "Your apps just got updated!" "$UPDATED_APPS" diff --git a/manual-install/update-yaml.sh b/manual-install/update-yaml.sh index fc8c370d..e30f937a 100644 --- a/manual-install/update-yaml.sh +++ b/manual-install/update-yaml.sh @@ -62,7 +62,7 @@ sed -i 's|COLLABORA_ENABLED=no|COLLABORA_ENABLED=yes|' sample.conf sed -i 's|COLLABORA_DICTIONARIES=|COLLABORA_DICTIONARIES=de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru # You can change this in order to enable other dictionaries for collabora|' sample.conf sed -i 's|NEXTCLOUD_DATADIR=|NEXTCLOUD_DATADIR=nextcloud_aio_nextcloud_data # You can change this to e.g. "/mnt/ncdata" to map it to a location on your host. It needs to be adjusted before the first startup and never afterwards!|' sample.conf sed -i 's|NEXTCLOUD_MOUNT=|NEXTCLOUD_MOUNT=/mnt/ # This allows the Nextcloud container to access directories on the host. It must never be equal to the value of NEXTCLOUD_DATADIR!|' sample.conf -sed -i 's|DAILY_BACKUP_RUNNING=|DAILY_BACKUP_RUNNING=no # When setting to yes, it will automatically update all installed Nextcloud apps upon container startup.|' sample.conf +sed -i 's|DAILY_BACKUP_RUNNING=|DAILY_BACKUP_RUNNING=no # When setting to yes, it will automatically update all installed Nextcloud apps upon container startup on saturdays.|' sample.conf sed -i 's|APACHE_PORT=|APACHE_PORT=443 # Changing this to a different value than 443 will allow you to run it behind a reverse proxy.|' sample.conf sed -i 's|TALK_PORT=|TALK_PORT=3478 # This allows to adjust the port that the talk container is using.|' sample.conf sed -i 's|AIO_TOKEN=|AIO_TOKEN=123456 # Has no function but needs to be set!|' sample.conf diff --git a/php/templates/containers.twig b/php/templates/containers.twig index de370505..a11a6cd7 100644 --- a/php/templates/containers.twig +++ b/php/templates/containers.twig @@ -51,7 +51,7 @@ {% if is_daily_backup_running == true %} Daily backup currently running. (Logs)

- It will update your containers, the mastercontainer and your Nextcloud apps if the backup is successful.

+ It will update your containers, the mastercontainer and on saturdays your Nextcloud apps if the backup is successful.

{% if is_mastercontainer_update_available == true %} Since the mastercontainer gets updated, it will restart the container which will make it unavailable for a moment. (Logs)

{% endif %} @@ -382,9 +382,9 @@ - This option will also automatically update your containers, the mastercontainer and your Nextcloud apps and will send a notification about the result of the backup.

+ This option will also automatically update your containers, the mastercontainer and on saturdays your Nextcloud apps and will send a notification about the result of the backup.

{% else %} - Daily backups will be created at {{ daily_backup_time }} UTC which includes a notification about the result of the backup and automatic updates of your containers, the mastercontainer and your Nextcloud apps. You can disable this option again by clicking on the button below.

+ Daily backups will be created at {{ daily_backup_time }} UTC which includes a notification about the result of the backup and automatic updates of your containers, the mastercontainer and on saturdays your Nextcloud apps. You can disable this option again by clicking on the button below.